[tvshow] Handles month only but not year only

Bug #412447 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

Query: tvshow burn notice
ERROR:scripts.ibid-plugin:Exception occured in TVShow processor of lookup plugin
Traceback (most recent call last):
  File "scripts/ibid-plugin", line 121, in <module>
    processor.process(event)
  File "/home/stefanor/projects/ibid/tvshow/ibid/plugins/__init__.py", line 65, in process
    method(event, *match.groups())
  File "/home/stefanor/projects/ibid/tvshow/ibid/plugins/lookup.py", line 812, in tvshow
    retr_info = self.remote_tvrage(show)
  File "/home/stefanor/projects/ibid/tvshow/ibid/plugins/lookup.py", line 806, in remote_tvrage
    date = strftime(format_to, strptime(date, format_from))
  File "/usr/lib/python2.5/_strptime.py", line 330, in strptime
    (data_string, format))
ValueError: time data did not match format: data=2010 fmt=%b/%Y
WARNING:plugins.unicode:Found a non-unicode string: exception
Response: I'm not feeling too well

This is the data:
Show ID@15383
Show Name@Burn Notice
Show URL@http://www.tvrage.com/Burn_Notice
Premiered@2007
Started@Jun/28/2007
Ended@
Latest Episode@03x09^Long Way Back^Aug/06/2009
Next Episode@03x11^Friendly Fire^2010
GMT+0 NODST@
Country@USA
Status@Returning Series
Classification@Scripted
Genres@Action | Adventure | Crime | Drama
Network@USA
Airtime@Thursday at 09:00 pm
Runtime@60

Related branches

Changed in ibid:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.