Kodi Community Forum

Full Version: XBMC Library Auto Update - Script Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm running XBMC on a AppleTV2 and recently upgraded to Eden Beta 3. I'm having trouble running the XBMC Libary Auto Update add-on. I've tried uninstalling/reinstalling with no improvement.

Installed software:

AppleTV2: V4.4.4(3330)
XBMC: Eden beta 3 (11.0)
Skin: Transparency
XBMC Libary Auto Update V0.5.1

Message: Error - Scripted Failed - manual.py

The following link illustrates the XBMC.log:

XBMC Log: http://pastebin.com/1Mffb826

Please advise. Thanks.
Having the same error here...
oasistech Wrote:I'm running XBMC on a AppleTV2 and recently upgraded to Eden Beta 3. I'm having trouble running the XBMC Libary Auto Update add-on. I've tried uninstalling/reinstalling with no improvement.

The latest version got pushed out with an error. If you can get to the addon's folder, open up the file named service.py. At the very top add "import os" on a line by itself (with no quotes). I believe the plugin author has requested another pull to get the fixed version into the repo.
pkscuot Wrote:The latest version got pushed out with an error. If you can get to the addon's folder, open up the file named service.py. At the very top add "import os" on a line by itself (with no quotes). I believe the plugin author has requested another pull to get the fixed version into the repo.

Thanks, this worked!
Installed the latest version of the addon (XBMC Library Auto Update 0.5.4). Still receiving the same results (manual/py error).
pkscuot Wrote:The latest version got pushed out with an error. If you can get to the addon's folder, open up the file named service.py. At the very top add "import os" on a line by itself (with no quotes). I believe the plugin author has requested another pull to get the fixed version into the repo.

Hello, I need your help.

I have the same script errors. Please advise me how to modify the .py file and put the "import os".

I try looking around and find nothing in terms on how to open the .py and modify it. Any helps would greatly appreciated.:confused2:
cooltester Wrote:Hello, I need your help.

I have the same script errors. Please advise me how to modify the .py file and put the "import os".

Depends on your system. Here on Mac I simply go to ~/Library/Application Support/XBMC/service.libraryautoupdate/ and then can open service.py with my favourite text editor (used nano in this case).
I have simply added "import os" at the top, saved and restarted XBMC and it worked. Really simple solution.
i have a very similar error

WIN7 64 bit
XBMC: Eden beta 3 (11.0)
Skin: aeon
Libary Auto Update V0.5.1 (current)


Quote:Error
Script failed! service.libraryautoupdate

i have added import os into the service.py in the location C:\Users\Bert-02\AppData\Roaming\XBMC\addons\service.libraryautoupdate

and found this in the log if it helps
Quote:17:49:23 T:3744 ERROR: Traceback (most recent call last):
File "C:\Users\B-Man\AppData\Roaming\XBMC\addons\service.libraryautoupdate\default.py", line 6, in <module>
AutoUpdater().runProgram()
File "C:\Users\B-Man\AppData\Roaming\XBMC\addons\service.libraryautoupdate\service.py", line 41, in runProgram
self.runAdvanced()
File "C:\Users\B-Man\AppData\Roaming\XBMC\addons\service.libraryautoupdate\service.py", line 71, in runAdvanced
cron = CronExpression(self.Addon.getSetting("cron_expression") + " XBMC_COMMAND")
File "C:\Users\B-Man\AppData\Roaming\XBMC\addons\service.libraryautoupdate\cronex.py", line 99, in __init__
minutes, hours, dom, months, dow, self.comment = fields
ValueError: need more than 3 values to unpack
oasistech Wrote:I'm running XBMC on a AppleTV2 and recently upgraded to Eden Beta 3. I'm having trouble running the XBMC Libary Auto Update add-on. I've tried uninstalling/reinstalling with no improvement.

Installed software:

AppleTV2: V4.4.4(3330)
XBMC: Eden beta 3 (11.0)
Skin: Transparency
XBMC Libary Auto Update V0.5.1

Message: Error - Scripted Failed - manual.py

