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
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
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
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
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
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/
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
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
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 -
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,
10 matches
Mail list logo