Opened 11 years ago
Closed 11 years ago
#11875 closed Bug Report - General (Fixed)
mdb3.py crash on download movie ID 121 - Lord of the Rings: The Two Towers
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.26.2 |
Component: | MythTV - Mythmetadatalookup | Version: | 0.26-fixes |
Severity: | medium | Keywords: | tmdb3.py tmdb3 tmdb |
Cc: | Ticket locked: | no |
Description
Metadata lookup for Lord of the Rings: The Two Towers, I believe it's similar to #11768 and due to null birth dates for some of the cast. I am using 0.26.0_p20130729 on a Gentoo system. Metadata was successfully retrieved for all other movies and TV shows I have in my library.
$ /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -D 121 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 83, in buildSingle if cast.profile: d['thumb'] = cast.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
Note: See
TracTickets for help on using
tickets.
Already fixed in 080e538ed31fed1659b3e2abeba30bfca6447a0c, please update.
Also, fix the invalid birthday on TMDB that caused the issue.
http://www.themoviedb.org/person/1201351