Re: Getting 500 error trying to access review
I was able to remount my git repository on the reviewboard server, and things appear to be back to normal. Thanks! Looks like I'll need to figure out a more persistent way to mount my repo directory. On Friday, June 12, 2015 at 5:08:31 PM UTC-7, Jonathan Anderson wrote: > > I did not realize that "raise SCMError(_('Unable to retrieve information > from '" had "the GIT repository" clipped off of the end until looking at > this error again in the actual server logs. I think my remote directory > setup may have gotten wiped out somehow. Thanks for the tip. > > On Friday, June 12, 2015 at 4:41:27 PM UTC-7, Christian Hammond wrote: >> >> 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 - chri...@beanbaginc.com >> Review Board - https://www.reviewboard.org >> Beanbag, Inc. - https://www.beanbaginc.com >> >> -----Original Message- >> From: Jonathan Anderson >> Reply: revie...@googlegroups.com > >> Date: June 12, 2015 at 4:39:48 PM >> To: revie...@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", >> >>
Re: Getting 500 error trying to access review
I did not realize that "raise SCMError(_('Unable to retrieve information from '" had "the GIT repository" clipped off of the end until looking at this error again in the actual server logs. I think my remote directory setup may have gotten wiped out somehow. Thanks for the tip. On Friday, June 12, 2015 at 4:41:27 PM UTC-7, Christian Hammond wrote: > > 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 - chri...@beanbaginc.com > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > -Original Message- > From: Jonathan Anderson > > Reply: revie...@googlegroups.com >> > Date: June 12, 2015 at 4:39:48 PM > To: revie...@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: > > > > > > > > > > > > > > > path:/r/100/, > > > > GET:, > > > > POST:, > > > > COOKIES:{'csrftoken': 'TDZtnWvpEESqiXGvRfAKyb505nQBFytK', > > > > 'rbsessionid':
Re: Getting 500 error trying to access review
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 Reply: reviewboard@googlegroups.com > Date: June 12, 2015 at 4:39:48 PM To: 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: > > > > > > > path:/r/100/, > > GET:, > > POST:, > > 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/10
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: , POST:, 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': 'Apache/2.2.22 (Ubuntu) Server at codereview Port 80\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': , 'wsgi.file_wrapper': , 'wsgi.input': , '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.