[mythtv-commits] Ticket #7282: ttvdb.py doesn't like Doctor Who

MythTV mythtv at cvs.mythtv.org
Sat Oct 10 03:15:32 UTC 2009


#7282: ttvdb.py doesn't like Doctor Who
--------------------------------+-------------------------------------------
 Reporter:  mythtv at meric.id.au  |       Owner:  awithers
     Type:  defect              |      Status:  new     
 Priority:  minor               |   Milestone:  unknown 
Component:  Plugin - MythVideo  |     Version:  head    
 Severity:  low                 |     Mlocked:  0       
--------------------------------+-------------------------------------------
 When performing a TVDB metadata search for "Doctor Who", ttvdb.py fails
 with the following:

 /usr/local/share/mythtv/mythvideo/scripts/ttvdb.py -D 76107
 Traceback (most recent call last):
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb.py", line 1243, in
 <module>
     main()
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb.py", line 1069, in
 main
     seriesfound=searchseries(t, opts, series_season_ep)
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb.py", line 503, in
 searchseries
     seriesfound=search_for_series(t, series_name) # Series only
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb.py", line 482, in
 search_for_series
     return tvdb.series_by_sid(sid_or_name)
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb.py", line 473, in
 _series_by_sid
     self._getShowData(sid)
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb/tvdb_api.py", line
 643, in _getShowData
     epsEt = self._getetsrc( self.config['url_epInfo'] % (sid) )
   File "/usr/local/share/mythtv/mythvideo/scripts/ttvdb/tvdb_api.py", line
 427, in _getetsrc
     et = ElementTree.fromstring(src)
   File "<string>", line 86, in XML
 SyntaxError: no element found: line 1, column 0

 Works ok for everything else, so I'm assuming there is something in the
 data returned which it doesn't cope with.

 Running SVN 22350.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7282>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list