caronc / nzb-notify

Push Notifications to a large number of supported services for NZBGet and SABnzbd (based on Apprise)
GNU General Public License v3.0
129 stars 15 forks source link

sabnzbd notification to telegram gives an error #34

Closed keppo070 closed 6 years ago

keppo070 commented 6 years ago

I setup a bot for notification. I have put the scripts in the correct folder. also the folder copied t .sabnzbd/scripts

In sabnzbd chose sabnzbd-notify in parameters tgram:///

When i try test-notification an error occures

Notification script returned exit code 1 and output "Traceback (most recent call last): File "/home/patrick/.sabnzbd/scripts/Notify.py", line 355, in from pnotify import * File "/home/patrick/.sabnzbd/scripts/Notify/pnotify/init.py", line 26, in from .NotifyBoxcar import NotifyBoxcar File "/home/patrick/.sabnzbd/scripts/Notify/pnotify/NotifyBoxcar.py", line 23, in import requests File "/home/patrick/.sabnzbd/scripts/Notify/requests/init.py", line 53, in from urllib3.contrib import pyopenssl File "/home/patrick/.sabnzbd/scripts/Notify/urllib3/contrib/pyopenssl.py", line 53, in import OpenSSL.SSL File "/home/patrick/.sabnzbd/scripts/Notify/OpenSSL/init.py", line 8, in from OpenSSL import crypto, SSL File "/home/patrick/.sabnzbd/scripts/Notify/OpenSSL/SSL.py", line 115, in if _lib.Cryptography_HAS_SSL_ST: AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST' "

keppo070 commented 6 years ago

i noticed a smiliar in error in #13 In the messages there is a comment pip freeze | grep -iE 'crypto|ssl'

it seems i did not have pyopenssl installed. I use pip install pyopenssl and it seems to work now.