Closed
Bug 556798
Opened 14 years ago
Closed 14 years ago
[Trace] "Cannot use None as a query value" on production API
Categories
(addons.mozilla.org Graveyard :: API, defect, P3)
addons.mozilla.org Graveyard
API
Tracking
(Not tracked)
VERIFIED
FIXED
5.9
People
(Reporter: clouserw, Assigned: davedash)
Details
/en-US/firefox/api/1.2/list/featured/all/5/WINNT/luan-shi-customed Traceback (most recent call last): File "/data/virtualenvs/zamboni/lib/python2.6/site-packages/django/core/handlers/base.py", line 101, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/amo_python/www/services.prod/zamboni/apps/api/urls.py", line 9, in <lambda> class_view = lambda x: lambda *args, **kwargs: x()(*args, **kwargs) File "/data/amo_python/www/services.prod/zamboni/apps/api/views.py", line 76, in __call__ return self.process_request(*args, **kwargs) File "/data/amo_python/www/services.prod/zamboni/apps/api/views.py", line 203, in process_request self.request.APP, version) File "/data/amo_python/www/services.prod/zamboni/apps/addons/models.py", line 78, in compatible_with_app version_int).distinct() File "/data/virtualenvs/zamboni/lib/python2.6/site-packages/django/db/models/query.py", line 545, in filter return self._filter_or_exclude(False, *args, **kwargs) File "/data/virtualenvs/zamboni/lib/python2.6/site-packages/django/db/models/query.py", line 563, in _filter_or_exclude clone.query.add_q(Q(*args, **kwargs)) File "/data/virtualenvs/zamboni/lib/python2.6/site-packages/django/db/models/sql/query.py", line 1100, in add_q can_reuse=used_aliases) File "/data/virtualenvs/zamboni/lib/python2.6/site-packages/django/db/models/sql/query.py", line 969, in add_filter raise ValueError("Cannot use None as a query value") ValueError: Cannot use None as a query value
Reporter | ||
Comment 1•14 years ago
|
||
https://services.addons.mozilla.org/en-US/firefox/api/1.2/list/featured/all/5/WINNT/luan-shi-customed no longer gives this error. I suspect it was caused by all the sphinx problems we've had.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 2•14 years ago
|
||
Verified FIXED on https://services.addons.mozilla.org/en-US/firefox/api/1.2/list/featured/all/5/WINNT/luan-shi-customed. I'll keep an eye on it, and it if reoccurs, I'll reopen.
Status: RESOLVED → VERIFIED
Updated•8 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
•