[mythtv-commits] Ticket #11768: tmdb3.py crash on download movie ID 116711 from tmdb
MythTV
noreply at mythtv.org
Thu Aug 22 03:26:13 UTC 2013
#11768: tmdb3.py crash on download movie ID 116711 from tmdb
---------------------------------------------+-------------------------
Reporter: mythtv@… | Owner:
Type: Bug Report - Crash | Status: new
Priority: major | Milestone: 0.27
Component: MythTV - Mythmetadatalookup | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
---------------------------------------------+-------------------------
Not sure if this is an api issue but tmdb3.py crashes hard when retrieving
details for the ID 116711 (epic). Seems the expected month format is not
returned. See below:
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a CA -D 116711
Traceback (most recent call last):
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 272, in <module>
main()
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 266, in main
buildSingle(args[0], opts)
File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 88, in
buildSingle
if crew.profile: d['thumb'] = crew.profile.geturl()
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line
143, in __get__
self.poller.__get__(inst, owner)()
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 77,
in __call__
self.apply(req.readJSON())
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line 86,
in apply
setattr(self.inst, v, data[k])
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line
148, in __set__
value = self.handler(value)
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/util.py", line
163, in <lambda>
self.handler = lambda x: handler(x)
File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/tmdb_api.py", line
81, in process_date
return datetime.date(*[int(x) for x in datestr.split('-')])
TypeError: Required argument 'month' (pos 2) not found
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11768>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list