Kodi Community Forum

Full Version: Frodo RC3 startup message > script failed: script.common.plugin.cache
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
With Frodo RC3 : I get the following message at startup : script failed: script.common.plugin.cache
This error was not present in RC 2 ( or rc1 and the betas)
I reproduced the error by launching the script manually. Can somebody explain me how to resolve this ?

http://xbmclogs.com/show.php?id=25923

system : Frodo RC3 with Aeon Nox 4.0 on mac mini 2011 HD3000 8GB RAM OSX 10.8.2
Get same here after upgrade to RC3. Same Mac Mini, although just 2GB RAM
May be an RC3 issue, I get the same "AF_UNIX path too long" error on my OS X system too.

Full Debug Log @ http://pastebin.com/VVQeGRSE

Don't recall seeing this on RC2.
Also get this error with Eden... Seems to be a problem not related to the XBMC version...
this is solved see

http://forum.xbmc.org/showthread.php?tid...pid1286592


(2013-01-05, 05:38)jarryd Wrote: [ -> ]I too was having some 100% CPU usage randomly out of nowhere, and after having a snoop around the code itself I found a few 'bug fixes' for OSX 10.8 with Frodo RC2/3:

- ~/Library/Application Support/XBMC/userdata/addon_data/script.common.plugin.cache/ needed to be created
- Turns out the default path used for POSIX does not relate to a usable socket file on OSX. What I've done is instead of creating a socket in the user's profile dir (which like above results in a long-ass folder structure), I've created a socket in XBMC's temp dir which should return ~/.xbmc/temp.

All it requires is to edit lib/StorageServer.py and replace line 140:
Code:
self.socket = os.path.join(self.xbmc.translatePath(self.settings.getAddonInfo("profile")).decode("utf-8"), 'commoncache.socket')

With this:
Code:
self.socket = os.path.join(self.xbmc.translatePath('special://temp/').decode("utf-8"), 'commoncache.socket')
(2013-01-05, 16:07)Walt74 Wrote: [ -> ]this is solved see -> [/i]: http://forum.xbmc.org/showthread.php?tid...pid1286592

Link seems to be broken.. (I have the same problem).
(2013-01-05, 17:09)SwissDave Wrote: [ -> ]
(2013-01-05, 16:07)Walt74 Wrote: [ -> ]this is solved see -> [/i]: http://forum.xbmc.org/showthread.php?tid...pid1286592

Link seems to be broken.. (I have the same problem).

The link and the post bu jarryd

http://forum.xbmc.org/showthread.php?tid...pid1286592

(2013-01-05, 05:38)jarryd Wrote: [ -> ]I too was having some 100% CPU usage randomly out of nowhere, and after having a snoop around the code itself I found a few 'bug fixes' for OSX 10.8 with Frodo RC2/3:

- ~/Library/Application Support/XBMC/userdata/addon_data/script.common.plugin.cache/ needed to be created
- Turns out the default path used for POSIX does not relate to a usable socket file on OSX. What I've done is instead of creating a socket in the user's profile dir (which like above results in a long-ass folder structure), I've created a socket in XBMC's temp dir which should return ~/.xbmc/temp.

All it requires is to edit lib/StorageServer.py and replace line 140:
Code:
self.socket = os.path.join(self.xbmc.translatePath(self.settings.getAddonInfo("profile")).decode("utf-8"), 'commoncache.socket')

With this:
Code:
self.socket = os.path.join(self.xbmc.translatePath('special://temp/').decode("utf-8"), 'commoncache.socket')


I'm sorry i am really new at this but i have the same issue as the OP. I understand what i have to edit but what i can't find is the folder lib/storageserver.py. Any and all help will be appreciated.
Just wait for the add-on to be updated through XBMC.
(2013-01-06, 09:29)Angels13Wings Wrote: [ -> ]I'm sorry i am really new at this but i have the same issue as the OP. I understand what i have to edit but what i can't find is the folder lib/storageserver.py. Any and all help will be appreciated.

~/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib