Code Monkey home page Code Monkey logo

Comments (5)

caronc avatar caronc commented on May 24, 2024

Your copy of Python can't be found on your Synology device.

You could try hacking it a bit and just update the nzb-notify.py script and change the first line to:
#!/usr/bin/env /usr/local/bin/python

Alternatively there is some good advice here on how you might be able to fix your environment up.

from nzb-notify.

IIIdefconIII avatar IIIdefconIII commented on May 24, 2024

Thanks for you message, oldo i dont have the gile nzb-notify, myne is called sabnzbd-notify.py and i dont seem to find out what linke is should adjust, edit i found some line in sabnzbd. should i uncomment it?
Commentes it still gives me an error:

ERROR a few seconds ago Notification script returned exit code 127 and output "env: ‘/usr/local/bin/python’: No such file or directory

uncommented i get another error:

Notification script returned exit code 1 and output "  File "/config/scripts/sabnzbd-notify.py", line 1
    !/usr/bin/env /usr/local/bin/python
SyntaxError: invalid syntax

this seems how the directory is listed:

root@IIIdefconnasIII:/usr/local/bin# cd python
python2     python2.7   python3.10
I tried all three folders instead but im keep ketting the error:

 Notification script returned exit code 1 and output "  File "/config/scripts/sabnzbd-notify.py", line 1
    !/usr/bin/env /usr/local/bin/python2
    ^
SyntaxError: invalid syntax
"

from nzb-notify.

IIIdefconIII avatar IIIdefconIII commented on May 24, 2024

@caronc Hi, do you have any other suggestiosn? Thank you,!

from nzb-notify.

caronc avatar caronc commented on May 24, 2024

I don't, it seems Python isn't in your Linux path. I don't have a Synology device, so i don't know how to troubleshoot that. You could try asking about the pyhon path in their forums. The link i shared from Stack overflow is the issue

from nzb-notify.

IIIdefconIII avatar IIIdefconIII commented on May 24, 2024

just for some futures answers: i installed python 3.10

from nzb-notify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.