[mythtv-users] silence.py with 0.28

Mark perkins1724 at hotmail.com
Wed Oct 28 02:54:46 UTC 2015



> -----Original Message-----
> From: mythtv-users [mailto:mythtv-users-bounces at mythtv.org] On Behalf
> Of Roger Siddons
> Sent: Wednesday, 28 October 2015 6:38 AM
> To: Discussion about MythTV
> Subject: Re: [mythtv-users] silence.py with 0.28
> 
> On Tue, 27 Oct 2015 13:45:43 -0000, Mark <perkins1724 at hotmail.com>
> wrote:
> 
>>
>> 	rec = MythTV.Recorded((chanid, starttime), db)
>>
.. snip..
> 
> It runs fine with https://code.mythtv.org/trac/ticket/12260 , which suggests
> that backward compatibility will be maintained.
> 
> There were breakages at some point and, last time I looked, I got the
> impression that the RecordedId changes were incomplete.
> 

I couldn't get this to work. Without the patch I get:
2015-10-28 12:54:51.457432 D [12736] Python Database Connection Trying database credentials from: /home/mythtv/config.xml
2015-10-28 12:54:51.548033 I [12736]  mythcommflag: 
2015-10-28 12:54:51.576442 I [12736]  mythcommflag: Seeking chanid 1022, starttime 2015-10-27 23:28:00+10:30
2015-10-28 12:54:51.619093 E [12736]  mythcommflag: Failed due to: "MySQL error 1241: Operand should contain 1 column(s)"


With the patch I get:
2015-10-28 13:13:33.488855 D [20389] Python Database Connection Trying database credentials from: /home/mythtv/config.xml
2015-10-28 13:13:33.544067 I [20389]  mythcommflag: 
2015-10-28 13:13:33.565025 I [20389]  mythcommflag: Seeking chanid 1022, starttime 2015-10-27 23:28:00+10:30
2015-10-28 13:13:33.601900 E [20389]  mythcommflag: Failed due to: "DBData() could not read from database"


It appears to be reading the config.xml file correctly as if I change the user/password/database to an incorrect value then the script silently fails. Plus I added additional logging at one point and it appeared to be getting the database url correctly (and I couldn't work out how to log the user / password it was using so I eventually gave up). Any other suggestions on what I can try to do to troubleshoot?

Backend, local frontend and remote frontend all seem to work fine.


$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28-pre-3119-g7a6cddb-dirty
MythTV Branch : master
Network Protocol : 87
Library API : 0.28.20151024-1
QT Version : 5.4.2
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_ffmpeg_threads using_mheg using_libass using_libxml2




More information about the mythtv-users mailing list