Page 1 of 1

Syntax error in Deobfuscate[dot]py

Posted: September 11th, 2018, 12:39 pm
by erictduckman

Code: Select all

File "Deobfuscate[dot]py", line 58
print "This script needs to be called from SABnzbd as post-processing script."
^
SyntaxError: invalid syntax
I get the above error when I run Deobfuscate[dot]py from SABnzbd. It is the version of the script placed in the folder C:\Program Files\SABnzbd\scripts\ by the installer, copied over to my scripts folder as configured in SABnzbd.

Python version says "3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32".

Windows 10 Home 64bit version 1803 build 17134.228,

SABnzbd version 2.3.5 [76c7a6c]

I had to write the name of the script with [dot] to post here, the board kept telling me "new users not allowed to post links" if I wrote it as it's actually spelled, even inside the code tags.

Re: Syntax error in Deobfuscate[dot]py

Posted: September 11th, 2018, 1:11 pm
by sander
erictduckman wrote: September 11th, 2018, 12:39 pm
Python version says "3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32".
You should use Python 2. Not python 3.