2013-01-06, 14:49
The add-on authors know about this now and it should be fixed shortly.
(2013-01-05, 13:09)Walt74 Wrote: This solution posted by jarryd solved it for me. Thank you for pointing it out
(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-08, 21:38)pangster Wrote:sounds daft...how do you count down to line 140..?(2013-01-05, 13:09)Walt74 Wrote: This solution posted by jarryd solved it for me. Thank you for pointing it out
(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')
how do you access the file? : lib/StorageServer.py ??
IGNORE ME: ~/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib/StorageServer.py