SABNZB Notifications with Pushover

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
farberm
Newbie
Newbie
Posts: 3
Joined: November 21st, 2022, 4:04 pm

SABNZB Notifications with Pushover

Post by farberm »

I am working with OSX 12.3 and SBNZB and pushover notifications. I have installed python, added the files to the scripts directory that I created and ran the requirements command. I am getting the following error

Locations of scripts folder is in my documents folder. I can se it in the SABNZB preferences so I now that is correct.

"Notification script returned exit code 127 and output :env: python: No such file or directory.

I have aan impression that this has something to do with the python install.

Any advice or help would be appreciated.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: SABNZB Notifications with Pushover

Post by sander »

Which script is that?
What does the first line of that script say?
farberm
Newbie
Newbie
Posts: 3
Joined: November 21st, 2022, 4:04 pm

Re: SABNZB Notifications with Pushover

Post by farberm »

it is the sabnzbd-notify dot py script

#!/usr/bin/env python
farberm
Newbie
Newbie
Posts: 3
Joined: November 21st, 2022, 4:04 pm

Re: SABNZB Notifications with Pushover

Post by farberm »

when I change it to #!/usr/bin/env python3....

I get the following error...

Notification script returned exit code 1 and output "Traceback (most recent call last):
File .........."/Script locations for file."Notify dot py", line 174, in <module>
from nzbget import SCRIPT_MODE
ModuleNotFoundError: No module named 'nzbget
User avatar
safihre
Administrator
Administrator
Posts: 5339
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABNZB Notifications with Pushover

Post by safihre »

The problem is that macOS python is interfering with the official python that you downloaded.
In Applications there should be a folder Python, in there I think is a script that you can run to add that Python to the path and make it the default.
If you then restart the device and try again it might work. Maybe you'll need to install the requirements again.

Edit: why do you use a script? Pushover is integrated in SABnzbd, just enable it!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply