Closed
Bug 707229
Opened 13 years ago
Closed 13 years ago
[Traceback] ValueError: No JSON object could be decoded
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P5)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
6.3.8
People
(Reporter: krupa.mozbugs, Assigned: robhudson)
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 49, in wrapper
return f(request, *args, **kw)
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/users/views.py", line 325, in browserid_login
assertion=request.POST['assertion'])
File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/users/views.py", line 290, in browserid_authenticate
result = backend.verify(assertion, settings.SITE_URL)
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django-browserid/django_browserid/auth.py", line 65, in verify
'audience': audience
File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django-browserid/django_browserid/auth.py", line 57, in _verify_http_request
return json.loads(content)
File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Comment 1•13 years ago
|
||
steps to reproduce?
Assignee | ||
Comment 2•13 years ago
|
||
I don't know what was causing it. The django_browserid project accepted my pull request to wrap this in a try/except block and add logging when it does happen.
I have not updated vendor with this change, however.
Comment 3•13 years ago
|
||
Go for it and lets close this
Assignee | ||
Comment 5•13 years ago
|
||
Got back on mozilla branch:
https://github.com/mozilla/zamboni/commit/1fe573b
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
•