Files
janssen/Outlook/import_err.txt
T
2026-06-04 11:40:45 +02:00

53 lines
4.1 KiB
Plaintext

Traceback (most recent call last):
File "U:\PythonProject\Janssen\Outlook\import_emails_to_mongo_v1.0.py", line 370, in <module>
main()
File "U:\PythonProject\Janssen\Outlook\import_emails_to_mongo_v1.0.py", line 285, in main
ensure_indexes(col)
File "U:\PythonProject\Janssen\Outlook\import_emails_to_mongo_v1.0.py", line 249, in ensure_indexes
col.create_index([("message_id", ASCENDING)], unique=True, sparse=True,
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\collection.py", line 2391, in create_index
return (self._create_indexes([index], session, **cmd_options))[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\_csot.py", line 125, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\collection.py", line 2273, in _create_indexes
return self.database.client._retryable_write(False, inner, session, _Op.CREATE_INDEXES)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2113, in _retryable_write
return self._retry_with_session(retryable, func, s, bulk, operation, operation_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 1986, in _retry_with_session
return self._retry_internal(
^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\_csot.py", line 125, in csot_wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2038, in _retry_internal
).run()
^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2811, in run
res = self._read() if self._is_read else self._write()
^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2992, in _write
self._server = self._get_server()
^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2975, in _get_server
return self._client._select_server(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 1851, in _select_server
server = topology.select_server(
^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 428, in select_server
server = self._select_server(
^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 402, in _select_server
servers = self.select_servers(
^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 298, in select_servers
server_descriptions = self._select_servers_loop(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "U:\PythonProject\Janssen\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 359, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [WinError 10061] No connection could be made because the target machine actively refused it (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 6a2125ac7fc169e1cd7044c5, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [WinError 10061] No connection could be made because the target machine actively refused it (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>