I'm also getting '404' errors, in the kodi.log I get this Python exception:
Code:
17:55:21 T:140254739867392 NOTICE: http://www.amazon.co.uk/gp/product/B014EFL61I
17:55:22 T:140254739867392 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.HTTPError'>
Error Contents: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/home/rob/.kodi/addons/plugin.video.prime_instant/default.py", line 1442, in <module>
listSeasons(name, url, thumb, showAll=showAllSeasons)
File "/home/rob/.kodi/addons/plugin.video.prime_instant/default.py", line 580, in listSeasons
content = getUnicodePage(urlMain+"/gp/product/"+seriesID)
File "/home/rob/.kodi/addons/plugin.video.prime_instant/default.py", line 996, in getUnicodePage
req = opener.open(url)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 442, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
-->End of Python script error report<--
17:55:22 T:140255479793600 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/?mode=listSeasons&name=Hand%20Of%20God&thumb=http%3a%2f%2fecx.images-amazon.com%2fimages%2fI%2f51szT%252Bkv8QL.jpg&url=B014EFL61I
17:55:22 T:140255479793600 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/?mode=listSeasons&name=Hand%20Of%20God&thumb=http%3a%2f%2fecx.images-amazon.com%2fimages%2fI%2f51szT%252Bkv8QL.jpg&url=B014EFL61I) failed
I have edited the default.py code to print out the URL which it was trying to get before it threw the exception. In the above case it is
http://www.amazon.co.uk/gp/product/B014EFL61I. The weird thing is that I can happily get the content of this URL via 'wget <url> on the command line from my Kodi PC and from a browser on another PC. This makes me think that something more complex is going wrong.