[mythtv-commits] Ticket #11875: mdb3.py crash on download movie ID 121 - Lord of the Rings: The Two Towers

MythTV noreply at mythtv.org
Sun Sep 22 19:24:56 UTC 2013


#11875: mdb3.py crash on download movie ID 121 - Lord of the Rings: The Two Towers
---------------------------------------------+-----------------------------
     Reporter:  bertaboy@…                   |      Owner:
         Type:  Bug Report - General         |     Status:  new
     Priority:  minor                        |  Milestone:  0.26.2
    Component:  MythTV - Mythmetadatalookup  |    Version:  0.26-fixes
     Severity:  medium                       |   Keywords:  tmdb3.py tmdb3
Ticket locked:  0                            |  tmdb
---------------------------------------------+-----------------------------
 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

 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11875>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list