Closed
Bug 764868
Opened 14 years ago
Closed 14 years ago
[traceback] DatabaseError: (1146, "Table 'addons_dev_allizom_org.ratings' doesn't exist")
Categories
(Marketplace Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2012-06-14
People
(Reporter: vcarciu, Assigned: cvan)
References
(
URL
)
Details
(Keywords: regression)
Prerequisites:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1
Steps to reproduce:
1.Login to MP and go to https://marketplace-dev.allizom.org/en-US/developers/submissions
2.Find an app with an incomplete submission and try to delete it
Expected results:
App is successfully deleted.
Actual results:
"Oops" page is returned and app is not deleted.
Please see screencast for this issue:http://screencast.com/t/gKb2C5CRqJV
Note:
Not reproducible in prod.
Comment 1•14 years ago
|
||
I think this is the matching sentry record:
http://sentry.dmz.phx1.mozilla.com/marketplace-dev/group/457/
Comment 2•14 years ago
|
||
For people who don't have access to Sentry, here is the traceback:
File "django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "amo/decorators.py", line 157, in wrapper
return f(*args, **kw)
File "amo/decorators.py", line 149, in wrapper
return f(*args, **kw)
File "addons/decorators.py", line 32, in wrapper
return f(request, addon, *args, **kw)
File "amo/decorators.py", line 30, in wrapper
return func(request, *args, **kw)
File "mkt/developers/decorators.py", line 50, in wrapper
return fun()
File "mkt/developers/decorators.py", line 29, in <lambda>
*args, **kw)
File "mkt/developers/views.py", line 148, in delete
addon.delete('Removed via devhub')
File "django/db/transaction.py", line 211, in inner
return func(*args, **kwargs)
File "addons/models.py", line 405, in delete
super(Addon, self).delete()
File "django/db/models/base.py", line 583, in delete
collector.collect([self])
File "django/db/models/deletion.py", line 167, in collect
if not sub_objs:
File "django/db/models/query.py", line 113, in __nonzero__
iter(self).next()
File "django/db/models/query.py", line 89, in __iter__
self._iter = self.iterator()
File "caching/base.py", line 136, in iterator
return iter(iterator())
File "queryset_transform/__init__.py", line 20, in iterator
results = list(result_iter)
File "django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "django/db/models/sql/compiler.py", line 695, in results_iter
for rows in self.execute_sql(MULTI):
File "django/db/models/sql/compiler.py", line 750, in execute_sql
cursor.execute(sql, params)
File "django/db/backends/mysql/base.py", line 86, in execute
return self.cursor.execute(query, args)
File "MySQLdb/cursors.py", line 173, in execute
self.errorhandler(self, exc, value)
File "MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
DatabaseError: (1146, "Table 'addons_dev_allizom_org.ratings' doesn't exist")
Updated•14 years ago
|
Summary: [Marketplace] "Oops" page returned when trying to delete an app with incomplete submission. → [traceback] DatabaseError: (1146, "Table 'addons_dev_allizom_org.ratings' doesn't exist")
| Assignee | ||
Comment 3•14 years ago
|
||
FWIW, this has the same bug description as bug 763734 and bug 764889. That's confusing!
Assignee: nobody → cvan
Target Milestone: --- → 2012-06-14
| Assignee | ||
Comment 4•14 years ago
|
||
https://github.com/mozilla/zamboni/commit/1bc3c77
Hat tip to robhudson for the help!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•14 years ago
|
||
Verified as fixed.
Please see screencast: http://screencast.com/t/ii4WMdnMB
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•