Page 1 of 1

python libraries not found for nzbtonzbdrone or nzbtomedia

PostPosted: Sun May 31, 2015 11:37 am
by tevren
I'm getting the following stacktrace with nzbget's postprocessing scripts. im using nzbtonzbdrone.py. any ideas?
Code: Select all
INFO  2015-05-30 15:55:26 Executing post-process-script nzbToMedia/nzbToNzbDrone.py for <NZB_DOWNLOADED_FILE>
INFO  2015-05-30 15:55:26 nzbToNzbDrone: Traceback (most recent call last):
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/usr/local/AppCentral/nzbget/nzbget/share/nzbget/scripts/nzbToMedia/nzbToNzbDrone.py", line 234, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     import nzbToMedia
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/nzbToMedia.py", line 504, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     import core
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/core/__init__.py", line 28, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     from core.autoProcess.autoProcessComics import autoProcessComics
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/core/autoProcess/autoProcessComics.py", line 4, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     import requests
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/libs/requests/__init__.py", line 58, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     from . import utils
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/libs/requests/utils.py", line 26, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     from .compat import parse_http_list as _parse_list_header
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/libs/requests/compat.py", line 94, in <module>
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     from .packages.urllib3.packages.ordered_dict import OrderedDict
INFO  2015-05-30 15:55:26 nzbToNzbDrone:   File "/volume1/Download/nzbToMedia/libs/requests/packages/__init__.py", line 83, in load_module
INFO  2015-05-30 15:55:26 nzbToNzbDrone:     raise ImportError("No module named '%s'" % (name,))
INFO  2015-05-30 15:55:26 nzbToNzbDrone: ImportError: No module named 'requests.packages.urllib3'
ERROR 2015-05-30 15:55:26 Post-process-script nzbToMedia/nzbToNzbDrone.py for <NZB_DOWNLOADED_FILE> failed (terminated with unknown status)

Re: python libraries not found for nzbtonzbdrone or nzbtomedia

PostPosted: Sun May 31, 2015 12:00 pm
by tevren
Just as an update for anyone else who had this issue. I updated to the version posted by Clinton.Hall in this thread and everything seems to be working: viewtopic.php?f=60&t=1814&start=20