autoexec.py not being processed (22796)
#16
vdrfan Wrote:This is really strange as it's designed to log a line in any case. Mind trying a completely fresh installation of XBMC?

Completely clean install; new music library and still nothing...

Pastebin
Huh
-stoli-
Reply
#17
Not sure, but would it have something to do with 'Running with restricted rights'
If you run as administrator does it work?
For troubleshooting and bug reporting please make sure you Image Read Me First
Reply
#18
Doesn't make a difference unfortunately...
-stoli-
Reply
#19
Narrowed it down a little further. It broke between builds 23739 and 23756. Not that it shows anything, but here is the log from 23756. Even a simple "hello world" in autoexec doesn't work...
-stoli-
Reply
#20
@stoli: One presumes that any other instance of python doesn't work either?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#21
Actually all others do. It's only the autoexec.py that isn't working.

I downloaded all the tools to compile and debug from svn last night, so l'm taking my crash course in vs2008/c++ an hopefully will have a better idea of where it went wrong and learn a little in the process.

Thanks,
-stoli-
Reply
#22
For what its worth, I can replicate this.

When there is no autoexec file I get
DEBUG: XBPython:Tonguerocess - no user autoexec.py (C:\Documents and Settings\Lochness\Application Data\XBMC\scripts\autoexec.py) found, skipping

When there is I do not get any anything with the word autoexec in the log.

My autoexec.py file contains a simple print 'hello world'

http://pastebin.com/m6dc653ac - no autoexec
http://pastebin.com/m5eee5901 - with autoexec
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#23
Thank you rwparris!! I've narrowed it down to 23756 when it broke. 23755 works as expected. Now to figure out debug in vs2008...but I'm pretty confident this is where I am in way over my head!Big Grin

EDIT: If you remove the changes made here http://www.xbmc.org/trac/changeset/23756 it works again... Going to double check that on the latest svn, but so far it looks promising.
-stoli-
Reply
#24
Confirmed! If ";Py_NO_ENABLE_SHARED" is removed from XBMC.vcproj that was added in the above trac/svn autoexec.py loads as expected with current svn compiles.

I'm happy now and learned a bit in the process. Big Grin
-stoli-
Reply
#25
Yeah - I confirmed last night as well. Will fix in SVN tonight.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#26
Should be all good from r23992.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#27
Thank you sir!
-stoli-
Reply
#28
Thank you for persevering and nailing down the problem Smile

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
autoexec.py not being processed (22796)0