Page 1 of 1

Post-processing does not work

Posted: October 15th, 2017, 5:26 am
by TurbinoZ100000
Version: 2.3.0 [ba7d906]
OS: Windows 10
Install-type: Windows installer
Is the issue reproducible? Yiss

I get the same post-processing error regardless of NZB or script used:
Exit(-1) Cannot run script C:\Program Files\SABnzbd\scripts\Sample-PostProc.cmd

Log shows:
2017-10-15 13:15:33,062::INFO::[newsunpack:163] Running external script C:\Program Files\SABnzbd\scripts\Sample-PostProc.cmd(D:\Lataukset\ubuntu, ubuntu.nzb, ubuntu, , *, alt.binaries.test, 0, )
2017-10-15 13:15:33,062::DEBUG::[newsunpack:189] Failed script C:\Program Files\SABnzbd\scripts\Sample-PostProc.cmd, Traceback:
Traceback (most recent call last):
File "sabnzbd\newsunpack.pyo", line 166, in external_processing
File "subprocess.pyo", line 390, in __init__
File "sabnzbd\utils\subprocess_fix.pyo", line 178, in _execute_child
File "subprocess.pyo", line 640, in _execute_child
File "sabnzbd\utils\subprocess_fix.pyo", line 126, in CreateProcess
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 8: invalid continuation byte

Any ideas?

Re: Post-processing does not work

Posted: October 15th, 2017, 6:26 am
by safihre
Do you want to run a script?
This can only have been set by the user. Scripts don't just run, try checking the Config Categories page.
Or, try in Config Notifications if you maybe selected the script as a Notification script?

Re: Post-processing does not work

Posted: October 15th, 2017, 6:45 am
by TurbinoZ100000
Yes, I'm trying to run one. I was initially trying to set up Sickbeard post-processing and that kept getting the error described in the first message. Could not find anything wrong in the Sickbeard setup so I tried the Sample-PostProc.cmd script which resulted in the exact same error. It doesn't look like any invalid parameters are being sent so I don't know what's going on.

Re: Post-processing does not work

Posted: October 15th, 2017, 7:36 am
by safihre
Can you try sabnzbd 2.3.1RC1? It seems like you maybe have a path with a special character, which should be handled better in 2.3.1.

Re: Post-processing does not work

Posted: October 15th, 2017, 7:52 am
by TurbinoZ100000
Yes, that worked! Thank you!