2012-01-30, 16:56
I'm getting an error when trying to launch an episode of Misfits.
Log extract:
I suspect the error is a result of the ":" or the "!" in the program name, but I don't know enough regex to attempt modding the code.
Any idea how to fix it?
Log extract:
Code:
20:13:00 T:1684134768 M:3687927808 NOTICE: -->Python Interpreter Initialized<--
20:13:00 T:1684134768 M:3687927808 NOTICE: Traceback (most recent call last):
20:13:00 T:1684134768 M:3687927808 NOTICE: File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
20:13:00 T:1684134768 M:3687927808 NOTICE: ShowEpisodes( showId, title )
20:13:00 T:1684134768 M:3687927808 NOTICE: File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
20:13:00 T:1684134768 M:3687927808 NOTICE: genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
20:13:00 T:1684134768 M:3687927808 NOTICE: AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808 ERROR: Error Type: exceptions.AttributeError
20:13:00 T:1684134768 M:3687927808 ERROR: Error Contents: 'NoneType' object has no attribute 'groups'
20:13:00 T:1684134768 M:3687927808 ERROR: Traceback (most recent call last):
File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 318, in ?
ShowEpisodes( showId, title )
File "/home/anto/.xbmc/addons/plugin.video.4od/default.py", line 78, in ShowEpisodes
genre = re.search( '<meta name="primaryBrandCategory" content="(.*?)"/>', html, re.DOTALL ).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
20:13:00 T:3020089216 M:3687927808 ERROR: GetDirectory - Error getting plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21
20:13:00 T:3020089216 M:3687927808 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.4od/?show=misfits-online-vegas-baby&title=Misfits+Online%3A+Vegas+Baby%21) failed
I suspect the error is a result of the ":" or the "!" in the program name, but I don't know enough regex to attempt modding the code.
Any idea how to fix it?