Hi, I have intermittent failures from ReviewBoard. These failures pop up in
various interactions (reading reviews, post-review, publishing comments),
but all seem to be related to accessing my git repository. From what I've
gathered while researching this, it's usually a fatal condition (e.g., the
repository has the wrong permissions). Not only have I double checked the
permissions, but the weird part is that retrying the action or refreshing
the web page usually works fine. Roughly 1 out of 10 actions result in an
error though.

Last week, everything was working fine. The onset of the errors coincides
with an update of the hosting machine from Ubuntu 10.04 to 10.10. So
obviously a lot has changed that could be contributing to the error, but I
can't narrow it down.

Does anyone have any ideas on what might be wrong, or how I might diagnose
this?

Below is an error e-mail that ReviewBoard sent.

Thanks,
Joe



[Review Board] ERROR (EXTERNAL IP): Internal Server Error: /r/52/

Traceback (most recent call last):

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/django/core/handlers/base.py",
line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/accounts/decorators.py",
line 21, in _check
   return view_func(*args, **kwargs)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/reviews/views.py",
line 461, in review_detail
   'PRE_CREATION': PRE_CREATION,

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/reviews/views.py",
line 109, in _make_review_request_context
   upload_diff_form = UploadDiffForm(review_request)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/reviews/forms.py",
line 266, in __init__
   data, *args, **kwargs)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/diffviewer/forms.py",
line 44, in __init__
   if self.repository.get_scmtool().get_diffs_use_absolute_paths():

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/scmtools/models.py",
line 122, in get_scmtool
   return cls(self)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/scmtools/git.py",
line 70, in __init__
   local_site_name)

 File
"/home/jmou/src/reviewboard/lib/python2.7/site-packages/reviewboard/scmtools/git.py",
line 316, in __init__
   raise SCMError(_('Unable to retrieve information from '

SCMError: <django.utils.functional.__proxy__ object at 0x7fbb5b7b3c90>


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'collapsediffs': 'True',
 'csrftoken': '580b2766fe12c70c23a58cca755a00f5',
 'rbsessionid': '940bf1a27bf8477126b7a90e7e0c4293'},
META:{'DOCUMENT_ROOT': '/var/www/reviews.burnttoast.local/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT':
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=580b2766fe12c70c23a58cca755a00f5;
rbsessionid=940bf1a27bf8477126b7a90e7e0c4293; collapsediffs=True',
 'HTTP_HOST': 'reviews.burnttoast.local',
 'HTTP_IF_NONE_MATCH': 'jmou:2011-10-18 04:06:15.963042::0:0:1317097313',
 'HTTP_REFERER': 'http://reviews.burnttoast.local/r/52/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1
(KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1',
 'PATH_INFO': u'/r/52/',
 'PATH_TRANSLATED':
'/var/www/reviews.burnttoast.local/htdocs/reviewboard.wsgi/r/52/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '192.168.1.111',
 'REMOTE_PORT': '48526',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/r/52/',
 'SCRIPT_FILENAME':
'/var/www/reviews.burnttoast.local/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '192.168.1.108',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_NAME': 'reviews.burnttoast.local',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.20 (Ubuntu) Server at
reviews.burnttoast.local Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.20 (Ubuntu)',
 'mod_wsgi.application_group': 'reviews.burnttoast.local|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '80',
 'mod_wsgi.process_group': '',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 3),
 'wsgi.errors': <mod_wsgi.Log object at 0x7fbb5c6566f0>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter
object at 0x7fbb5d174c60>,
 'wsgi.input': <mod_wsgi.Input object at 0x7fbb5cb8b4b0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 1)}>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to