Hi all,

After a reboot of my reviewboard server, I am now getting Error 500 
internal server errors any time a user tries to submit a comment on a 
review request. I have verified that I can add new review requests, and 
perform other edits on those review requests. Here is a sample error:

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.7-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.7-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.7-py2.6.egg/djblets/webapi/resources.py",
 
line 747, in post
    return self.create(*args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.7-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.4-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.7-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.7-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.7-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.7-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.7-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.4-py2.6.egg/reviewboard/webapi/resources/base_review.py",
 
line 169, in create
    **self.get_base_reply_to_field(*args, **kwargs))

  File 
"/usr/lib/python2.6/site-packages/Djblets-0.8.7-py2.6.egg/djblets/db/managers.py",
 
line 53, in get_or_create
    return self.get(**kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/manager.py",
 
line 151, in get
    return self.get_queryset().get(*args, **kwargs)

  File 
"/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/db/models/query.py",
 
line 310, in get
    self.model._meta.object_name)

DoesNotExist: Review matching query does not exist.


<WSGIRequest
path:/api/review-requests/3677/reviews/,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'body_top': [u''], u'text_type': [u'plain'], 
u'body_bottom': [u''], u'api_format': [u'json'], u'ship_it': [u'false']}>,
COOKIES:{'collapsediffs': 'True',
 'csrftoken': 'v9zdlH2rkdux8ABIrOYXIoEZ3UOY3vB0',
 'rbsessionid': '3vha1z6fnrabst0eneet4qjvgjji9b0i'},
META:{'CONTENT_LENGTH': '68',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'DOCUMENT_ROOT': '/var/www/reviewboard/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=v9zdlH2rkdux8ABIrOYXIoEZ3UOY3vB0; 
rbsessionid=3vha1z6fnrabst0eneet4qjvgjji9b0i; collapsediffs=True',
 'HTTP_HOST': 'reviewboard.cctechnol.com',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'http://reviewboard.cctechnol.com/r/3677/diff/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) 
Gecko/20100101 Firefox/30.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/api/review-requests/3677/reviews/',
 'PATH_TRANSLATED': 
'/var/www/reviewboard/htdocs/reviewboard.wsgi/api/review-requests/3677/reviews/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.0.1.85',
 'REMOTE_PORT': '57902',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/api/review-requests/3677/reviews/',
 'SCRIPT_FILENAME': '/var/www/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '10.0.0.68',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'reviewboard.cctechnol.com',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.15 (CentOS) Server at 
reviewboard.cctechnol.com Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.15 (CentOS)',
 'mod_ssl.is_https': <built-in method ssl_is_https of mod_wsgi.Adapter 
object at 0x7f53ee8db6c0>,
 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter 
object at 0x7f53ee8db6c0>,
 'mod_wsgi.application_group': 'reviewboard.cctechnol.com|',
 '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, 2),
 'wsgi.errors': <mod_wsgi.Log object at 0x7f53fd760cb0>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter 
object at 0x7f53ee8db6c0>,
 'wsgi.input': <mod_wsgi.Input object at 0x7f53fd654a70>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 1)}>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to