2014-11-08, 03:38
(2014-11-07, 04:45)hitman19 Wrote: For anyone getting script errors in Windows, here's what I've done to fix it:
- close XBMC
- search for cookies.lwp (add a desktop shortcut to the folder this file is in to make this easier next time)
- delete cookies.lwp
- start XBMC
Deleting the cookie file causes the GCL app to re-create it, and that fixes the 'stale' cookie, which is what's currently causing the errors.
thanks tried deleting the cookie file and it still throws up the script error... any other options?
17:34:04 T:5972 NOTICE: URL: /live/10773
17:34:06 T:5972 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 "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\default.py", line 33, in <module>
LIVELINKS(url)
File "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\resources\lib\userinterface.py", line 123, in LIVELINKS
links = getLiveGameLinks(url)
File "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\resources\lib\games_live.py", line 248, in getLiveGameLinks
response = opener.open(url2, login_data)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\XBMC\system\python\Lib\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:34:06 T:6132 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/?mode=3&url=%2flive%2f10773
17:34:06 T:6132 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/?mode=3&url=%2flive%2f10773) failed
17:34:06 T:3848 NOTICE: Thread BackgroundLoader start, auto delete: false
17:34:08 T:5148 NOTICE: Thread LanguageInvoker start, auto delete: false
17:34:08 T:5148 NOTICE: -->Python Interpreter Initialized<--
17:34:09 T:5148 NOTICE: Mode: 3
17:34:09 T:5148 NOTICE: URL: /live/10771
17:34:10 T:5148 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: unknown url type:
Traceback (most recent call last):
File "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\default.py", line 33, in <module>
LIVELINKS(url)
File "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\resources\lib\userinterface.py", line 123, in LIVELINKS
links = getLiveGameLinks(url)
File "C:\Users\The Mas\AppData\Roaming\XBMC\addons\plugin.video.nhl-gamecenter\resources\lib\games_live.py", line 248, in getLiveGameLinks
response = opener.open(url2, login_data)
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 396, in open
protocol = req.get_type()
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:
-->End of Python script error report<--
17:34:10 T:6132 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/?mode=3&url=%2flive%2f10771
17:34:10 T:6132 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/?mode=3&url=%2flive%2f10771) failed