Trying to install autoscan from https://github.com/NiNiyas/autoscan and stuck with no idea what the problem is.

This page summarizes the projects mentioned and recommended in the original post on /r/PleX

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • autoscan

    Fork of https://github.com/l3uddz/plex_autoscan with Jellyfin and Emby support. (by NiNiyas)

  • In the autoscan requirements.txt file urllib3 doesn't have any version pin so it should already be pulling in the latest version when you run the pip install command, but this is something you could double check. You could run the command:

  • urllib3

    urllib3 is a user-friendly HTTP client library for Python

  • This error is coming from Python, it's telling us Python is failing to import the urllib3 library, these lines here are important:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • requests

    A simple, yet elegant, HTTP library.

  • Looking around for similar errors I found this issue where they recommended trying to use a newer version of the urllib3 library.

  • plex_autoscan

    Discontinued Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.

  • 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --config=config/config.json 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --logfile=autoscan.log 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --loglevel=INFO 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --queuefile=queue.db 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --cachefile=cache.db 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --config=config/config.json 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --logfile=autoscan.log 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --loglevel=INFO 2023-03-06 08:29:39,971 - INFO - CONFIG [140352731267072]: Using default setting --queuefile=queue.db 2023-03-06 08:29:39,971 - INFO - CONFIG [140352731267072]: Using default setting --cachefile=cache.db ___ __ / | __ __/ /_____ ______________ _____ / /| |/ / / / __/ __ \/ ___/ ___/ __ `/ __ \ / ___ / /_/ / /_/ /_/ (__ ) /__/ /_/ / / / / /_/ |_\__,_/\__/\____/____/\___/\__,_/_/ /_/ 2023-03-06 08:29:40,097 - INFO - AUTOSCAN [140352731267072]: ######################################################################### # Title: Plex Autoscan # # Author: l3uddz # # URL: https://github.com/l3uddz/plex_autoscan # # -- # # Part of the Cloudbox project: https://cloudbox.works # ######################################################################### # GNU General Public License v3.0 # ######################################################################### 2023-03-06 08:29:40,102 - INFO - PLEX [140352731267072]: Requesting section info from Plex... 2023-03-06 08:29:40,119 - ERROR - PLEX [140352731267072]: Issue encountered when attempting to list detailed sections info. Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse response.begin() File "/usr/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status() File "/usr/lib/python3.10/http/client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/lib/python3.10/dist-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse response.begin() File "/usr/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status() File "/usr/lib/python3.10/http/client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without" urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/autoscan/plex.py", line 25, in show_detailed_sections_info resp = requests.get('%s/library/sections/all?X-Plex-Token=%s' % ( File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

  • Cloudbox

    Ansible-based solution for rapidly deploying a Docker containerized cloud media server.

  • 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --config=config/config.json 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --logfile=autoscan.log 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --loglevel=INFO 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --queuefile=queue.db 2023-03-06 08:29:39,951 - INFO - CONFIG [140352731267072]: Using default setting --cachefile=cache.db 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --config=config/config.json 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --logfile=autoscan.log 2023-03-06 08:29:39,970 - INFO - CONFIG [140352731267072]: Using default setting --loglevel=INFO 2023-03-06 08:29:39,971 - INFO - CONFIG [140352731267072]: Using default setting --queuefile=queue.db 2023-03-06 08:29:39,971 - INFO - CONFIG [140352731267072]: Using default setting --cachefile=cache.db ___ __ / | __ __/ /_____ ______________ _____ / /| |/ / / / __/ __ \/ ___/ ___/ __ `/ __ \ / ___ / /_/ / /_/ /_/ (__ ) /__/ /_/ / / / / /_/ |_\__,_/\__/\____/____/\___/\__,_/_/ /_/ 2023-03-06 08:29:40,097 - INFO - AUTOSCAN [140352731267072]: ######################################################################### # Title: Plex Autoscan # # Author: l3uddz # # URL: https://github.com/l3uddz/plex_autoscan # # -- # # Part of the Cloudbox project: https://cloudbox.works # ######################################################################### # GNU General Public License v3.0 # ######################################################################### 2023-03-06 08:29:40,102 - INFO - PLEX [140352731267072]: Requesting section info from Plex... 2023-03-06 08:29:40,119 - ERROR - PLEX [140352731267072]: Issue encountered when attempting to list detailed sections info. Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse response.begin() File "/usr/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status() File "/usr/lib/python3.10/http/client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/local/lib/python3.10/dist-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/local/lib/python3.10/dist-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "/usr/local/lib/python3.10/dist-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse response.begin() File "/usr/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status() File "/usr/lib/python3.10/http/client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without" urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/autoscan/plex.py", line 25, in show_detailed_sections_info resp = requests.get('%s/library/sections/all?X-Plex-Token=%s' % ( File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.10/dist-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts