Closed
Bug 706654
Opened 13 years ago
Closed 13 years ago
[traceback] IntegrityError: (1062, "Duplicate entry '24-33' for key 'addon_id'")
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: krupa.mozbugs, Unassigned)
References
()
Details
Traceback (most recent call last):
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/amo/decorators.py", line 28, in wrapper
return func(request, *args, **kw)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/addons/decorators.py", line 29, in wrapper
return f(request, addon, *args, **kw)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/addons/decorators.py", line 54, in wrapper
return f(request, addon, *args, **kw)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/addons/decorators.py", line 67, in wrapper
return f(request, addon, *args, **kw)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/addons/views.py", line 599, in purchase_thanks
installed = addon.get_or_create_install(user=request.amo_user)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/addons/models.py", line 1121, in get_or_create_install
return self.installed.create(user=user)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/fields/related.py", line 437, in create
return super(RelatedManager, self.db_manager(db)).create(**kwargs)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/manager.py", line 138, in create
return self.get_query_set().create(**kwargs)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/query.py", line 360, in create
obj.save(force_insert=True, using=self.db)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/base.py", line 463, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/base.py", line 556, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/manager.py", line 198, in _insert
return insert_query(self.model, values, **kwargs)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/query.py", line 1448, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/sql/compiler.py", line 806, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/models/sql/compiler.py", line 750, in execute_sql
cursor.execute(sql, params)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/db/backends/mysql/base.py", line 86, in execute
return self.cursor.execute(query, args)
File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry '24-33' for key 'addon_id'")
Comment 1•13 years ago
|
||
If this doesn't work, krupa can your give me screencast/STR please?
https://github.com/mozilla/zamboni/commit/7f8128
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•