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

ProgrammingError: SQLite objects created in a thread can only be used by that same thread #59

Open
ReeceTheBeast15 opened this issue Apr 9, 2020 · 0 comments

Comments

@ReeceTheBeast15
Copy link

The origin of the error is traced to line 56. Here it is:

sqlalchemy.exc.ProgrammingError: (sqlite3.ProgrammingError) SQLite objects created in a thread can only be used in that
same thread. The object was created in thread id 8628 and this is thread id 5372.
[SQL: SELECT puppy.name AS puppy_name, puppy.id AS puppy_id, puppy.description AS puppy_description
FROM puppy]
[parameters: [immutabledict({})]]

As a newbie, I find this quite cryptic and am unable to completely deduce what caused this.

Thanks,
Reece

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

No branches or pull requests

1 participant