Hello list,

I'm attempting to install trac via packages on centos 5.9. I've installed
the following package:

trac-0.10.5-3.el5.noarch

But when I attempt to initialize my first environment with the following
command I get an error:

[root@cloud:~] #sudo trac-admin /var/www/svn/jf-trac initenv
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 21, in ?
    from trac.scripts.admin import run
ImportError: No module named scripts.admin


I've googled the error a bit and found some advice that said this may be an
error relating to the PYTHONPATH variable. So I set that variable to what I
believe should be the correct value for my system, yet the error persists.


[root@cloud:~] #echo $PYTHONPATH
/usr/lib/python2.4/site-packages

[root@cloud:~] #ls -l /usr/lib/python2.4/site-packages | grep trac
drwxr-xr-x 11 root root    4096 May 30 14:09 trac

[root@cloud:~] #rpmquery -i python
Name        : python                       Relocations: (not relocatable)
Version     : 2.4.3                             Vendor: CentOS
Release     : 56.el5                        Build Date: Wed Jan  9 06:52:44
2013
Install Date: Mon Feb 25 13:52:27 2013         Build Host:
builder10.centos.org
Group       : Development/Languages         Source RPM:
python-2.4.3-56.el5.src.rpm
Size        : 74377                            License: PSF - see LICENSE



So I believe I've set the correct environment variable. I'd appreciate any
advice anyone may have on how to proceed.

Thanks!
Tim
-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to