Version: 0.4.8
OS: Windows XP SP2
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: McAfee Enterpirse
Are you using IPV6? no
Is the issue reproducible? yes
Hey,
I started using a script last week. It worked fine (at least, it started fine, it just didn't do what I wanted ).
But since yesterday, the script didn't run anymore.
The script is located in C:\Program Files\sabnzbd\scripts.
I looked in the logs-folder and noticed a log-file for every finished download.
Inside, there was an error stating it "couldn't find c:\program"
Apparently, all of a sudden, sabnzbd started having problems with the space in the folder name?
So I went to the config-page and tried setting the folder to "C:\Program Files\sabnzbd\scripts" again.
I got no error when pressing Save, but in the Connections-page I got this:
2009-03-31 09:57:29,598 ERROR [sabnzbd.misc] Cannot create directory C:\Documents and Settings\\My Documents\"C:\Program Files\Sabnzbd\Scripts"
After changing the folder to "C:\Progra~1\Sabnzbd\Scripts", the script is run as it should.
Bug or by-design?
Script-folder error
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: Script-folder error
The only way I can get it to fail is when I add a space before the path in the INI file.
script_dir = " d:\my\scripts"
Due to a small programming error, SABnzbd will not notice that it's an absolute path.
But you will get warnings.
Should it occur again, can you check the exact content of the INI file's script_dir setting?
script_dir = " d:\my\scripts"
Due to a small programming error, SABnzbd will not notice that it's an absolute path.
But you will get warnings.
Should it occur again, can you check the exact content of the INI file's script_dir setting?
Re: Script-folder error
Strange... I changed it back to Program Files and everything is OK now.
I can't think how the space would have gotten in front of it. I had it like that for over a week and it worked fine.
It just stopped working all of a sudden.
I'll keep an eye on it and inform you when it happens again.
Thanks for the info.
I can't think how the space would have gotten in front of it. I had it like that for over a week and it worked fine.
It just stopped working all of a sudden.
I'll keep an eye on it and inform you when it happens again.
Thanks for the info.