Skip to content

Error when running mesa_example: sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. #13

Description

@andrewchch

Hi, I'm trying to run mesa_example/start.py but get this error regardless of how I run it (either through Pycharm or command prompt):

Traceback (most recent call last): File "C:\Users\Andrew\PycharmProjects\abce\venv\Lib\site-packages\sqlalchemy\pool\base.py", line 377, in _close_connection self._dialect.do_terminate(connection) File "C:\Users\Andrew\PycharmProjects\abce\venv\Lib\site-packages\sqlalchemy\engine\default.py", line 698, in do_terminate self.do_close(dbapi_connection) File "C:\Users\Andrew\PycharmProjects\abce\venv\Lib\site-packages\sqlalchemy\engine\default.py", line 701, 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 16296 and this is thread id 26788.

Any ideas?

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