Closed
Bug 609360
Opened 14 years ago
Closed 14 years ago
traceback at /en-US/firefox/ - AssertionError: Cannot filter a query once a slice has been taken.
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
5.12.2
People
(Reporter: krupa.mozbugs, Unassigned)
Details
(Whiteboard: [z])
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-next.allizom.org/en-US/firefox/
traceback details:
Traceback (most recent call last):
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 271, in home
downloads = gs.filter(name='addon_total_downloads').latest()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 395, in latest
return obj.get()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 336, in get
num = len(clone)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 81, in __len__
self._result_cache = list(self.iterator())
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 106, in __iter__
obj = iterator.next()
File "/data/amo_python/www/preview/zamboni/vendor/src/django-cache-machine/caching/base.py", line 169, in fetch_by_id
others = self.filter(pk__in=missed).order_by()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 550, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/db/models/query.py", line 562, in _filter_or_exclude
"Cannot filter a query once a slice has been taken."
AssertionError: Cannot filter a query once a slice has been taken.
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 1•14 years ago
|
||
How did we resolve this problem? Did we revert the commit?
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
•