XBMC Library Auto Update - Script Error

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Harlock Offline
Junior Member
Posts: 5
Joined: Apr 2012
Reputation: 0
Post: #11
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?
find quote
Harlock Offline
Junior Member
Posts: 5
Joined: Apr 2012
Reputation: 0
Post: #12
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
find quote
tentimes Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #13
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?
find quote
tentimes Offline
Junior Member
Posts: 4
Joined: Jan 2012
Reputation: 0
Post: #14
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.
find quote
Harlock Offline
Junior Member
Posts: 5
Joined: Apr 2012
Reputation: 0
Post: #15
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.
(This post was last modified: 2012-04-17 18:19 by Harlock.)
find quote
robweber Offline
Fan
Posts: 598
Joined: Sep 2009
Reputation: 15
Post: #16
(2012-04-10 19:40)tentimes Wrote:  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?

Sorry for this not getting the attention it probably deserves. Please use this thread (http://forum.xbmc.org/showthread.php?tid=119520) to post any problems or requests, I follow it regularly. Side note: please use a log site like xbmclogs.com if posting debug logs - thank you!


(2012-04-13 00:25)tentimes Wrote:  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'm curious how this "fucked up" your library. It only scans content, and if it didn't scan anything then it should be 100% the same. If you're test machines had paths like "Donné" then it is likely you created the same error in your setups. Please post a debug log as Harlock did if you would like a further look.

(2012-04-17 18:18)Harlock Wrote:  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.

Thank you for doing some testing on this. I looked at your log and if we follow it you'll see the error was actually thrown in the Python OS package. I think the path returned via xbmc.translatePath must have been something it could not parse. As you concluded this is most likely due to the characters in your username. I'm going to have a go at recreating this and see if there is a way to encode the string in a way that this function will complete.
find quote
Harlock Offline
Junior Member
Posts: 5
Joined: Apr 2012
Reputation: 0
Post: #17
Hi Rob,

I assumed as much, the problem is/was not in the add-on but in a certain combination with the Python handler because it worked fine in release 0.5.4 of the add-on and release candidate versions of Eden.
The add-on did not change, I tested 0.5.3, 0.5.4 and 0.5.6.

Thanks for the response.
find quote
robweber Offline
Fan
Posts: 598
Joined: Sep 2009
Reputation: 15
Post: #18
In the little testing I was able to get done so far I've found out by using the unicode() function of python I can get windows to accurately interpret these types of filenames. I've pushed a version of this to my github account and plan on making a pull request for the xbmc repo soon. Can't guarantee that this will solve your particular problem but in my testing it seemed to.

I'll post back once I can confirm that the changes have hit the xbmc repo and maybe you can test it out for me on your system?

Thanks.
find quote
jenniferdiane Offline
Junior Member
Posts: 13
Joined: May 2012
Reputation: 0
Post: #19
how would i fix this same problem on atv1 getting script error on apple tv eden11.0
find quote
robweber Offline
Fan
Posts: 598
Joined: Sep 2009
Reputation: 15
Post: #20
(2012-07-11 19:05)jenniferdiane Wrote:  how would i fix this same problem on atv1 getting script error on apple tv eden11.0

What is "the same problem"? There were quite a few discussed in this thread. If possible could you post a debug log? If getting files off the atv is a pain there is an addon for posting logs to the XBMC pastbin site in the addon repo. That seems work well for people with iOS or XBMCbuntu devices that don't want to muck with the file system.
find quote
Post Reply