Opened 2 years ago

Closed 2 years ago

Last modified 16 months ago

#13082 closed Bug Report - General (fixed)

Harware Profile fails due to pyhton binding problem in version 29

Reported by: jksjdevelop@… Owned by: Peter Bennett
Priority: minor Milestone: 29.1
Component: MythTV - General Version: v29-fixes
Severity: medium Keywords: pyhthon
Cc: Ticket locked: no

Description

After update of version .28 to v29-rc1 Hardware profile no longer updates smolt. Last successful update 2017-05-21 21:36:07 Version info MythTV Version : v29-rc1-1-gb2a2ccf MythTV Branch : fixes/29 Network Protocol : 91 Library API : 29.20170212-1 QT Version : 5.5.1 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2

Further investigation shows a problem with some python scripts. mythtv/programs/scripts/hardwareprofile/sendProfile.py & Find_orphans.py both fail with :- File "/home/tv/Find_orphans.py", line 222, in <module>

BE = MythBE(db=DB)

File "/usr/local/lib/python2.7/dist-packages/MythTV/mythproto.py", line 72, in init

self.hostname = self.db._gethostfromaddr(self.host)

File "/usr/local/lib/python2.7/dist-packages/MythTV/database.py", line 1347, in _gethostfromaddr

'BackendServerIP[6]', addr)

MythTV.exceptions.MythDBError: Could not find setting 'BackendServerIP[6]' on host '127.0.0.1'

flush_deleted_recgroup.pl works ok.

Change History (6)

comment:1 Changed 2 years ago by Peter Bennett

Owner: set to Peter Bennett
Status: newassigned

comment:2 Changed 2 years ago by Peter Bennett <pbennett@…>

Resolution: fixed
Status: assignedclosed

In eebe25c7c17e21071b49e3970dca698c852cdb61/mythtv:

Fixes #13082 - Python bindings need to use new setting for backend server address.

comment:3 Changed 2 years ago by Peter Bennett <pbennett@…>

In f6acaf5878712e28da2e3b817345de1c086e6e9f/mythtv:

Fixes #13082 - Python bindings need to use new setting for backend server address.

(cherry picked from commit eebe25c7c17e21071b49e3970dca698c852cdb61)

comment:4 Changed 2 years ago by jksjdevelop@…

Thanks works fine

comment:5 Changed 2 years ago by Stuart Auchterlonie

Milestone: needs_triage29.1

comment:6 Changed 16 months ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.