Closed
Bug 855340
Opened 12 years ago
Closed 11 years ago
[traceback] AttributeError: 'WSGIRequest' object has no attribute 'get' / django.forms.widgets in value_from_datadict
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cvan, Assigned: davidbgk)
References
()
Details
(Whiteboard: [contribute])
http://sentry.dmz.phx1.mozilla.com/addons/marketplace-dev/group/12616/
AttributeError: 'WSGIRequest' object has no attribute 'get'
Stacktrace (most recent call last):
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 "amo/decorators.py", line 32, in wrapper
return func(request, *args, **kw)
File "amo/decorators.py", line 32, in wrapper
return func(request, *args, **kw)
File "amo/decorators.py", line 62, in wrapper
return f(request, *args, **kw)
File "apps/users/views.py", line 64, in wrapper
return f(request, user, *args, **kw)
File "apps/users/views.py", line 254, in admin_edit
{'form': form, 'amouser': user})
File "jingo/__init__.py", line 80, in render
rendered = render_to_string(request, template, context)
File "jingo/__init__.py", line 98, in render_to_string
return template.render(**get_context())
File "jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/data/www/addons-dev.allizom.org/zamboni/apps/users/templates/users/edit.html", line 3, in top-level template code
{% from 'devhub/includes/macros.html' import some_html_tip %}
File "/data/www/addons-dev.allizom.org/zamboni/templates/impala/base_shared.html", line 4, in top-level template code
{% extends 'impala/base.html' %}
File "/data/www/addons-dev.allizom.org/zamboni/templates/impala/base.html", line 58, in top-level template code
{% block site_header %}
File "/data/www/addons-dev.allizom.org/zamboni/templates/impala/base.html", line 86, in block "site_header"
{% block search_form %}
File "/data/www/addons-dev.allizom.org/zamboni/templates/impala/base.html", line 89, in block "search_form"
{% include 'impala/search.html' %}
File "/data/www/addons-dev.allizom.org/zamboni/templates/impala/search.html", line 11, in top-level template code
{% if search_form.cat.value() %}
File "django/forms/forms.py", line 494, in value
self.data, self.form.initial.get(self.name, self.field.initial)
File "django/forms/forms.py", line 480, in _data
return self.field.widget.value_from_datadict(self.form.data, self.form.files, self.html_name)
File "django/forms/widgets.py", line 205, in value_from_datadict
return data.get(name, None)
| Reporter | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → 2013-03-28
Updated•12 years ago
|
Target Milestone: 2013-03-28 → 2013-04-04
| Reporter | ||
Updated•12 years ago
|
Target Milestone: 2013-04-04 → 2013-04-11
| Reporter | ||
Updated•12 years ago
|
Status: ASSIGNED → NEW
Updated•12 years ago
|
Target Milestone: 2013-04-11 → ---
Comment 1•12 years ago
|
||
nice try cvan
Component: Consumer Pages → Public Pages
Product: Marketplace → addons.mozilla.org
Updated•12 years ago
|
Whiteboard: [contribute]
| Reporter | ||
Updated•12 years ago
|
Assignee: cvan → nobody
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → david
| Assignee | ||
Comment 2•11 years ago
|
||
I can reach for instance https://addons-dev.allizom.org/en-US/firefox/users/edit/5687704 without any error. Do you have any STR cvan? It's hard to guess which performed action lead to the pasted traceback.
Flags: needinfo?(cvan)
| Reporter | ||
Comment 3•11 years ago
|
||
I don't. I don't know how this traceback was triggered, unfortunately. :'(
Flags: needinfo?(cvan)
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
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
•