Closed Bug 617444 Opened 15 years ago Closed 15 years ago

[Step 2][traceback] IntegrityError: (1062, "Duplicate entry 'weatherbug' for key 4")

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 617404
5.12.5

People

(Reporter: krupa.mozbugs, Unassigned)

References

()

Details

(Whiteboard: [z])

Attachments

(1 file)

30.69 KB, application/x-xpinstall
Details
Attached file test file
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 steps to reproduce: 1. Load https://addons.allizom.org/z/en-US/developers/addon/submit/2 2. Upload the test file traceback details: File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/base.py", line 454, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/base.py", line 547, in save_base result = manager._insert(values, return_id=update_pk, using=using) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/manager.py", line 195, in _insert return insert_query(self.model, values, **kwargs) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 1401, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/sql/compiler.py", line 786, in execute_sql cursor = super(SQLInsertCompiler, self).execute_sql(None) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/sql/compiler.py", line 730, in execute_sql cursor.execute(sql, params) File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/backends/mysql/base.py", line 86, in execute return self.cursor.execute(query, args) File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute self.errorhandler(self, exc, value) File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue IntegrityError: (1062, "Duplicate entry 'weatherbug' for key 4") <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'platform': [u'1'], u'csrfmiddlewaretoken': [u'fbd889e85157447e759a218be0316c8d'], u'upload': [u'eeac7507654a4cdc825a22e86a326d24']}>,
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: