Skip to content

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

Description

@ReeceTheBeast15

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions