Page 1 of 1

(SOLVED)nzbtosickbeard failure

PostPosted: Fri Aug 21, 2015 1:52 am
by Duzii
Hi

Recently the NZBTOSICKBEARD script has started failing for me, please see below. What could be the issue? (I have replaced the filename with XXXXXXXXX)


Code: Select all
ERROR   Wed Aug 19 2015 22:52:17   Post-process-script nzbToMedia/nzbToSickBeard.py for XXXXXXXXX failed (terminated with unknown status)
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: ImportError: No module named 'requests.packages.urllib3'
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: raise ImportError("No module named '%s'" % (name,))
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/libs/requests/packages/__init__.py", line 83, in load_module
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: from .packages.urllib3.packages.ordered_dict import OrderedDict
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/libs/requests/compat.py", line 94, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: from .compat import parse_http_list as _parse_list_header
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/libs/requests/utils.py", line 26, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: from . import utils
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/libs/requests/__init__.py", line 58, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: import requests
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/autoProcess/autoProcessComics.py", line 4, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: from core.autoProcess.autoProcessComics import autoProcessComics
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/__init__.py", line 28, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: import core
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/volume1/Download/nzbToMedia/nzbToMedia.py", line 503, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: import nzbToMedia
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: File "/usr/local/AppCentral/nzbget/nzbget/scripts/nzbToMedia/nzbToSickBeard.py", line 249, in <module>
INFO   Wed Aug 19 2015 22:52:17   nzbToSickBeard: Traceback (most recent call last):

Re: nzbtosickbeard failure

PostPosted: Fri Aug 21, 2015 5:09 am
by clinton.hall
If you updated to latest Python before I made the latest change to nzbToMedia, then you need to manually update.

Via ssh, cd into nzbToMedia and
git pull

Re: nzbtosickbeard failure

PostPosted: Fri Aug 21, 2015 5:14 pm
by Duzii
Hi Clinton,

I tried that and now I got some new details in the log but still the script fails

Code: Select all
ERROR   Fri Aug 21 2015 10:55:11   Post-process-script nzbToMedia/nzbToSickBeard.py for XXXXXXXX failed (terminated with unknown status)
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: ImportError: /usr/local/AppCentral/python/lib/python2.7/lib-dynload/_ssl.so: undefined symbol: SSL_CTX_set_alpn_protos
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: import _ssl # if we can't import it, let the error propagate
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/usr/local/AppCentral/python/lib/python2.7/ssl.py", line 97, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: import ssl
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/synchronousdeluge/transfer.py", line 4, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: from transfer import DelugeTransfer
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/synchronousdeluge/client.py", line 8, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: from core.synchronousdeluge.client import DelugeClient
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/nzbToMediaUtil.py", line 20, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: from core.nzbToMediaUtil import convert_to_ascii, remoteDir, server_responding
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/autoProcess/autoProcessComics.py", line 6, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: from core.autoProcess.autoProcessComics import autoProcessComics
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/core/__init__.py", line 28, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: import core
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/volume1/Download/nzbToMedia/nzbToMedia.py", line 503, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: import nzbToMedia
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: File "/usr/local/AppCentral/nzbget/nzbget/scripts/nzbToMedia/nzbToSickBeard.py", line 249, in <module>
INFO   Fri Aug 21 2015 10:55:11   nzbToSickBeard: Traceback (most recent call last):
INFO   Fri Aug 21 2015 10:55:08   Executing post-process-script nzbToMedia/nzbToSickBeard.py for XXXXXXXX

Re: nzbtosickbeard failure

PostPosted: Fri Aug 21, 2015 7:24 pm
by clinton.hall
ok... I assumed you had already resolved that issue (since that error should have appeared before the requests error)

The issue here is the new version of Python fails to load the ssl module. Asustor has a new version on the way to fix this...

For now, use this fix on x86_64 systems http://forum.asustor.com/viewtopic.php?f=51&t=6161&start=10#p19190

Re: nzbtosickbeard failure

PostPosted: Sat Aug 22, 2015 5:03 am
by Duzii
Thanks for your help, the updated python version seems to have fixed the issue