Hello
please i need help with this script.
I put the Notify.py and the folder nzb.notify-0.6.1 in /scripts.
Now there is Email,Notify,Logger on nzbget Webinterface on the left side.
But if i try Test Server Configuration get following:
Code: Select all
Wed Dec 27 15:58:07 2017 INFO Executing script Notify.py with command TestServers
Wed Dec 27 15:58:07 2017 INFO Notify: Traceback (most recent call last):
Wed Dec 27 15:58:07 2017 INFO Notify: File "/opt/nzbget/scripts/Notify.py", line 309, in <module>
Wed Dec 27 15:58:07 2017 INFO Notify: from nzbget import SCRIPT_MODE
Wed Dec 27 15:58:07 2017 INFO Notify: ImportError: No module named nzbget
Wed Dec 27 15:58:07 2017 ERROR Script Notify.py with command TestServers failed (terminated with unknown status)
My Python Version is Python 2.7.12
Is ther something wrong to put the Notify.py in /scripts outside the nzb.notify-0.6.1 Folder?
Ok I try to copy Notify.py and the Folder Notify to /scripts. Now I got this:
Code: Select all
Executing script Notify.py with command TestServers
Notify: Traceback (most recent call last):
Notify: File "/opt/nzbget/scripts/Notify.py", line 315, in <module>
Notify: from pnotify import *
Notify: File "/opt/nzbget/scripts/Notify/pnotify/__init__.py", line 26, in <module>
Notify: from NotifyBoxcar import NotifyBoxcar
Notify: File "/opt/nzbget/scripts/Notify/pnotify/NotifyBoxcar.py", line 23, in <module>
Notify: import requests
Notify: File "/opt/nzbget/scripts/Notify/requests/__init__.py", line 53, in <module>
Notify: from urllib3.contrib import pyopenssl
Notify: File "/opt/nzbget/scripts/Notify/urllib3/contrib/pyopenssl.py", line 53, in <module>
Notify: import OpenSSL.SSL
Notify: File "/opt/nzbget/scripts/Notify/OpenSSL/__init__.py", line 8, in <module>
Notify: from OpenSSL import rand, crypto, SSL
Notify: File "/opt/nzbget/scripts/Notify/OpenSSL/SSL.py", line 112, in <module>
Notify: if _lib.Cryptography_HAS_SSL_ST:
Notify: AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST'
Script Notify.py with command TestServers failed (terminated with unknown status)
Close
Hope someone can help me.