After a while I'm getting this error periodically:
ERROR:sqlalchemy.queue:A transaction is already begun. Use subtransactions=True to allow subtransactions.
Traceback (most recent call last):
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/frontera/contrib/backends/sqlalchemy/components.py", line 26, in func_wrapper
return func(self, *args, **kwargs)
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/frontera/contrib/backends/sqlalchemy/components.py", line 213, in schedule
self.session.commit()
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 1027, in commit
self.transaction.commit()
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 506, in commit
self.close()
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 588, in close
self.session.begin()
File "/home/yp/FronteraFromScratch/venv/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 941, in begin
"A transaction is already begun. Use "
sqlalchemy.exc.InvalidRequestError: A transaction is already begun. Use subtransactions=True to allow subtransactions.
I'm using PostgreSQL as backend for the workers.
The worker config is:
The requirements.txt is:
After a while I'm getting this error periodically: