doccano / doccano

Open source annotation tool for machine learning practitioners.
MIT License
9.1k stars 1.67k forks source link

sqlite3.IntegrityError: UNIQUE constraint failed: labels_textlabel.example_id, labels_textlabel.user_id, labels_textlabel.text #2306

Open Srikanthv466 opened 6 months ago

Srikanthv466 commented 6 months ago

When working on some task on doccano, getting this below error in the docker logs

return Database.Cursor.execute(self, query, params) sqlite3.IntegrityError: UNIQUE constraint failed: labels_textlabel.example_id, labels_textlabel.user_id, labels_textlabel.text

The Doccano webpage becomes unresponsive. Restarting the Docker container resolves the issue temporarily, allowing access to the Doccano webpage again

Environment: Operating system: Linux Python version: 3.8.13 Installed using docker