You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I don't have access to a Windows machine to be able to debug. That Mesa example already uses Mesa's data collector. What about commenting out all the lines containing self._db in https://github.com/AB-CE/abce/blob/master/abcEconomics/__init__.py, and install from the repo pip install .?
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?
The text was updated successfully, but these errors were encountered: