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
While using this script to fill our Postgresql database, I discovered that whenever duplicates are detected in data_loader.py (line 336), the transaction is not always reset.
So this exception is raised for the next INSERT INTO command:
sqlalchemy.exc.InternalError: (InFailedSqlTransaction) current transaction is aborted, commands ignored until end of transaction block
To solve this I added the following code on line 341:
While using this script to fill our Postgresql database, I discovered that whenever duplicates are detected in
data_loader.py
(line 336), the transaction is not always reset.So this exception is raised for the next INSERT INTO command:
To solve this I added the following code on line 341:
The text was updated successfully, but these errors were encountered: