Page 1 of 1
SABNZB Notifications with Pushover
Posted: November 21st, 2022, 4:09 pm
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.
Re: SABNZB Notifications with Pushover
Posted: November 21st, 2022, 6:07 pm
by sander
Which script is that?
What does the first line of that script say?
Re: SABNZB Notifications with Pushover
Posted: November 21st, 2022, 8:31 pm
by farberm
it is the sabnzbd-notify dot py script
#!/usr/bin/env python
Re: SABNZB Notifications with Pushover
Posted: November 21st, 2022, 9:04 pm
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
Re: SABNZB Notifications with Pushover
Posted: November 22nd, 2022, 2:15 am
by sander
Re: SABNZB Notifications with Pushover
Posted: November 22nd, 2022, 2:16 am
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!