The following link illustrates the XBMC.log:

XBMC Log: http://pastebin.com/1Mffb826

Please advise. Thanks.

Even though I haven't met this trouble..thanks..
im still having this error and dont know why i didnt have a problem with the .42 version
and every time i roll back to the .42 ersion it updates to .51 when i close xmbc
Hi All,

I'm having the same problem.

I installed Eden Beta 1, then installed Beta 2 over it, and then Beta 3, in Beta 2 I updated the Library Auto Update (LAU) from 0.5.4 to 0.5.6
The then updated to the release version of Eden, and always get the error "Script failed manual.py"

I've updated the add-on to 0.6.0, then it runs at startup with the delay, but not the auto update, and it fails the script manual.py

If I downgrade to 0.5.4 I can manually run it, it still pops up the error but the update happens.

Is there a way to remove the entire "script" service and replace with a fresh one? I can install Eden from scratch on another pc and copy the folders, I just need to know which folders, a complete re-install is going to be a nightmare.

Anyone?
Hi All,

Found the problem but don't know how to get it fixed.

In the log, it seems the add-on doe not support European characters.

16:28:48 T:1796 NOTICE: -----------------------------------------------------------------------
16:28:48 T:1796 NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 32-bit Service Pack 1 build 7601. Built on Mar 21 2012 (compiler 1600)
16:28:48 T:1796 NOTICE: Intel® Core™ i3 CPU M 370 @ 2.40GHz
16:28:48 T:1796 NOTICE: Desktop Resolution: 1280x720 32Bit at 60Hz
16:28:48 T:1796 NOTICE: Running with restricted rights
16:28:48 T:1796 NOTICE: Aero is enabled
16:28:48 T:1796 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
16:28:48 T:1796 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
16:28:48 T:1796 NOTICE: special://masterprofile/ is mapped to: C:\Users\Donné\AppData\Roaming\XBMC\userdata
16:28:48 T:1796 NOTICE: special://home/ is mapped to: C:\Users\Donné\AppData\Roaming\XBMC\
16:28:48 T:1796 NOTICE: special://temp/ is mapped to: C:\Users\Donné\AppData\Roaming\XBMC\cache
16:28:48 T:1796 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
16:28:48 T:1796 NOTICE: Local hostname: test-PC
16:28:48 T:1796 NOTICE: Log File is located: C:\Users\Donné\AppData\Roaming\XBMC\xbmc.log
16:28:48 T:1796 NOTICE: -----------------------------------------------------------------------
16:28:48 T:1796 NOTICE: Setup SDL
16:28:48 T:1796 NOTICE: Found screen: Generic PnP Monitor on Intel® HD Graphics, adapter 0.
16:28:48 T:1796 NOTICE: Primary mode: 1280x720 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x480 @ 59.94 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x480 @ 29.97i - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x480 @ 30.00i - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x576 @ 50.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 720x576 @ 25.00i - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1280x720 @ 50.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1280x720 @ 59.94 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 50.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 59.94 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
16:28:48 T:1796 NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen
16:28:48 T:1796 NOTICE: load settings...
16:28:48 T:1796 NOTICE: special://profile/ is mapped to: special://masterprofile/
16:28:48 T:1796 NOTICE: loading special://masterprofile/guisettings.xml
16:28:48 T:1796 NOTICE: Getting hardware information now...
16:28:48 T:1796 NOTICE: Checking resolution 12
16:28:48 T:1796 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:28:48 T:1796 NOTICE: Loaded playercorefactory configuration
16:28:48 T:1796 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:28:48 T:1796 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:28:48 T:1796 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
16:28:48 T:1796 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
16:28:48 T:1796 NOTICE: Default DVD Player: dvdplayer
16:28:48 T:1796 NOTICE: Default Video Player: dvdplayer
16:28:48 T:1796 NOTICE: Default Audio Player: paplayer
16:28:48 T:1796 NOTICE: Disabled debug logging due to GUI setting. Level 0.
16:28:48 T:1796 NOTICE: Log level changed to 0
16:28:48 T:1796 NOTICE: Loading media sources from special://masterprofile/sources.xml
16:28:49 T:1796 NOTICE: Enabled Joystick: BD Remote Control
16:28:49 T:1796 NOTICE: Details: Total Axis: 0 Total Hats: 0 Total Buttons: 0
16:28:50 T:1796 NOTICE: initializing playlistplayer
16:28:50 T:1796 NOTICE: DONE initializing playlistplayer
16:28:50 T:1796 NOTICE: initialize done
16:28:50 T:1796 NOTICE: Running the application...
16:28:50 T:1796 NOTICE: Webserver: Starting...
16:28:50 T:2368 NOTICE: -->Python Interpreter Initialized<--
16:28:50 T:1796 NOTICE: WebServer: Started the webserver
16:28:50 T:1796 NOTICE: starting upnp server
16:28:50 T:1796 NOTICE: starting upnp renderer
16:28:50 T:1796 NOTICE: ES: Starting event server
16:28:50 T:2800 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
16:28:50 T:2800 NOTICE: UDP: Listening on port 9777
16:28:50 T:2368 NOTICE: Update Library Service starting...
16:28:50 T:3592 NOTICE: -->Python Interpreter Initialized<--
16:28:50 T:1252 NOTICE: -->Python Interpreter Initialized<--
16:28:50 T:2536 NOTICE: -->Python Interpreter Initialized<--
16:28:50 T:2368 ERROR: Error Type: <type 'exceptions.WindowsError'>
16:28:50 T:2368 ERROR: Error Contents: [Error 5] Access is denied: 'C:\\Users\\Donn\xc3\xa9'
16:28:51 T:2276 ERROR: CRemoteControl::Connect - failed to connect
16:28:51 T:2368 ERROR: Traceback (most recent call last):
File "C:\Users\Donn�\AppData\Roaming\XBMC\addons\service.libraryautoupdate\default.py", line 6, in <module>
AutoUpdater().runProgram()
File "C:\Users\Donn�\AppData\Roaming\XBMC\addons\service.libraryautoupdate\service.py", line 34, in runProgram
self.writeLastRun()
File "C:\Users\Donn�\AppData\Roaming\XBMC\addons\service.libraryautoupdate\service.py", line 128, in writeLastRun
os.makedirs(xbmc.translatePath(self.datadir))
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 150, in makedirs
makedirs(head, mode)
File "C:\Program Files\XBMC\system\python\Lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 5] Access is denied: 'C:\\Users\\Donn\xc3\xa9'
16:28:51 T:3592 NOTICE: downloader ARGV: ['']
16:28:51 T:1252 NOTICE: Artwork Downloader: ## Service - Run at startup: False
16:28:51 T:1252 NOTICE: Artwork Downloader: ## Service - Delayed startup: -- minutes
16:28:51 T:1252 NOTICE: Artwork Downloader: ## Service - Run as service: False
16:28:51 T:1252 NOTICE: Artwork Downloader: ## Service - Time: 0:00
16:28:51 T:2536 NOTICE: StorageServer Module loaded RUN
16:28:51 T:2536 NOTICE: StorageClient-0.9.2 Starting server
Hi,

I have the same problem, script failing.

Is there any answer to this yet? I am surprised to see 11.0 pushed with this in it. Are we posting in the wrong place for anyone to take notice?
I have now recreated this bug on two windows 7 x64 machines. In both cases I then uninstalled Eden Beta 3, cleared out all old data, then installed Eden 11 (release). In both cases the script is failing and I have a fucked up library with no way to fix it. The only solution seems to be to go back to Beta 3.

Is there a bug tracker? I'm off to look, as this seems pretty bad in terms of bugs to have.
I worked around this by using standard ASCII names only, I created a new user Donne instead of Donné
Not perfect but hey it now works.

Oh, and it is easy to copy the C:\Users\Donné\AppData\Roaming\XBMC folder to the new user e.g. C:\Users\Donne\AppData\Roaming\XBMC

Everything then works fine.
Pages: 1 2