Posts: 1,739
Joined: Aug 2011
Reputation:
23
2012-09-27, 22:14
(This post was last modified: 2012-09-27, 22:14 by schumi2004.)
Everytime when i install this addon which is needed for youtube i have playback problems with movies and series.
After a fresh system reboot i can play a movie/serie but when it's finished or stopped manually you can't.
The movie then only plays for 8~10 seconds in the background and you can't play it again, not even after a reboot. If your lucky it will after 7~10 attempts.
I'm using the skin Aeon MQ4 but it also happens in default Confluence skin.
The problems always returns when i install YouTube addon together with Common plugin cache and Simple Downloader.
If i look at these 3 addons i can only think of 1 addon to blame that is Common plugin cache.
What are the things you need to know or want me to do to track down the issue?
Posts: 247
Joined: Oct 2003
Reputation:
0
As of today I get a plugin error when starting XBMC.
What changed?
I switched from local accounts to network accounts on my mac.
What have I tried?
Delete the .xbmc folder. result: new .xbmc folder made on startup. still error
Checked user permissions, all seem ok
Made a new user-account, fresh xbmc, installed the cache plugin, reboot and get same error.
Because a fresh install also has this problem, on a fresh user account tends to make me think it has to do with the network account as thats whats changed.
This is the error I get in the Log:
12:01:33 T:2959249408 NOTICE: StorageServer Module loaded RUN
12:01:33 T:2959249408 NOTICE: StorageClient-1.3.0 Starting server
12:01:33 T:2959249408 NOTICE: StorageServer-1.3.0 Storage Server starting /Network/Servers/server.mydomain.eu/Users/myname/Library/Application Support/XBMC/userdata/Database/commoncache.db
12:01:36 T:2959249408 NOTICE: [StorageServer-1.3.0] _sock_init : ''
12:01:36 T:2959249408 NOTICE: [StorageServer-1.3.0] _sock_init : 'Done: '/Network/Servers/server.mydomain.eu/Users/myname/.xbmc/temp/commoncache.socket''
12:01:36 T:2959249408 NOTICE: [StorageServer-1.3.0] _startDB : 'sql3 - /Network/Servers/server.mydomain.eu/Users/myname/Library/Application Support/XBMC/userdata/Database/commoncache.db'
12:01:37 T:2959249408 ERROR: Error Type: <class 'socket.error'>
12:01:37 T:2959249408 ERROR: Error Contents: (22, 'Invalid argument')
12:01:37 T:2959249408 ERROR: Traceback (most recent call last):
File "/Network/Servers/server.mydomain.eu/Users/myname/Library/Application Support/XBMC/addons/script.common.plugin.cache/default.py", line 40, in <module>
run()
File "/Network/Servers/server.mydomainr.eu/Users/myname/Library/Application Support/XBMC/addons/script.common.plugin.cache/default.py", line 35, in run
s.run()
File "/Network/Servers/server.mydomain.eu/Users/myname/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib/StorageServer.py", line 193, in run
sock.bind(self.socket)
File "<string>", line 1, in bind
error: (22, 'Invalid argument')
Posts: 88
Joined: Mar 2008
Reputation:
1
I'm having the same issue with 100% CPU usage under xbmcbuntu frodo and openelec 3.0 beta 2. I'll be happy to provide any logs or info if needed.
I'm using an AMD A6-5400k Trinity chip on the xvba branch.
Posts: 2
Joined: Dec 2012
Reputation:
2
I was seeing high CPU load as well, about 50 - 65% when the machine was just sitting idle. It took me a while but I traced it back to the scripts.common.plugin.cache add-on. If I disabled the plugin, CPU load would immediately drop.
I did some digging in the Python and I think there is an issue with the run() method. I noticed that with a default install of OpenELEC 2.95.(3,4,5), the system boots and the OS time is from the hardware clock. At some point after/during boot, the software/system clock takes over. I believe my issue was that my HW clock was set to GMT while my SW clock was set to local (GMT-5) time.
This causes a problem in the logic of the run() method because the idle_since time could be 5 hours ahead of later time() calls if the system time is applied after idle_since is set but before the timeout (15 seconds) occurs. I was seeing this in my log as something like:
03:00 Starting up
22:00 Sleeping zzzzz
Some possible ways to fix the issue:
- Run "hwclock -w" to push the system time to the hwclock. This is what I did and it appeared to resolve the issue.
- Disable automatic startup of the cache which may let the system clock take over before the cache is started and grabs the hw clock time
- Add a failsafe check in the run() method that idle_since should never be after/greater than time(). Or better yet, find a better way to track idle time in this method.
Hope that helps,
-mike
Posts: 11
Joined: Jun 2011
Reputation:
0
hello all of you...
french community have a request---
how to clean commoncache.db on a raspberry.pi ?
we need to clean cache from some plugins,on atv it s user/var/mobil/preferences--
but where are the folders on raspberry ?
thanks a lot hope one of you have the answer---
Posts: 17
Joined: Dec 2009
Reputation:
0
2013-01-04, 13:34
(This post was last modified: 2013-01-04, 15:46 by bigcookie.)
Dear all,
I get the following error during startup:
12:30:12 T:2957651968 INFO: -->Python script returned the following error<--
12:30:12 T:2957651968 ERROR: Error Type: <class 'socket.error'>
12:30:12 T:2957651968 ERROR: Error Contents: AF_UNIX path too long
12:30:12 T:2957651968 ERROR: Traceback (most recent call last):
File "/Users/andrkuhn/Library/Application Support/XBMC/addons/script.common.plugin.cache/default.py", line 40, in <module>
run()
File "/Users/andrkuhn/Library/Application Support/XBMC/addons/script.common.plugin.cache/default.py", line 35, in run
s.run()
File "/Users/andrkuhn/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib/StorageServer.py", line 197, in run
sock.bind(self.socket)
File "<string>", line 1, in bind
error: AF_UNIX path too long
12:30:12 T:2957651968 INFO: -->End of Python script error report<--
This is an extract from the xbmc.log file. It seems, that the path is too long. Anything I can do? The script fails loading during startup of XBMC, so I cannot use certain plugins...
Running Eden on MacBook Pro. On ATV2 the error is not to be seen.
Thanks, Andre