Ampersands not correctly passed
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.
-
- Newbie
- Posts: 3
- Joined: May 6th, 2010, 3:24 pm
Ampersands not correctly passed
As seen in this sickbeard issue, Sabnzbd isn't correctly passing folder/file names with ampersands in them to post-processing scripts.
Re: Ampersands not correctly passed
It's bug in Python's runtime system, exclusive to Windows.
"Hello & Goodbye.nzb" is passed OK, but "Hello&Goodbye.nzb" isn't.
The spaces in the first form trigger the library to add quotes, the lack of spaces in the second from omits quotes.
I'll see if I can create a work-around.
It's rather tricky, because more characters might have the same problem.
Edit:
I filed a bug report at python.org: http://bugs.python.org/issue8972
and will patch the runtime environment for the next 0.5.x release.
"Hello & Goodbye.nzb" is passed OK, but "Hello&Goodbye.nzb" isn't.
The spaces in the first form trigger the library to add quotes, the lack of spaces in the second from omits quotes.
I'll see if I can create a work-around.
It's rather tricky, because more characters might have the same problem.
Edit:
I filed a bug report at python.org: http://bugs.python.org/issue8972
and will patch the runtime environment for the next 0.5.x release.
Last edited by shypike on June 11th, 2010, 8:23 am, edited 1 time in total.