Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3.ProgrammingError: Cannot operate on a closed database. #21586

Open
marcilj opened this issue May 2, 2024 · 0 comments
Open

sqlite3.ProgrammingError: Cannot operate on a closed database. #21586

marcilj opened this issue May 2, 2024 · 0 comments
Labels
area: storage Related to persistent storage type: troubleshooting Related to debugging and error messages

Comments

@marcilj
Copy link

marcilj commented May 2, 2024

Dagster version

dagster, version 1.6.1

What's the issue?

Everytime I run dagster locally I run into this error.

It doesn't affect dagster, like everything is working as expected, but I wonder why I see that error each time.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jacobmarcil/.local/share/virtualenvs/datateam-dagster-cloud-ln6uzjO0/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 763, in _finalize_fairy
    fairy._reset(pool, transaction_was_reset)
  File "/Users/jacobmarcil/.local/share/virtualenvs/datateam-dagster-cloud-ln6uzjO0/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1038, in _reset
    pool._dialect.do_rollback(self)
  File "/Users/jacobmarcil/.local/share/virtualenvs/datateam-dagster-cloud-ln6uzjO0/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 683, in do_rollback
    dbapi_connection.rollback()
sqlite3.ProgrammingError: Cannot operate on a closed database.
Exception during reset or similar
Traceback (most recent call last):
  File "/Users/jacobmarcil/.local/share/virtualenvs/datateam-dagster-cloud-ln6uzjO0/lib/python3.8/site-packages/dagster/_core/execution/api.py", line 293, in ephemeral_instance_if_missing
    yield ephemeral_instance
GeneratorExit

The same error is shown 9 times.

What did you expect to happen?

Not showing any errors.

How to reproduce?

For me it's running dagster dev or pytest on my dagster project.

Deployment type

Local

Deployment details

No response

Additional information

No response

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

@marcilj marcilj added the type: bug Something isn't working label May 2, 2024
@garethbrickman garethbrickman added area: storage Related to persistent storage type: troubleshooting Related to debugging and error messages and removed type: bug Something isn't working labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: storage Related to persistent storage type: troubleshooting Related to debugging and error messages
Projects
None yet
Development

No branches or pull requests

2 participants