I am running the latest beta5 on Windows 2008 R2 and have come across an issue. I have a network media tank device and have YAMJ setup and I want it to run the commands to refresh the library after each download. When I run the batch file outside of the post processing script it works fine without error.
However when running it as part of the post processing i get the following error.
C:\Program Files (x86)\SABnzbd>D:
D:\>CD \YAMJ-MOVIES
D:\YAMJ-MOVIES>CALL moviejukebox My_Library.xml -o \\NAS\Share\MOVIES
'java' is not recognized as an internal or external command,
operable program or batch file.
I don't get the java error when running these commands from command prompt but I do when from Sabnzbd post processing scripts.
I even added the java bin location to the the PATH environment variables but this never helped either.
Has anyone any ideas?
thanks
Error when running post processing script.
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Error when running post processing script.
Did you add Java to the system-wide path?
There are environment variables per account and system-wide.
If you run SABnzbd as a service or a scheduled task, not all normal resources are available.
There are environment variables per account and system-wide.
If you run SABnzbd as a service or a scheduled task, not all normal resources are available.
Re: Error when running post processing script.
I added the java bin folder to the system wide PATH environment variable. As for Sabnzbd is set to run on startup, on task manager the username for the process is the one which i am logged in under. It is not run as a scheduled task i just leave it running all the time from startup.
Re: Error when running post processing script.
The current directory is not the same as when you run it yourself.
You are sure moviejukebox is in the path ?
Add a "set" command to the script so you can see what the
environment of the script is.
You are sure moviejukebox is in the path ?
Add a "set" command to the script so you can see what the
environment of the script is.
Re: Error when running post processing script.
You need to install the 32 bit version of Java
Hope that helps.
Hope that helps.
Re: Error when running post processing script.
Thanks for sharing such a nice sharing.it is very useful for all keep it up.i will come back soon.