error in my SQLAlchemy connection

4 views
Skip to first unread message

Gaurav Kumar

unread,
Jun 17, 2020, 8:11:51 AM6/17/20
to frontera
i am using your github repository examples 

python version is 3.8

we are using distributed archtecture of frontera with zeromq and sqlite

zeromq broker , crawler are  working fine,

we are facing some problems in the database connection , the data is not getting injected and we checked the table is not getting created.

it is showing these errors-


dbapi_connection.rollback()
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 139795331745536 and this is thread id 139795434080064.
(Background on this error at: http://sqlalche.me/e/f405)

2020-06-17 17:37:00,073 ERROR    sqlalchemy.queue This Connection is closed

please if anyone can help me .

T.Hanks in advance



Reply all
Reply to author
Forward
0 new messages