2014-06-19, 13:01
The subtitle listing works fine, but there is still exception when trying to download the subtitle. From log:
12:57:02 T:140648501999360 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "$HOME/.xbmc/addons/service.subtitles.podnapisi/service.py", line 199, in <module>
subs = Download(url,params["filename"])
File "$HOME/.xbmc/addons/service.subtitles.podnapisi/service.py", line 121, in Download
f = urllib.urlopen(url)
File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 179, in open
fullurl = unwrap(toBytes(fullurl))
File "/usr/lib/python2.7/urllib.py", line 1056, in unwrap
url = url.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
-->End of Python script error report<--
12:57:02 T:140648451643136 ERROR: GetDirectory - Error getting plugin://service.subtitles.podnapisi/?action=download&link=150658&ID=150658&filename=Star Trek: Deep Space Nine S(1)E(4)
Is there a fix or workaround for this error?
12:57:02 T:140648501999360 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "$HOME/.xbmc/addons/service.subtitles.podnapisi/service.py", line 199, in <module>
subs = Download(url,params["filename"])
File "$HOME/.xbmc/addons/service.subtitles.podnapisi/service.py", line 121, in Download
f = urllib.urlopen(url)
File "/usr/lib/python2.7/urllib.py", line 86, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 179, in open
fullurl = unwrap(toBytes(fullurl))
File "/usr/lib/python2.7/urllib.py", line 1056, in unwrap
url = url.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
-->End of Python script error report<--
12:57:02 T:140648451643136 ERROR: GetDirectory - Error getting plugin://service.subtitles.podnapisi/?action=download&link=150658&ID=150658&filename=Star Trek: Deep Space Nine S(1)E(4)
Is there a fix or workaround for this error?