It's Windows specific, because only there we need to do a translation step between Windows-codepage and UTF8 used internally by SAB.
I can confirm on my Win10 box.
2.3.2RC1 - PreQueue script not working anymore
Forum rules
Help us help you:
Help us help you:
- 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: 2.3.2RC1 - PreQueue script not working anymore
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 2.3.2RC1 - PreQueue script not working anymore
Could you give this testing version a try and see if it works as expected?
https://github.com/sabnzbd/sabbuild/rel ... 2.3.2-preq
https://github.com/sabnzbd/sabbuild/rel ... 2.3.2-preq
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 2.3.2RC1 - PreQueue script not working anymore
I've installed the testing version and it seems if the problem is solved.
I will keep it running and see if the problem comes back.
I will keep it running and see if the problem comes back.
Re: 2.3.2RC1 - PreQueue script not working anymore
I found another faulty translation:
Code: Select all
2018-01-04 11:36:23,884::INFO::[__init__:613] Backing up \\?\D:\Incomplete\Ed_Sheeran_-_÷_Devide\__ADMIN__\Ed_Sheeran_-_÷_Devide.nzb.gz
2018-01-04 11:36:23,888::INFO::[newsunpack:2303] Running pre-queue script [u'C:\\PreQueue\\PreQueue.exe', u'Ed_Sheeran_-_\xf7_Devide', '', '', '', '', u'309588353', u'alt.binaries.mp3', '', '', '', '']
2018-01-04 11:36:25,089::INFO::[newsunpack:2313] Pre-queue script returns 0 and output=
1
Ed_Sheeran_-_��vide
music
Re: 2.3.2RC1 - PreQueue script not working anymore
This is a Windows-specific problem.
Python 2.7 cannot really handle unicode-subprocesses. We have a work-around in place which allows us to send unicode (like the ÷) to the script, but then it's up to the script to correctly accept and parse it.
Then again there can be a mismatch between what the script send and how SAB parses it, if the encodings don't match you get stuff like this.
This should be fixed in Python 3, but we are still far away from getting that to work.
Python 2.7 cannot really handle unicode-subprocesses. We have a work-around in place which allows us to send unicode (like the ÷) to the script, but then it's up to the script to correctly accept and parse it.
Then again there can be a mismatch between what the script send and how SAB parses it, if the encodings don't match you get stuff like this.
This should be fixed in Python 3, but we are still far away from getting that to work.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate