OS = CentOS-4.2
subversion-1.3.0-1
swig-1.3.28
python-2.3.4-14.1
I have just installed trac and am trying to set up my first
project. I am obtaining this error:
/usr/share/trac/wiki-default/TracNotification => TracNotification
Indexing repository
Failed to initialize environment. No module named svn
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py",
line 616, in do_initenv
repos = self.__env.get_repository()
File "/usr/lib/python2.3/site-packages/trac/env.py", line 155, in
get_repository
from trac.versioncontrol.svn_fs import SubversionRepository
File "/usr/lib/python2.3/site-
packages/trac/versioncontrol/svn_fs.py", line 25, in ?
from svn import fs, repos, core, delta
ImportError: No module named svn
the trac-admin command issued was:
# trac-admin /var/spool/trac/depot initenv
the svn repository provided was:
/var/spool/svn
# svnadmin verify /var/spool/svn confirms all revision points.
# echo $PYTHONPATH
/usr/local/lib/svn-python/libsvn:/usr/lib/python2.3/site-
packages:/usr/local/lib/svn-python/libsvn
I built and installed swig-1.3.28 and the swig-py bindings myself.
I found and have attempted to check all of the issues raised in
trac ticket #2770.
What do I need to do to get this to work?
Regards,
Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
<token> = hal Canada L8E 3C3
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac