[mythtv-users] tmdb3.py:64:buildSingle:IndexError: list index out of range
Angela
angela.schmid at wolke7.net
Sat Dec 20 15:48:12 UTC 2014
>From: mythtv-users [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Jerry
>Sent: 20 December 2014 00:42
>Subject: [mythtv-users] tmdb3.py:64:buildSingle:IndexError: list index out of range
>
>[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
https://code.mythtv.org/trac/ticket/12263
The lines mismatch al little, as I have my OS and menu translations in English, but like to have german metadata. MythTV cannot differentiate between those two settings and as I compile myself, I don't want to run into trouble, so I hard-coded the language and locale. Also I prefer searchMovieWithYear over searchMovie, this counts for the 3 lines difference.
Angela
More information about the mythtv-users
mailing list