[mythtv-users] tmdb3.py:64:buildSingle:IndexError: list index out of range

Jerry mythtv at hambone.e4ward.com
Fri Dec 19 23:41:44 UTC 2014


I upgraded to Fedora 21 a little over a week ago.  I think this is really
my first hiccup, as the other was really a configuration issue.

This error has occurred twice on the same recording.

Is this because the command line is looking for a U.S. movie and the
program is from the U.K.?  I suppose this is being called from
mythbackend.  I know that I was not using the machine at 7 AM yesterday
morning for watching recordings, and I didn't log in until after 8 AM.

I am happy to provide more logs if they would make this any clearer.

Running python 2.7.8.

Please attach all output as a file in bug reports.
MythTV Version : v0.27.4-6-ge0b0027
MythTV Branch : fixes/0.27
Network Protocol : 77
Library API : 0.27.20141016-1
QT Version : 4.8.6
Options compiled in:
 linux release use_hidesyms using_alsa using_jack 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_ceton using_hdpvr using_ivtv using_joystick_menu
using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2
using_libudf using_lirc using_mheg using_opengl using_opengl_video
using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2
using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python
using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau
using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libudf

--------8<----snip----8<--------

[root at htpc Python-2014-12-18-07:21:21-27828]# more cmdline
python /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 295922

[root at htpc Python-2014-12-18-07:21:21-27828]# less backtrace
tmdb3.py:64:buildSingle:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 300, in <module>
    main()
  File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 294, in main
    buildSingle(args[0], opts)
  File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 64, in buildSingle
    index = zip(*releases)[0].index(opts.country)
IndexError: list index out of range

Local variables in innermost frame:
VideoMetadata: <class 'MythTV.system.VideoMetadata'>
etree: <module 'lxml.etree' from
'/usr/lib64/python2.7/site-packages/lxml/etree.so'>
releases: []
i: 'revenue'
m: {'channame': None, 'subtitle': None, 'revenue': None, 'dvdseason': None,
'callsign': None, 'imdb': None, 'year': None, 'playbackfilters': None,
'playgroup': None, 'title': u'Doctor Who: The Ultimate Companion',
'tagline': None, 'programid': None, 'lastupdated': None, 'filename': None,
'collectionref': None, 'dvdepisode': None, 'homepage': None, 'description':
u"Peter Davison is on a new journey to discover everything he can about the
Doctor's Companion. What exactly is a companion's role, how do you actually
become a companion, what do they have in common and how have the companions
changed over the years?", 'recstartts': None, 'season': None, 'startts':
None, 'tmsref': None, 'seriesid': None, 'recgroup': None, 'episode': None,
'language': None, 'popularity': 2.55131971100838e-30, 'budget': None,
'channum': None, 'releasedate': None, 'chanid': None, 'inetref': None,
'userrating': None, 'endts': None, 'recendts': None, 'storagegroup': None,
'runtime': 60, 'trailer': None}
j: 'revenue'
tree: <Element metadata at 0x7fd5fa7573f8>
mapping: [['runtime', 'runtime'], ['title', 'originaltitle'],
['releasedate', 'releasedate'], ['tagline', 'tagline'], ['description',
'overview'], ['homepage', 'homepage'], ['userrating', 'userrating'],
['popularity', 'popularity'], ['budget', 'budget'], ['revenue', 'revenue']]
Movie: <class 'MythTV.tmdb3.tmdb_api.Movie'>
re: <module 're' from '/usr/lib64/python2.7/re.pyc'>
inetref: '295922'
movie: <Movie 'Doctor Who: The Ultimate Companion'>
opts: <Values at 0x7fd5fec65f80: {'language': 'en', 'country': 'US',
'moviedata': True, 'debug': False, 'collectiondata': False, 'version':
False, 'test': False, 'movielist': False}>
[root at htpc Python-2014-12-18-07:21:21-27828]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141219/02ed19e1/attachment.html>


More information about the mythtv-users mailing list