Vero is OSMC's new flagship device. Find out more here.

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
autostart.py failed
10-15-2012, 05:45 PM
Post: #1
autostart.py failed
autostart.py failed to start is the error msg i get when xbmc starts.
Any ideas on how to troubleshoot this?
Find all posts by this user
Quote this message in a reply
10-15-2012, 05:58 PM
Post: #2
RE: autostart.py failed
run 'helpme' and give us the URL
Visit this user's website Find all posts by this user
Quote this message in a reply
10-16-2012, 05:20 PM
Post: #3
RE: autostart.py failed
http://pastebin.com/1nGBMxGY

thanks!
Find all posts by this user
Quote this message in a reply
10-16-2012, 09:21 PM (This post was last modified: 10-16-2012 09:37 PM by boom123.)
Post: #4
RE: autostart.py failed
is this has to do with raspbmc settings addon? now i also get script.raspbmc.settings failed when trying to run the addon. just noticed that overrclock settings did not take effect for this reason, probably.
and feedback on fixing this?
Find all posts by this user
Quote this message in a reply
10-17-2012, 09:22 AM
Post: #5
RE: autostart.py failed
note that i made a clean install of RC5 - but i kept my old .xbmc directory from RC4. Is this related?
Find all posts by this user
Quote this message in a reply
10-17-2012, 10:00 AM (This post was last modified: 10-17-2012 10:01 AM by s7mx1.)
Post: #6
RE: autostart.py failed
(10-17-2012 09:22 AM)boom123 Wrote:  note that i made a clean install of RC5 - but i kept my old .xbmc directory from RC4. Is this related?


Try this to remove the old RC4 settings
Code:
rm /home/pi/.xbmc/userdata/addon_data/script.raspbmc.settings/settings.xml

Then reboot your pi. If you still have problem with script error or autostart.py you need to turn on the xbmc debug logging and reboot your pi then run the helpme again.
Find all posts by this user
Quote this message in a reply
10-17-2012, 06:13 PM (This post was last modified: 10-17-2012 06:43 PM by boom123.)
Post: #7
RE: autostart.py failed
Quote:Then reboot your pi. If you still have problem with script error or autostart.py you need to turn on the xbmc debug logging and reboot your pi then run the helpme again.
Unfortunately this did not resolve the errors. autostart.py and the script fail to start.
please find the new logs : http://pastebin.com/UTMvJzWC

I started having this errors when i switch to an old 512Mb as you can see and and install xbmc on USB drive.

any help appreciated.
Find all posts by this user
Quote this message in a reply
10-17-2012, 08:27 PM
Post: #8
RE: autostart.py failed
(10-17-2012 06:13 PM)boom123 Wrote:  
Quote:Then reboot your pi. If you still have problem with script error or autostart.py you need to turn on the xbmc debug logging and reboot your pi then run the helpme again.
Unfortunately this did not resolve the errors. autostart.py and the script fail to start.
please find the new logs : http://pastebin.com/UTMvJzWC

I started having this errors when i switch to an old 512Mb as you can see and and install xbmc on USB drive.

any help appreciated.

I don't see any autostart.py script error caused by raspbmc settings addon. I assume you can ssh/putty your pi which means that the autostart.py from raspbmc settings addon works.
Find all posts by this user
Quote this message in a reply
10-17-2012, 09:02 PM (This post was last modified: 10-17-2012 09:06 PM by boom123.)
Post: #9
RE: autostart.py failed
indeed the austostart.py message stopped appearing, but still the script.raspbmc.settings failed to start, and the cpu runs at default speed ignoring the settings

I found below error in the new logs. http://pastebin.com/Mug4u3ga

I tried to edit config.txt with nano and set correct values but it gets corrupted...

Code:
21:58:59 T:1171072064   DEBUG: Process - Entering source directory /opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings
21:58:59 T:1171072064   DEBUG: Instantiating addon using automatically obtained id of "script.raspbmc.settings" dependent on version 2.0 of the xbmc.python api
21:59:00 T:1171072064   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'ConfigParser.ParsingError'>
                                            Error Contents: File contains parsing errors: <???>
                                                [line  2]: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0'
                                            Traceback (most recent call last):
                                              File "/opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings/default.py", line 91, in <module>
                                                sys_config = load_sysconfig()
                                              File "/opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings/resources/lib/sys_config.py", line 66, in load_sysconfig
                                                file_config.readfp(ini_fp)
                                              File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
                                                self._read(fp, filename)
                                              File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
                                                raise e
                                            ParsingError: File contains parsing errors: <???>
                                                [line  2]: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0'
                                            -->End of Python script error report<--
21:59:00 T:1080434688   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:59:00 T:1171072064    INFO: Python script stopped
Find all posts by this user
Quote this message in a reply
10-17-2012, 09:07 PM
Post: #10
RE: autostart.py failed
Looks like something wrong with the /boot/config.txt. can you copy from a working one or try edit under pi.



(10-17-2012 09:02 PM)boom123 Wrote:  indeed the austostart.py message stoped appearing, but still the sctip.raspbmc.settings faileed to start, no overcloking settings are enables.

I found below error in the new logs. http://pastebin.com/Mug4u3ga

I tried to edit config.txt with nano and set correct values but it gets corrupted...

Code:
21:58:59 T:1171072064   DEBUG: Process - Entering source directory /opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings
21:58:59 T:1171072064   DEBUG: Instantiating addon using automatically obtained id of "script.raspbmc.settings" dependent on version 2.0 of the xbmc.python api
21:59:00 T:1171072064   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'ConfigParser.ParsingError'>
                                            Error Contents: File contains parsing errors: <???>
                                                [line  2]: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0'
                                            Traceback (most recent call last):
                                              File "/opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings/default.py", line 91, in <module>
                                                sys_config = load_sysconfig()
                                              File "/opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.settings/resources/lib/sys_config.py", line 66, in load_sysconfig
                                                file_config.readfp(ini_fp)
                                              File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
                                                self._read(fp, filename)
                                              File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
                                                raise e
                                            ParsingError: File contains parsing errors: <???>
                                                [line  2]: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0​0'
                                            -->End of Python script error report<--
21:59:00 T:1080434688   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:59:00 T:1171072064    INFO: Python script stopped
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Sponsored Advertisement