Re: Python Config Issue?

2010-03-04 Thread etrain
Setting PythonHandler to mod_python.testhandler yielded: Apache version Apache/2.2.3 (Oracle) Apache threaded MPM No (single thread MPM) Apache forked MPM Yes, maximum 256 processes Apache server root /etc/httpd Apache document root /var/rb/mysite/htdocs Apache error log None Python sys.version

Re: Python Config Issue?

2010-03-04 Thread Christian Hammond
The Review Board, Djblets, etc. site packages are in .egg directories, and it seems that the 32-bit ones aren't being added to the Python path by default. Looks like some of the 64-bit ones are. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org

Re: Python Config Issue?

2010-03-04 Thread etrain
I have solved this problem - thanks for your help Christian! You certainly led me on the right path. For the good of the group, my problem ended up boiling down to a permissions issue on my /usr/lib/python2.4/site-packages/*.pth files. They were mode 640 (-rw-r-) and owned by root:root. By

Re: Python Config Issue?

2010-03-04 Thread Christian Hammond
Awesome :) Glad it works! Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Mar 4, 2010 at 12:43 PM, etrain evan.spa...@gmail.com wrote: I have solved this problem - thanks for your help Christian! You

Re: Python Config Issue?

2010-03-03 Thread Christian Hammond
Sounds like it's not seeing Review Board in the Python path. From a command line, try typing: $ python import reviewboard See if that succeeds. If it does, type: import reviewboard.settings If that tells you it can't find settings_local.py, then that's fine. If it can't find

Re: Python Config Issue?

2010-03-03 Thread etrain
Python 2.4.3 (#1, Jul 2 2009, 15:50:36) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type help, copyright, credits or license for more information. import reviewboard import reviewboard.settings Unable to read settings_local.py. Please see http://www.reviewboard.org/docs/manual/dev/admin/

Re: Python Config Issue?

2010-03-03 Thread Christian Hammond
Okay, do that again and then type: print reviewboard.__path__ It looks like what's happening is that, one way or another, Review Board isn't in the system path that mod_python is searching. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org

Re: Python Config Issue?

2010-03-03 Thread etrain
Yes, earlier I tried explicitly including the path to ReviewBoard in my PythonPath, and got past this error, but then apache/mod_python started complaining that they couldn't find djblets, which had me worried that i'd start having to include the absolute path to every missing library - not

Re: Python Config Issue?

2010-03-03 Thread Christian Hammond
I don't know. It's possible there's something funky with RHEL and Python paths when using mod_python, but I don't have an answer there. It'd be helpful if someone else on RHEL 5.1 can chime in on this. Christian -- Christian Hammond - chip...@chipx86.com Review Board -

Re: Python Config Issue?

2010-03-03 Thread etrain
Sorry for the confusion - it's actually RHEL 4.1.2-44. It's funny because I have a box with the exact same OS running just fine. On Mar 3, 8:16 pm, Christian Hammond chip...@chipx86.com wrote: I don't know. It's possible there's something funky with RHEL and Python paths when using mod_python,