3816: Post Installation Throws KeyError at / u'PATH' /usr/lib/python2.7/UserDict.py in __getitem__, line 23
- SetupIssue
- Review Board
nhir****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
June 1, 2015 |
What version are you running? ReviewBoard-2.0.15 RBTools-0.7.2 What's the URL of the page containing the problem? http://v3.graderesults.com/ What steps will reproduce the problem? 1.Post Installation shows this error while all Installation steps had been followed correctly and No Error on any steps 2. I turned On Debug which may give you enough Info 3. No Errors on Apache What is the expected output? What do you see instead? Site is not Up & Running What operating system are you using? What browser? Ubuntu / Firefox Please provide any additional information below. Apache Logs shows the below all Good No Errors [Fri Mar 20 06:47:47 2015] [notice] FastCGI: process manager initialized (pid 12741) [Fri Mar 20 06:47:47 2015] [warn] FastCGI: server "/home/rb/www/htdocs/reviewboard.fcgi" started (pid 12742) [Fri Mar 20 06:47:48 2015] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.6.17 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 mod_jk/1.2.32 mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
You should not have DEBUG turned on for a production deployment. Do you have the full traceback for the KeyError?
-
+ NeedInfo
Thanks for the Prompt Reply Still this is Development Server The screen says below a Traceback Traceback: File "/usr/local/lib/python2.7/dist-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py" in get_response 105. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/middleware.py" in process_view 73. updates_required = check_updates_required() File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/checks.py" in check_updates_required 185. if not is_exe_in_path('patch'): File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.18-py2.7.egg/djblets/util/filesystem.py" in is_exe_in_path 46. for dir in os.environ['PATH'].split(os.pathsep): File "/usr/lib/python2.7/UserDict.py" in __getitem__ 23. raise KeyError(key) Exception Type: KeyError at / Exception Value: u'PATH' Under META TABLE META Variable Value HTTP_AUTHORIZATION '' wsgi.multiprocess False SERVER_SOFTWARE 'Apache/2.2.22 (Ubuntu)' SCRIPT_NAME u'' SERVER_SIGNATURE '<address>Apache/2.2.22 (Ubuntu) Server at v3.graderesults.com Port 80</address>\n' REQUEST_METHOD 'GET' PATH_INFO u'/' SERVER_PROTOCOL 'HTTP/1.1' QUERY_STRING '' PATH '/usr/local/bin:/usr/bin:/bin' HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0' HTTP_CONNECTION 'keep-alive' SERVER_NAME 'v3.graderesults.com' REMOTE_ADDR '68.3.130.50' wsgi.url_scheme 'http' PATH_TRANSLATED '/home/rb/www/htdocs/reviewboard.fcgi/'