Opened 7 years ago

Closed 7 years ago

#11875 closed Bug Report - General (Fixed) crash on download movie ID 121 - Lord of the Rings: The Two Towers

Reported by: bertaboy@… Owned by:
Priority: minor Milestone: 0.26.2
Component: MythTV - Mythmetadatalookup Version: 0.26-fixes
Severity: medium Keywords: tmdb3 tmdb
Cc: Ticket locked: no


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/ -l en -D 121
Traceback (most recent call last):
  File "/usr/share/mythtv/metadata/Movie/", line 272, in <module>
  File "/usr/share/mythtv/metadata/Movie/", line 266, in main
    buildSingle(args[0], opts)
  File "/usr/share/mythtv/metadata/Movie/", line 83, in buildSingle
    if cast.profile: d['thumb'] = cast.profile.geturl()
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 143, in __get__
    self.poller.__get__(inst, owner)()
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 77, in __call__
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 86, in apply
    setattr(self.inst, v, data[k])
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 148, in __set__
    value = self.handler(value)
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 163, in <lambda>
    self.handler = lambda x: handler(x)
  File "/usr/lib64/python2.7/site-packages/MythTV/tmdb3/", line 81, in process_date
    return*[int(x) for x in datestr.split('-')])
TypeError: Required argument 'month' (pos 2) not found

Change History (1)

comment:1 Changed 7 years ago by Raymond Wagner

Resolution: Fixed
Status: newclosed

Already fixed in 080e538ed31fed1659b3e2abeba30bfca6447a0c, please update.

Also, fix the invalid birthday on TMDB that caused the issue.

Note: See TracTickets for help on using tickets.