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

Error when calling a ticket #113

Closed
ernestoluciano opened this issue Jun 4, 2020 · 4 comments · Fixed by #124
Closed

Error when calling a ticket #113

ernestoluciano opened this issue Jun 4, 2020 · 4 comments · Fixed by #124

Comments

@ernestoluciano
Copy link

ERROR [sqlalchemy.pool.impl.NullPool] Exception during reset or similar
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/pool/base.py", line 671, in _finalize_fairy
fairy._reset(pool)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/pool/base.py", line 858, in _reset
pool._dialect.do_rollback(self)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/default.py", line 502, in do_rollback
dbapi_connection.rollback()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 281473743909344 and this is thread id 281473798139920.
ERROR [sqlalchemy.pool.impl.NullPool] Exception closing connection <sqlite3.Connection object at 0xffffb48a7ab0>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/pool/base.py", line 671, in _finalize_fairy
fairy._reset(pool)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/pool/base.py", line 858, in _reset
pool._dialect.do_rollback(self)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/default.py", line 502, in do_rollback
dbapi_connection.rollback()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 281473743909344 and this is thread id 281473798139920.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/pool/base.py", line 261, in _close_connection
self._dialect.do_close(connection)
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/default.py", line 508, in do_close
dbapi_connection.close()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 281473743909344 and this is thread id 281473798139920.

@mrf345
Copy link
Owner

mrf345 commented Jun 4, 2020

Hi again @ernestoluciano , thanks for reporting #117 #114 #113

This is a duplicate of a known issue that i intend to resolve in #105
I didn't prioritize it intentionally, since it's not a disruptive bug in my testing environment.
Did it cause any defects other than the error log for you ?

@ernestoluciano
Copy link
Author

it create a loop of GET and POST and disconnect the session saying that page doesn't exist

@mrf345
Copy link
Owner

mrf345 commented Jun 4, 2020

Interesting 🤔 well i will give reproducing it on Ubuntu a shot and prioritize a fix for it.
Thanks for taking the time!

mrf345 added a commit that referenced this issue Jun 5, 2020
mrf345 added a commit that referenced this issue Jun 5, 2020
@mrf345
Copy link
Owner

mrf345 commented Jun 5, 2020

Hi @ernestoluciano , i'm about to merge a PR #124 that resolve the issue.
Please let me know if the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants