Error Deobfuscate.py

Come up with a useful post-processing script? Share it here!
Post Reply
Riddertommie
Newbie
Newbie
Posts: 8
Joined: March 31st, 2011, 1:33 am

Error Deobfuscate.py

Post 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
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Error Deobfuscate.py

Post by safihre »

When you type "python" on the command line, which version is being started? 2.7 or 3?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Riddertommie
Newbie
Newbie
Posts: 8
Joined: March 31st, 2011, 1:33 am

Re: Error Deobfuscate.py

Post by Riddertommie »

2.7.12
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Error Deobfuscate.py

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Riddertommie
Newbie
Newbie
Posts: 8
Joined: March 31st, 2011, 1:33 am

Re: Error Deobfuscate.py

Post by Riddertommie »

Yes, I'm running it from SABnzbd (As post-processing script)
Riddertommie
Newbie
Newbie
Posts: 8
Joined: March 31st, 2011, 1:33 am

Re: Error Deobfuscate.py

Post by Riddertommie »

Just to let you know, /script is not existing within my sabnzbd version so i pull it manual from git
Riddertommie
Newbie
Newbie
Posts: 8
Joined: March 31st, 2011, 1:33 am

Re: Error Deobfuscate.py

Post 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
Post Reply