Last active
October 29, 2024 22:06
-
-
Save purarue/58f0b9f9dbcfeb970270e7fba99604d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ERROR 2023-09-21 19:23:42,017 my.time.tz.via_location __init__.py:283 ] [my.time.tz.via_location:_iter_tzs] error while setting up cache, falling back to non-cached version | |
[ERROR 2023-09-21 19:23:42,017 my.time.tz.via_location __init__.py:284 ] [my.time.tz.via_location:_iter_tzs] (sqlite3.ProgrammingError) Cannot operate on a closed database. | |
(Background on this error at: https://sqlalche.me/e/14/f405) | |
Traceback (most recent call last): | |
File "/home/username/.local/lib/python3.11/site-packages/cachew/__init__.py", line 815, in cachew_wrapper | |
yield from cached_items() | |
GeneratorExit | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1057, in _rollback_impl | |
self.engine.dialect.do_rollback(self.connection) | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 683, in do_rollback | |
dbapi_connection.rollback() | |
sqlite3.ProgrammingError: Cannot operate on a closed database. | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/home/username/.local/lib/python3.11/site-packages/cachew/__init__.py", line 809, in cachew_wrapper | |
with BackendCls(cache_path=db_path, logger=logger) as backend: | |
File "/home/username/.local/lib/python3.11/site-packages/cachew/backend/sqlite.py", line 79, in __exit__ | |
self.transaction.__exit__(*args) | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/util.py", line 249, in __exit__ | |
self.rollback() | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2438, in rollback | |
self._do_rollback() | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2642, in _do_rollback | |
self._close_impl(try_deactivate=True) | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2625, in _close_impl | |
self._connection_rollback_impl() | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2617, in _connection_rollback_impl | |
self.connection._rollback_impl() | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1059, in _rollback_impl | |
self._handle_dbapi_exception(e, None, None, None, None) | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2124, in _handle_dbapi_exception | |
util.raise_( | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/util/compat.py", line 208, in raise_ | |
raise exception | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1057, in _rollback_impl | |
self.engine.dialect.do_rollback(self.connection) | |
File "/home/username/.local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 683, in do_rollback | |
dbapi_connection.rollback() | |
sqlalchemy.exc.ProgrammingError: (sqlite3.ProgrammingError) Cannot operate on a closed database. | |
(Background on this error at: https://sqlalche.me/e/14/f405) | |
Exception ignored in: <generator object cachew_wrapper at 0x7f2174710be0> | |
Traceback (most recent call last): | |
File "/home/username/.local/lib/python3.11/site-packages/cachew/__init__.py", line 840, in cachew_wrapper | |
File "/home/username/Repos/HPI-karlicoss/my/time/tz/via_location.py", line 188, in _iter_tzs | |
File "/home/username/Repos/HPI-karlicoss/my/time/tz/via_location.py", line 135, in _iter_local_dates | |
File "/home/username/Repos/HPI-karlicoss/my/time/tz/via_location.py", line 68, in _timezone_finder | |
ImportError: sys.meta_path is None, Python is likely shutting down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment