What version are you running?
1.5
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1.read install doc
2.step to step is sucessful
3.startup apache2
4.open browser and try to setting it.
What is the expected output? What do you see instead?
Something broke! (Error 500)
It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your ad
What operating system are you using? What browser?
ubuntu 10.04 x86_64 server
firefox 5.0
Please provide any additional information below.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py", line 89, in get_response
response = middleware_method(request)
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/admin/middleware.py", line 39, in process_request
if (check_updates_required() and
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/admin/checks.py", line 90, in check_updates_required
if not is_exe_in_path('patch'):
File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.8-py2.6.egg/djblets/util/filesystem.py", line 44, in is_exe_in_path
for dir in os.environ['PATH'].split(os.pathsep):
File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'PATH'
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/var/www/reviews.example.com/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_CHARSET': 'GB2312,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'zh-cn,zh;q=0.5',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': '192.168.177.5:8080',
'HTTP_IF_MODIFIED_SINCE': 'Thu, 23 Jun 2011 10:15:28 GMT',
'HTTP_IF_NONE_MATCH': '"b810b3-604-4a65e5d45e60e"',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/',
'PATH_TRANSLATED': '/var/www/reviews.example.com/htdocs/reviewboard.fcgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': 'xxx,xxx,xxx',
'REMOTE_PORT': '2105',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/var/www/reviews.example.com/htdocs/reviewboard.fcgi',
'SCRIPT_NAME': u'',
'SCRIPT_URI': 'http://192.168.177.5:8080/',
'SCRIPT_URL': '/',
'SERVER_ADDR': '192.168.177.5',
'SERVER_ADMIN': '[no address given]',
'SERVER_NAME': '192.168.177.5',
'SERVER_PORT': '8080',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at 192.168.177.5 Port 8080</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x284dd10>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x276e850>,