There is another problem with letters >ord(128) [ASCII] on a Zyxel NSA325.
The Fonz fun_plug (ffp) "doesn't" support a dpkg-reconfigure console-setup or an apt-get install locales.
Python couldn't read this letters, if the environment doesn't support it. So long, I haven't found a solution, yet.
If anyone got the same problems with (äöü ß etc.) the script is setting the first error line from python into the NZBPR_*Unpack:Password field.
To avoid it, please add this code.
after:
add:
Code: Select all
try:
fwp.encode('utf-8')
except:
print('[ERROR] One or more letter(s) could not parse correctly - wrong locales set? Password was not set!')
sys.exit(1)
Nzbget (windows), not the script, have problems with some letters, too.
Example: Test{{äöüߧ}}.nzb
[ERROR] Error parsing nzb-file: System ...
[ERROR] Could not add collection Test{{äöüߧ}}.nzb to queue
Why are such characters used in file names I don't understand. Happens about once a week.