Code: Select all
ppStatus = os.environ['NZBPP_STATUS'].startswith('SUCCESS/')
Code: Select all
Executing script NotifyPlex/NotifyPlex.py with command ConnectionTest
NotifyPlex: Fixing permissions for/shared/downloads/usenet/scripts/NotifyPlex/NotifyPlex.py
NotifyPlex: Traceback (most recent call last):
NotifyPlex: File "/shared/downloads/usenet/scripts/NotifyPlex/NotifyPlex.py", line 102, in <module>
NotifyPlex: import requests
NotifyPlex: ModuleNotFoundError: No module named 'requests'
Script NotifyPlex/NotifyPlex.py with command ConnectionTest failed (terminated with unknown status)
You can either configure your Docker container to install the required pip module at container start or download the source for the requests module from https://pypi.org/project/requests/#files and save the enclosing folder entitled requests in the same folder as NotifyPlex.py.mouzzampk2014 wrote: ↑12 Sep 2020, 20:05Hi all,
Need little guidance. I am using linuxserver/nzbget image and getting this message. Thank you
Code: Select all
Executing script NotifyPlex/NotifyPlex.py with command ConnectionTest NotifyPlex: Fixing permissions for/shared/downloads/usenet/scripts/NotifyPlex/NotifyPlex.py NotifyPlex: Traceback (most recent call last): NotifyPlex: File "/shared/downloads/usenet/scripts/NotifyPlex/NotifyPlex.py", line 102, in <module> NotifyPlex: import requests NotifyPlex: ModuleNotFoundError: No module named 'requests' Script NotifyPlex/NotifyPlex.py with command ConnectionTest failed (terminated with unknown status)
I just had a quick look at the image you use. Regarding installed software packages it comes just with the bare minimum. For python not even pip is available. Weird thing is, while building the docker image, it was installed, but got removed as a "development dependency".Need little guidance. I am using linuxserver/nzbget image and getting this message. Thank you
Code: Select all
docker exec -it nzbget apk add py3-pip
Code: Select all
NotifyPlex: AttributeError: module 'requests' has no attribute 'post'
NotifyPlex: except requests.exceptions.RequestException or OSError:
NotifyPlex: During handling of the above exception, another exception occurred:
NotifyPlex: AttributeError: module 'requests' has no attribute 'exceptions'
Script NotifyPlex/NotifyPlex.py with command ConnectionTest failed (terminated with unknown status)
Users browsing this forum: No registered users and 15 guests