-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram error #56
Comments
Well I updated SAB to 2.3.9 and that fixed the "python is not recognized" error, but now I'm getting the same error in SAB when I try to test as when I run the script manually through command prompt Notification script returned exit code 1 and output "Traceback (most recent call last): |
Hi Sorry you're having these difficulties. I'm just curious how you're installing this package? I can see from your error you're locating this in Try extracting the nzb-notify package again; make sure to keep this directory structure (at the bare minimum):
Good luck! |
Okay I re-downloaded and extracted to the C drive under the same path, as seen here I changed SABs script directory to point there https://i.imgur.com/IXKHcIZ.png SAB sees it and lets me select the sabnzbd-notify.py script but I still get the error that there is no module for nzbget https://i.imgur.com/BnLJLEe.png Thanks for your help |
From the command line try typing: pip install pynzbget |
I upgraded pip after I ran that. Now I get a NEW error in SABnzbd when testing the notification, that's progress I guess. see below: Notification script returned exit code 1 and output "Traceback (most recent call last): |
I'm having a bit of a brain fart and forgot that this is all documented on the main page 😉 You need to just install the rest of the requirements, try: pip install -r C:\Tools\nzb-notify\requirements.txt This will install all of the rest of the dependencies you need. |
Dude... I don't know how I got this far and managed to miss that. That did the trick! I'm sorry and thanks for taking the time to help out |
Hah, i feel worse for not telling you this after you first posted! 🙂 I'm glad you're up and going. I'm going to close this ticket now, but feel free to re-open it if you have any more issues (or have a new one!) |
I'm getting the following error when trying to test my notifications through Sabnzbd for Telegram
Notification script returned exit code 1 and output "'"python"' is not recognized as an internal or external command,
operable program or batch file."
If I try to run the script directly through command prompt, I get the following error:
C:\WINDOWS\system32>python C:\Tools\nzb-notify\sabnzbd-notify.py complete 'Hello' 'World' tgram://610278560:AAFFeg-b4GBjUaMyCAyl2XlOKclskODkCdc/90842913
Traceback (most recent call last):
File "C:\Tools\nzb-notify\Notify.py", line 159, in
from nzbget import SCRIPT_MODE
ImportError: No module named nzbget
Not sure where I'm going wrong here. Python is installed and I added it to my PATH environment variable. If I open up command prompt and simply type "python" it shows 2.7.16 is installed
The text was updated successfully, but these errors were encountered: