Page 1 of 1

Error Deobfuscate.py

Posted: March 29th, 2018, 5:51 am
by Riddertommie
when running the Deobfuscate.py script i get the following errror

File "/opt/SABscripts/Deobfuscate.py", line 106
'Repair complete' in result or 'All Files Complete' in result or 'PAR File(s)
^
SyntaxError: EOL while scanning string literal

Ubuntu 16.04.03, SABnzbd version: 2.3.3Beta1

Any tips/help

Thanks

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 7:31 am
by safihre
When you type "python" on the command line, which version is being started? 2.7 or 3?

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 7:41 am
by Riddertommie
2.7.12

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 7:56 am
by safihre
You are not just running the script from the command-line right?
It can only be used as a post-processing script from within SABnzbd.

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 8:25 am
by Riddertommie
Yes, I'm running it from SABnzbd (As post-processing script)

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 8:50 am
by Riddertommie
Just to let you know, /script is not existing within my sabnzbd version so i pull it manual from git

Re: Error Deobfuscate.py

Posted: March 29th, 2018, 9:10 am
by Riddertommie
and I have just answered my own question

I now pulled it from git and its works. The first time a copy/pasted and it was not working.

Something to do with EOL i think