jack007

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jack007

  1. I had the same errors for ResetDateTime.py. Appears to have been solved by editing the first line of the script to: #!/usr/bin/env python2 Apparently the script is written for python2, while this docker defaults to python3 and it runs into compatibility issues. The edit above makes the script run under python2 and all is good again. I'm new to the linux world and it's a steep learning curve, so please everyone let me know if I got this wrong. It worked! Thanks again.
  2. I had the same errors for ResetDateTime.py. Appears to have been solved by editing the first line of the script to: #!/usr/bin/env python2 Apparently the script is written for python2, while this docker defaults to python3 and it runs into compatibility issues. The edit above makes the script run under python2 and all is good again. I'm new to the linux world and it's a steep learning curve, so please everyone let me know if I got this wrong. Thanks! I will try it out tonight.
  3. I have problem with the DeleteSamples.py and ResetTime extension scripts. I get an error suggesting that they are not recognizing that NZBGET is version 15 . Below are pertinent snippets from the log. I have made sure permissions are correct. Any ideas? -Thanks Sun Jun 14 10:39:22 2015 INFO DeleteSamples: File "/data/scripts/DeleteSamples.py", line 55 Sun Jun 14 10:39:22 2015 INFO DeleteSamples: print "This script can only be called from NZBGet (11.0 or later)." Sun Jun 14 10:39:22 2015 INFO DeleteSamples: ^ Sun Jun 14 10:39:22 2015 INFO DeleteSamples: SyntaxError: invalid syntax Sun Jun 14 10:39:22 2015 INFO ResetDateTime: File "/data/scripts/ResetDateTime.py", line 25 Sun Jun 14 10:39:22 2015 INFO ResetDateTime: print "This script can only be called from NZBGet (11.0 or later)." Sun Jun 14 10:39:22 2015 INFO ResetDateTime: ^ Sun Jun 14 10:39:22 2015 INFO ResetDateTime: SyntaxError: invalid syntax Sun Jun 14 10:39:22 2015 ERROR Post-process-script ResetDateTime.py