I'm trying to use the XBMC addon but it crashes immediately. I have tried it on both my desktop PC and my HTPC, both of which are running Windows 7. As soon as I try to start it I get an error message in XBMC saying: "Script failed"
I turned on the logging and this seems to be the crucial part:
22:00:52 T:2336 M:3188027392 DEBUG: XBPyThread::Process - The source file to load is C:\Users\Jonas\AppData\Roaming\XBMC\addons\plugin.video.giantbomb\default.py
22:00:52 T:2336 M:3188027392 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Jonas\AppData\Roaming\XBMC\addons\plugin.video.giantbomb;C:\Users\Jonas\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Jonas\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
22:00:52 T:2336 M:3188027392 DEBUG: XBPyThread::Process - Entering source directory C:\Users\Jonas\AppData\Roaming\XBMC\addons\plugin.video.giantbomb
22:00:52 T:2336 M:3187826688 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
22:00:52 T:2336 M:3187826688 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_socket.pyd)
22:00:52 T:2336 M:3187810304 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
22:00:52 T:2336 M:3187810304 DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\_ssl.pyd)
22:00:52 T:2336 M:3186823168 NOTICE: Mode: None
22:00:52 T:2336 M:3186823168 NOTICE: URL: None
22:00:52 T:2336 M:3186823168 NOTICE: Name: None
22:00:52 T:2336 M:3186769920 INFO: -->Python script returned the following error<--
22:00:52 T:2336 M:3186769920 ERROR: Error Type: exceptions.IOError
22:00:52 T:2336 M:3186769920 ERROR: Error Contents: invalid mode: w
22:00:52 T:2336 M:3186753536 ERROR: Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Roaming\XBMC\addons\plugin.video.giantbomb\default.py", line 202, in ?
CATEGORIES()
File "C:\Users\Jonas\AppData\Roaming\XBMC\addons\plugin.video.giantbomb\default.py", line 15, in CATEGORIES
d = shelve.open(filename)
File "special://xbmc/system/python/Lib\shelve.py", line 234, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "special://xbmc/system/python/Lib\shelve.py", line 215, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary)
File "special://xbmc/system/python/Lib\anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "special://xbmc/system/python/Lib\dumbdbm.py", line 233, in open
return _Database(file, mode)
File "special://xbmc/system/python/Lib\dumbdbm.py", line 71, in __init__
f = _open(self._datfile, 'w', self._mode)
IOError: invalid mode: w
22:00:52 T:2336 M:3186753536 INFO: -->End of Python script error report<--
22:00:52 T:2336 M:3186753536 INFO: Python script stopped
22:00:52 T:2336 M:3186753536 DEBUG: Thread 2336 terminating
22:00:52 T:6084 M:3186733056 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
22:00:52 T:2152 M:3186733056 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.giantbomb/
22:00:52 T:2152 M:3186733056 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.giantbomb/) failed
22:00:52 T:2152 M:3186733056 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
22:00:52 T:2152 M:3186733056 DEBUG: ParentPath = []
22:00:52 T:2152 M:3186659328 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
22:00:52 T:4688 M:3186659328 DEBUG: thread start, auto delete: 0
22:00:52 T:4688 M:3187437568 DEBUG: Thread 4688 terminating
22:00:52 T:2152 M:3187453952 DEBUG: python thread 3 destructed
I'm guessing it may have something to do with write privileges?
Log in to comment