Replies: 1 comment
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all
can someone help me
always get the following message :
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/sync.py", line 28, in read
return self._sock.recv(max_bytes)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 261, in handle_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 245, in handle_request
response = connection.handle_request(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 96, in handle_request
return self._connection.handle_request(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/http11.py", line 120, in handle_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/http11.py", line 99, in handle_request
) = self._receive_response_headers(**kwargs)
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/http11.py", line 163, in _receive_response_headers
event = self._receive_event(timeout=timeout)
File "/usr/local/lib/python3.9/site-packages/httpcore/_sync/http11.py", line 199, in _receive_event
data = self._network_stream.read(
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/sync.py", line 28, in read
return self._sock.recv(max_bytes)
File "/usr/local/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/paperless/src/paperless_mail/parsers.py", line 329, in generate_pdf_from_mail
response = httpx.post(
File "/usr/local/lib/python3.9/site-packages/httpx/_api.py", line 304, in post
return request(
File "/usr/local/lib/python3.9/site-packages/httpx/_api.py", line 100, in request
return client.request(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 814, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 901, in send
response = self._send_handling_auth(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/paperless/src/documents/consumer.py", line 382, in try_consume_file
document_parser.parse(self.path, mime_type, self.filename)
File "/usr/src/paperless/src/paperless_mail/parsers.py", line 147, in parse
self.archive_path = self.generate_pdf(mail)
File "/usr/src/paperless/src/paperless_mail/parsers.py", line 187, in generate_pdf
mail_pdf_file = self.generate_pdf_from_mail(mail_message)
File "/usr/src/paperless/src/paperless_mail/parsers.py", line 337, in generate_pdf_from_mail
raise ParseError(
documents.parsers.ParseError: Error while converting email to PDF: timed out
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions