Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully tag already tagged batches #107

Open
wetneb opened this issue May 22, 2024 · 0 comments
Open

Gracefully tag already tagged batches #107

wetneb opened this issue May 22, 2024 · 0 comments

Comments

@wetneb
Copy link
Member

wetneb commented May 22, 2024

[2024-05-22 08:19:23,096: ERROR/ForkPoolWorker-6] Task inspect_batches[cea9c6df-9e1b-4c58-8843-a1e05e29ff1b] raised unexpected: IntegrityError(1062, "Duplicate entry 'prop-P1545-1967099' for key 'tagging_tag_batches_tag_id_batch_id_3fdf11f1_uniq'")
Traceback (most recent call last):
  File "/data/project/editgroups/www/python/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/project/editgroups/www/python/venv/lib/python3.11/site-packages/django/db/backends/mysql/base.py", line 76, in execute
    return self.cursor.execute(query, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/project/editgroups/www/python/venv/lib/python3.11/site-packages/mysqlclient-2.2.1-py3.11-linux-x86_64.egg/MySQLdb/cursors.py", line 179, in execute
    res = self._query(mogrified_query)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/project/editgroups/www/python/venv/lib/python3.11/site-packages/mysqlclient-2.2.1-py3.11-linux-x86_64.egg/MySQLdb/cursors.py", line 330, in _query
    db.query(q)
  File "/data/project/editgroups/www/python/venv/lib/python3.11/site-packages/mysqlclient-2.2.1-py3.11-linux-x86_64.egg/MySQLdb/connections.py", line 257, in query
    _mysql.connection.query(self, query)
MySQLdb.IntegrityError: (1062, "Duplicate entry 'prop-P1545-1967099' for key 'tagging_tag_batches_tag_id_batch_id_3fdf11f1_uniq'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant