Page 1 of 1

Error while Running a post proc script

Posted: December 8th, 2012, 7:40 pm
by tino5k
Hi all,

Trying to use a script that will automatically update my xbmc library when a movie downloaded is finished, but getting an error. On Win 7 with Python 27 installed.

The error is "'python' is not recognized as an internal or external command, operable program or batch file."

Here is a copy of the script:
#!/usr/bin/python
import urllib

urllib.urlopen("http://localhost:8082/xbmcCmds/xbmcHttp ... o)").close()


I added the python path variable in windows. I'm using the sabtosickbeard.exe script for TV shows and that works fine, not sure why there is an error with this one. Thanks.

Re: Error while Running a post proc script

Posted: December 9th, 2012, 3:49 am
by shypike
I don't know which Python you installed,
but the best result you get by installing ActiveState Python
uising its msi installer.
Make sure .py files are associated with Python.
This means that you can start a Python script by typing in its name.
Also, after installing, stop and start SABnzbd.

Re: Error while Running a post proc script

Posted: December 11th, 2012, 3:23 pm
by sander
To test the python installation, open a CMD box (windows-keys, then "CMD"), and type: 'python' + <ENTER>. Do you get an error message? If so, follow Shypike's advice.

Re: Error while Running a post proc script

Posted: December 11th, 2012, 6:12 pm
by tino5k
Hi guys, i've verified installation. When I type python at the cmd prompt it takes me into the phython 2.7.3 console and i am not getting any errors, so it seems to be installed properly.

Re: Error while Running a post proc script

Posted: December 12th, 2012, 11:08 am
by shypike
Did you also stop and start SABnzbd (not restart)?