Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3819 by [email protected]: 500 Internal Server Error
(AttributeError, specifically) in /admin
https://code.google.com/p/reviewboard/issues/detail?id=3819
** Note: This can be resolved by navigating to the user settings page,
opening the "State" dropdown, and removing the "null" from the "Extra Data"
field and replacing with "{}".
This seems like a non-ideal fix for me, as it is not part of the new user
signup flow and seems to be a bug, but hopefully it will get folks working
in the interim**
What version are you running?
ReviewBoard-2.0.15
Django 1.6
Apache MPM-Prefork 2.4
mod_wsgi 3.3
Ubuntu 14.04
What's the URL of the page containing the problem?
/admin/
What steps will reproduce the problem?
1. Create a new user and add them as "staff" and "superuser"
2. Login as newly created user
3. Attempt to access "admin" panel
What is the expected output? What do you see instead?
The Admin panel is expected. Instead, I receive "500 Internal Server Error"
and the log output pasted in "additional information" below.
What operating system are you using? What browser?
OS X 10.10
Chrome 41.0.2272.010
Please provide any additional information below:
2015-03-25 00:25:08,019 - ERROR - - Exception thrown for user myuser at
http://review.mycompanysite.com/admin/
'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/admin/views/decorators.py",
line 17, in _checklogin
return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/views.py",
line 39, in dashboard
primary_widget_positions = profile_data.get('primary_widget_positions')
AttributeError: 'NoneType' object has no attribute 'get'
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.