Hi Tibor,

Thanks for the quick reply. My system SL 4.6 comes with and is using python 2.3 by default.
>rpm -qa \*mod_python\*
mod_python-3.1.3-5.1.i386

>rpm -ql mod_python
/usr/lib/python2.3/site-packages/mod_python
/usr/lib/python2.3/site-packages/mod_python/Cookie.py
/usr/lib/python2.3/site-packages/mod_python/Cookie.pyc
......

I am using python 2.4 in /opt for a different application, and if I try using the same package for invenio
it complain about missing packages required by invenio! So, it is catch 22!

Any suggestions?
Hossein


you wrote:
Hi Hossein:

On Thu, 05 Jun 2008, Hossein Rafighi wrote:
I have a symlink in /usr/lib/python2.3/site-packages/invenio pointing
at /opt/cds-invenio/lib/python/invenio

Why is the Traceback is pointing to
/opt/lib/python2.4/site-packages/mod_python ?

Your mod_python package is using Python 2.4, not Python 2.3.  Check it
out by doing something like (on SLC4):

  $ rpm -ql mod_python | grep site-pac | head -1
  /usr/lib64/python2.3/site-packages/mod_python

You have two solutions: (i) if you want to use Python 2.3 for Invenio,
then install mod_python package for Python 2.3 too; (ii) you can simply
use Python 2.4 to run Invenio if this is what your OS comes with as the
default Python version.  (In fact, Python 2.4 would be preferable.)

Best regards

--
 _____  _____   _____  _   _  _   _  ____ Hossein Rafighi
|_   _||  _  \ |_   _|| | | || \_/ ||  __|TRIUMF, 4004 Wesbrook Mall
  | |  | |_|  )  | |  | | | ||     || |__ Vancouver BC, Canada, V6T 2A3
  | |  |  _  /   | |  | \_/ || \_/ ||  __|Voice: (604) 222-1047
  | |  | | \ \  _| |_ |     || | | || |   Fax:   (604) 222-1074
  |_|  |_|  \_\|_____| \___/ |_| |_||_|   Website: http://www.triumf.ca

Reply via email to