mythvidexport.py fails on 0.28.1

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
am4c130d
Newcomer
Posts: 1
Joined: Sun Oct 08, 2017 5:41 pm

mythvidexport.py fails on 0.28.1

Post by am4c130d » Sun Oct 08, 2017 6:01 pm

Hi, I recently upgraded my server from 0.27 to 0.28.1. Everything is work except mythvidexport.py which fails every time - it worked without fail under 0.27, so something changed during the upgrade. It fails when run as a user job as well as from command line. I haven't logged the errors from the user job yet. but command line is as follows.

/usr/share/mythtv/mythvidexport.py --verbose=all --chanid=2002 --starttime=20170912210000
2017-10-08 13:36:51.806674 I [13240] Python Database Connection Attempting connection: sql://mythconverg@localhost:3306/
2017-10-08 13:36:51.806848 I [13240] Python Database Connection Spawning new database connection
2017-10-08 13:36:51.812082 I [13240] Python Database Connection Spawning new database connection
2017-10-08 13:36:51.834528 I [13240] mythvidexport.py Using recording -- Frontline - Abacus Small Enough to Jail
2017-10-08 13:36:51.854754 I [13240] mythvidexport.py Performing TV export with local data.
2017-10-08 13:36:51.857416 I [13240] Python MythVideo Grabber Running external command -- /usr/share/mythtv/metadata/Television/ttvdb.py -l en -D 80646 2017 15
2017-10-08 13:36:56.368049 I [13240] Python Backend Connection Connecting to backend [192.168.1.10]:6543
2017-10-08 13:36:56.372682 I [13240] Python Backend Connection Successfully connected to backend -- [192.168.1.10]:6543
2017-10-08 13:36:56.375720 I [13240] Python Backend Connection Terminating connection to [192.168.1.10]:6543
2017-10-08 13:36:56.376777 I [13240] Python Backend Connection Connecting to backend [192.168.1.10]:6543
2017-10-08 13:36:56.378420 I [13240] Python Backend Connection Successfully connected to backend -- [192.168.1.10]:6543
Traceback (most recent call last):
File "/usr/share/mythtv/mythvidexport.py", line 437, in <module>
main()
File "/usr/share/mythtv/mythvidexport.py", line 409, in main
export = VIDEO(opts)
File "/usr/share/mythtv/mythvidexport.py", line 68, in __init__
self.get_meta()
File "/usr/share/mythtv/mythvidexport.py", line 177, in get_meta
self.vid.importMetadata(metadata)
File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 1085, in importMetadata
getattr(self, image.type).downloadFrom(image.url)
File "/usr/lib/python2.7/dist-packages/MythTV/dataheap.py", line 114, in downloadFrom
be.downloadTo(url, self.imagetype, self)
File "/usr/lib/python2.7/dist-packages/MythTV/mythproto.py", line 732, in downloadTo
raise MythBEError('Download failed')
MythTV.exceptions.MythBEError: Download failed
2017-10-08 13:36:56.395819 I [13240] Python Backend Connection Terminating connection to [192.168.1.10]:6543

I don't understand the error message, but everything else appears to be correct - it can access the database, retrieves the show title and episode/subtitle as well as show ID, season and episode.

I'm using:
mythvidexport 0.7.6
Mythtv-backend is from deb-multimedia.org
mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28.1
MythTV Branch :
Network Protocol : 88
Library API : 0.28.20161120-1
QT Version : 5.7.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_crystalhd 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
On Debian stretch - 9.1

Any pointers please? Thanks

User avatar
bill6502
Developer
Posts: 843
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythvidexport.py fails on 0.28.1

Post by bill6502 » Thu Oct 12, 2017 2:33 pm

Hi,

Don't use it myself, but possibly related to: https://www.mythtv.org/wiki/TheTVDB_API_v2

I'd run: /usr/share/mythtv/metadata/Television/ttvdb.py -l en -D 80646 2017 15
from the command line too, to see if its failing and causing the issue you're seeing.

Post Reply