Ok, you can ignore the email question. I sorted that one out.

Thanks,

Sara

On Monday, July 21, 2014 3:51:57 PM UTC-5, Sara Rayburn wrote:
>
> Hi,
>
> Today one of our users came to me complaining that his review request was 
> stuck as a draft. When he would click "Publish" a pop-up would appear 
> saying "undefined". From the perspective of other users, however, the 
> review request appeared to have been published as expected. He was 
> ultimately able to resolve the issue by clicking "Discard", and the review 
> request stayed visible, although the draft and review ordering was mixed up.
>
> Shortly after, another of our users received several emails (he was the 
> only one) with the header "ERROR (EXTERNAL IP): Internal Server Error: 
> /api/review-requests/3604/draft" and a traceback as their contents (See 
> below). Since that review request is the one causing problems, I suspect 
> they are related.
>
> I would like to know if this bug was caused by a configuration issue, and 
> also to determine how to ensure that error emails are sent to me, and not 
> just the one user. I poked around on the admin page and in the 
> settings_local.py, but I didn't see anything to make me thing I could 
> control the destination of those emails. 
>
> Thoughts?
>
> Sara
>
> Traceback (most recent call last):
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/core/handlers/base.py",
>  
> line 112, in get_response
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/cache.py",
>  
> line 52, in _wrapped_view_func
>     response = view_func(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/vary.py",
>  
> line 19, in inner_func
>     response = func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 494, in __call__
>     request, method, view, api_format=api_format, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 565, in call_method_view
>     return view(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 753, in put
>     return self.update(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
>     return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/webapi/decorators.py",
>  
> line 110, in _check
>     return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
>     return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 138, in _checklogin
>     return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
>     return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 287, in _validate
>     return view_func(*args, **new_kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/webapi/resources/review_request_draft.py",
>  
> line 394, in update
>     review_request.publish(user=request.user)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request.py",
>  
> line 716, in publish
>     changes = draft.publish(self, send_notification=False)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request_draft.py",
>  
> line 318, in publish
>     review_request.save()
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request.py",
>  
> line 581, in save
>     super(ReviewRequest, self).save(**kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/base_review_request_details.py",
>  
> line 258, in save
>     super(BaseReviewRequestDetails, self).save(**kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/base.py",
>  
> line 545, in save
>     force_update=force_update, update_fields=update_fields)
>
> <span style="color: rgb(46, 52, 54); font-family: Monospace; font-
> ...

-- 
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