Syntax error in Deobfuscate[dot]py

Come up with a useful post-processing script? Share it here!
Post Reply
erictduckman
Newbie
Newbie
Posts: 2
Joined: June 27th, 2012, 12:27 pm

Syntax error in Deobfuscate[dot]py

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Syntax error in Deobfuscate[dot]py

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