245: Error viewing the dashboard
- ThirdParty
- Review Board
Micha*****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
|
|
Oct. 12, 2007 |
What's the URL of the page containing the problem? http://reviewboard.eng.vmware.com/dashboard/ What steps will reproduce the problem? 1. Login as me (mvander**b*@*vmware) What is the expected output? What do you see instead? A page, instead I see the error: AssertionError at /dashboard/ get() returned more than one ReviewRequestVisit -- it returned 2! Lookup parameters were {'user': <User: mvanderb>} Request Method: GET Request URL: http://reviewboard.eng.vmware.com/dashboard/ Exception Type: AssertionError Exception Value: get() returned more than one ReviewRequestVisit -- it returned 2! Lookup parameters were {'user': <User: mvanderb>} Exception Location: /usr/lib/python2.5/site- packages/django/db/models/query.py in get, line 264 Python Executable: /usr/bin/python Python Version: 2.5.1 Caught an exception while rendering: get() returned more than one ReviewRequestVisit -- it returned 2! Lookup parameters were {'user': <User: mvanderb>} 56 <tr class="headers"> 57 <th><img src="/images/convo.png" width="18" height="16" alt="New Replies" /></th> 58 <th><img src="/images/star_on.png" width="16" height="15" alt="Starred" /></th> 59 {% column_header "summary" "Summary" %} 60 {% column_header "submitter" "Submitter" %} 61 {% column_header "time_added" "Posted" %} 62 {% column_header "last_updated" "Last Updated" %} 63 </tr> 64 </thead> 65 <tbody> 66 {% for review_request in review_request_list %} 67 <tr class="{% cycle odd,even %}"> 68 <td>{% ifnewreviews review_request %}<img src="/images/convo.png" width="18" height="16" alt="" />{% endifnewreviews %}</td> 69 <td>{% star review_request %}</td> 70 <td class="summary" onclick="javascript:window.location='{{review_request.get_absolute_url}}'; return false;"><a href="{{review_request.get_absolute_url}}">{% reviewsummary review_request %}</a></td> 71 <td><a href="{{review_request.submitter.get_absolute_url}}"> {{review_request.submitter}}</a></td> 72 <td class="{% ageid review_request.time_added %}"> {{review_request.time_added|date:"F jS, Y, P"}}</td> 73 <td class="{% ageid review_request.last_updated %}"> {{review_request.last_updated|timesince}} ago</td> 74 </tr> 75 {% endfor %} 76 </tbody> What operating system are you using? What browser? IE or Firefox both have the problem. Please provide any additional information below.
Looking at the database, I don't see anything that would cause this. Is this still a problem?
-
+ NeedInfo
Yeah, this doesn't look possible by our code. It has to have been some weird database or Django glitch but I don't know how that would have happened. Please let us know if you've been able to reproduce it. I think it was probably some weird random occurrence so I'm going to close it for now since there's nothing we can do about it, but please do reopen if this continues to be a problem.
-
- NeedInfo + ThirdParty -
+ chipx86