I have a clean install of v2.0.11 and everything seems well in the admin 
UI. but when I (as the default admin account) go to the 
http://reviews.example.com/dashboard/, I get the following error:

Something broke! (Error 500) 

It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator. 

and the following error can be found in the log file:

and I create a new account and have got the same error. 

and I notice if the user post a review quest and then go to 
http://reviews.example.com/dashboard/, it works!!! 

It seems to happen if the user have no any review request. 

2015-01-12 13:27:52,851 - ERROR -  - Exception thrown for user admin at 

get() returned more than one LocalSiteProfile -- it returned 2!
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", 
line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
"/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 
22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/reviewboard/site/decorators.py", 
line 35, in _check
    return view_func(request, local_site=local_site, *args, **kwargs)
"/usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py", line 
44, in _check_valid_prefs
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/views.py", 
line 58, in dashboard
    grid = DashboardDataGrid(request, local_site=local_site)
  File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/grids.py", 
line 204, in __init__
  File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 
154, in get_or_create
    return self.get_queryset().get_or_create(**kwargs)
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
376, in get_or_create
    return self.get(**lookup), False
  File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 
313, in get
    (self.model._meta.object_name, num))
MultipleObjectsReturned: get() returned more than one LocalSiteProfile -- 
it returned 2!

Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
Happy user? Let us know at http://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to