View Single Post
Old 07-09-2021, 02:56 AM   #175
AlaVander
Enthusiast
AlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 25
Karma: 12676
Join Date: Jan 2020
Device: none
This error is always encountered when creating X-ray. It seems to be caused by the network agent, but you know, I need to access wiki through the network agent.


Code:
calibre, version 5.22.1 (win32, embedded-python: True)
subprocess.run failed: ERROR: Exception: Traceback (most recent call last): File "D:\Program Files\Python\lib\site-packages\pip\_internal\cli\base_command.py", line 180, in _main status = self.run(options, args) File "D:\Program Files\Python\lib\site-packages\pip\_internal\cli\req_command.py", line 205, in wrapper return func(self, options, args) File "D:\Program Files\Python\lib\site-packages\pip\_internal\commands\install.py", line 318, in run requirement_set = resolver.resolve( File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 103, in resolve r = self.factory.make_requirement_from_install_req( File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 429, in make_requirement_from_install_req cand = self._make_candidate_from_link( File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 200, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 306, in __init__ super().__init__( File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 151, in __init__ self.dist = self._prepare() File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 234, in _prepare dist = self._prepare_distribution() File "D:\Program Files\Python\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 317, in _prepare_distribution return self._factory.preparer.prepare_linked_requirement( File "D:\Program Files\Python\lib\site-packages\pip\_internal\operations\prepare.py", line 508, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "D:\Program Files\Python\lib\site-packages\pip\_internal\operations\prepare.py", line 550, in _prepare_linked_requirement local_file = unpack_url( File "D:\Program Files\Python\lib\site-packages\pip\_internal\operations\prepare.py", line 239, in unpack_url file = get_http_url( File "D:\Program Files\Python\lib\site-packages\pip\_internal\operations\prepare.py", line 102, in get_http_url from_path, content_type = download(link, temp_dir.path) File "D:\Program Files\Python\lib\site-packages\pip\_internal\network\download.py", line 144, in __call__ resp = _http_get_download(self._session, link) File "D:\Program Files\Python\lib\site-packages\pip\_internal\network\download.py", line 125, in _http_get_download resp = session.get(target_url, headers=HEADERS, stream=True) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\requests\sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "D:\Program Files\Python\lib\site-packages\pip\_internal\network\session.py", line 449, in request return super().request(method, url, *args, **kwargs) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\requests\sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\requests\sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 53, in send resp = super(CacheControlAdapter, self).send(request, **kw) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\requests\adapters.py", line 439, in send resp = conn.urlopen( File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 696, in urlopen self._prepare_proxy(conn) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 964, in _prepare_proxy conn.connect() File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\connection.py", line 359, in connect conn = self._connect_tls_proxy(hostname, conn) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\connection.py", line 500, in _connect_tls_proxy return ssl_wrap_socket( File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py", line 432, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls) File "D:\Program Files\Python\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py", line 474, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock) File "D:\Program Files\Python\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\Program Files\Python\lib\ssl.py", line 997, in _create raise ValueError("check_hostname requires server_hostname") ValueError: check_hostname requires server_hostname 

Starting job: Generating X-Ray for The Call of the Wild 
Job: "Generating X-Ray for The Call of the Wild" failed with error: 
Traceback (most recent call last):
  File "calibre\gui2\threaded_jobs.py", line 83, in start_work
  File "calibre_plugins.worddumb.parse_job", line 17, in do_job
  File "calibre_plugins.worddumb.unzip", line 31, in install_libs
  File "calibre_plugins.worddumb.unzip", line 104, in pip_install
  File "subprocess.py", line 512, in run
subprocess.CalledProcessError: Command '['py', '-m', 'pip', 'install', '-t', WindowsPath('C:/Users/Alafande/AppData/Roaming/calibre/plugins/worddumb-libs/en_core_web_sm_3.1.0'), '--no-deps', 'https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.1.0/en_core_web_sm-3.1.0-py3-none-any.whl']' returned non-zero exit status 2.
 
Called with args: ((1486, 'KFX', 'BB2Z3HAZBJ', 'E:\\Calibre 书库\\Jack London\\The Call of the Wild (1486)\\The Call of the Wild - Jack London.kfx', <calibre.ebooks.metadata.book.base.Metadata object at 0x0000029D0689D310>, {'spacy': 'en_core_web_sm', 'wiki': 'en'}), False, True) {'notifications': <queue.Queue object at 0x0000029D0692B220>, 'abort': <threading.Event object at 0x0000029D0692B580>, 'log': <calibre.utils.logging.GUILog object at 0x0000029D0692B670>}
AlaVander is offline   Reply With Quote