[mythtv-commits] Ticket #12455: tmdb3.py crashes with status code 1
MythTV
noreply at mythtv.org
Sat Aug 1 11:44:32 UTC 2015
#12455: tmdb3.py crashes with status code 1
----------------------------------+-----------------------------
Reporter: spmorton@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by bhboyle@…):
I have the same problem. it does not happen when it searches by name
instead of number.
/usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a CA -D 135397
Traceback (most recent call last):
File "/usr/local/share/mythtv/metadata/Movie/tmdb3.py", line 278, in
<module>
main()
File "/usr/local/share/mythtv/metadata/Movie/tmdb3.py", line 272, in
main
buildSingle(args[0], opts)
File "/usr/local/share/mythtv/metadata/Movie/tmdb3.py", line 91, in
buildSingle
if crew.profile: d['thumb'] = crew.profile.geturl()
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/util.py", line
143, in __get__
self.poller.__get__(inst, owner)()
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/util.py", line
77, in __call__
self.apply(req.readJSON())
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/cache.py",
line 111, in __call__
data = self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/request.py",
line 119, in readJSON
handle_status(data, url)
File "/usr/local/lib/python2.7/dist-packages/MythTV/tmdb3/request.py",
line 154, in handle_status
status = status_handlers[data.get('status_code', 1)]
KeyError: 25
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12455#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list