Looks like there's no PATH environment variable for your user. I haven't
seen that problem before, but it should be fairly easy to fix. You'll
basically need to have your Apache configuration set the environment
variable to standard directories ("/bin:/usr/bin:/usr/local/bin"). I think
if you use the SetEnv directive, it should filter down to the FastCGI
binary, though I'm not 100% sure on that.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Aug 7, 2010 at 3:08 PM, Arun Saini <asain...@gmail.com> wrote:

> I am trying to install reviewboard. I finally got it setup using Apache
> +FasCGI - couldn't get mod_python to work in my environment. When I
> try to access the app, I get the 500 error. On enabling Debug, I see
> the following traceback
>
> Traceback:
> File "/usr/local/lib/python2.7/site-packages/Django-1.2.1-py2.7.egg/
> django/core/handlers/base.py" in get_response
>  80.                     response = middleware_method(request)
> File "/usr/local/lib/python2.7/site-packages/ReviewBoard-1.0.9-
> py2.7.egg/reviewboard/admin/middleware.py" in process_request
>  32.         if (check_updates_required() and
> File "/usr/local/lib/python2.7/site-packages/ReviewBoard-1.0.9-
> py2.7.egg/reviewboard/admin/checks.py" in check_updates_required
>  59.         if not is_exe_in_path('patch'):
> File "/usr/local/lib/python2.7/site-packages/Djblets-0.6.3-py2.7.egg/
> djblets/util/filesystem.py" in is_exe_in_path
>  44.     for dir in os.environ['PATH'].split(os.pathsep):
> File "/usr/local/lib/python2.7/UserDict.py" in __getitem__
>  23.         raise KeyError(key)
>
> Exception Type: KeyError at /
> Exception Value: 'PATH'
>
> It seems to be something wrong with my environment but being new to
> Python, I cannot really figure this out. Any pointers are appreciated.
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to