Hi Jonathan,

Sounds like trouble communicating with the Git repository. Are you able to get 
into the administration UI, and can you show me the repository configuration?

Unfortunately, the error output isn't handling a so-called "lazy" localized 
string properly, hence the "functional.__proxy__" stuff.

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Jonathan Anderson <physicssquir...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: June 12, 2015 at 4:39:48 PM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  Getting 500 error trying to access review

>  
>  
> My server got rebooted last night, and since coming back up, I've been
> getting 500's whenever trying to visit a review e.g. /r/100
>  
>  
> Not sure where to troubleshoot this.
>  
>  
>  
> Traceback (most recent call last):
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py",
> line 112, in get_response
>  
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/accounts/decorators.py",
> line 23, in _check
>  
> return view_func(*args, **kwargs)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/site/decorators.py",
> line 35, in _check
>  
> return view_func(request, local_site=local_site, *args, **kwargs)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/views.py",
> line 713, in review_detail
>  
> 'screenshots': screenshots,
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/context.py",
> line 95, in make_review_request_context
>  
> upload_diff_form = UploadDiffForm(review_request, request=request)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/forms.py",
> line 95, in __init__
>  
> data, *args, **kwargs)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/diffviewer/forms.py",
> line 41, in __init__
>  
> if self.repository.get_scmtool().get_diffs_use_absolute_paths():
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/scmtools/models.py",
> line 230, in get_scmtool
>  
> return cls(self)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/scmtools/git.py",
> line 84, in __init__
>  
> repository.encoding, local_site_name)
>  
>  
>  
> File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/scmtools/git.py",
> line 402, in __init__
>  
> raise SCMError(_('Unable to retrieve information from '
>  
>  
>  
> SCMError: <django.utils.functional.__proxy__ object at 0x7fa808065f90>
>  
>  
>  
>  
>  
> <WSGIRequest
>  
> path:/r/100/,
>  
> GET:<QueryDict: {}>,
>  
> POST:<QueryDict: {}>,
>  
> COOKIES:{'csrftoken': 'TDZtnWvpEESqiXGvRfAKyb505nQBFytK',
>  
> 'rbsessionid': 'yg7lcom90mgbsqc83p3ibvkqwcrrx0jz'},
>  
> META:{'DOCUMENT_ROOT': '/var/www/cr/htdocs',
>  
> 'GATEWAY_INTERFACE': 'CGI/1.1',
>  
> 'HTTP_ACCEPT':
> 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
>  
> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
>  
> 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
>  
> 'HTTP_CONNECTION': 'keep-alive',
>  
> 'HTTP_COOKIE': 'csrftoken=TDZtnWvpEESqiXGvRfAKyb505nQBFytK;
> rbsessionid=yg7lcom90mgbsqc83p3ibvkqwcrrx0jz',
>  
> 'HTTP_HOST': 'codereview',
>  
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36',
>  
> u'LOCAL_SITE': None,
>  
> 'PATH_INFO': u'/r/100/',
>  
> 'PATH_TRANSLATED': '/var/www/cr/htdocs/reviewboard.wsgi/r/100/',
>  
> 'QUERY_STRING': '',
>  
> 'REMOTE_ADDR': '10.105.10.193',
>  
> 'REMOTE_PORT': '9855',
>  
> 'REQUEST_METHOD': 'GET',
>  
> 'REQUEST_URI': '/r/100/',
>  
> 'SCRIPT_FILENAME': '/var/www/cr/htdocs/reviewboard.wsgi',
>  
> 'SCRIPT_NAME': u'',
>  
> 'SERVER_ADDR': '10.105.0.107',
>  
> 'SERVER_ADMIN': '[no address given]',
>  
> 'SERVER_NAME': 'codereview',
>  
> 'SERVER_PORT': '80',
>  
> 'SERVER_PROTOCOL': 'HTTP/1.1',
>  
> 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at codereview
> Port 80</address>\n',
>  
> 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',
>  
> u'USERNAME': u'janderson',
>  
> u'USER_EMAIL': u'jander...@quosal.com',
>  
> 'mod_wsgi.application_group': 'cr|',
>  
> 'mod_wsgi.callable_object': 'application',
>  
> 'mod_wsgi.enable_sendfile': '0',
>  
> 'mod_wsgi.handler_script': '',
>  
> 'mod_wsgi.input_chunked': '0',
>  
> 'mod_wsgi.listener_host': '',
>  
> 'mod_wsgi.listener_port': '80',
>  
> 'mod_wsgi.process_group': '',
>  
> 'mod_wsgi.queue_start': '1434152055397694',
>  
> 'mod_wsgi.request_handler': 'wsgi-script',
>  
> 'mod_wsgi.script_reloading': '1',
>  
> 'mod_wsgi.version': (3, 4),
>  
> 'wsgi.errors': <mod_wsgi.Log object at 0x7fa816ffa5f0>,
>  
> 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter
> object at 0x7fa816a46288>,
>  
> 'wsgi.input': <mod_wsgi.Input object at 0x7fa816a3f3b0>,
>  
> 'wsgi.multiprocess': True,
>  
> 'wsgi.multithread': True,
>  
> 'wsgi.run_once': False,
>  
> 'wsgi.url_scheme': 'http',
>  
> 'wsgi.version': (1, 0)}>
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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