Mailing List Archive

Error while trying to create a project environment on SuSE 9.1
Hi!

I recently decided to give Trac a go at home, and have run into an error while trying to create the initial project environment. setup.py happily compiles and installs everything, but when I run the 'trac-admin <somepath> initenv' command, it chokes after I enter my project name with the following error:

Traceback (most recent call last):
File "/usr/bin/trac-admin", line 913, in ?
main()
File "/usr/bin/trac-admin", line 902, in main
tracadm.docmd (command)
File "/usr/bin/trac-admin", line 63, in docmd
self.onecmd(cmd)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/usr/bin/trac-admin", line 421, in do_initenv
from svn import util, repos, core
File "/usr/lib/python2.3/site-packages/svn/util.py", line 21, in ?
from core import *
File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
from libsvn.core import *
ImportError: No module named libsvn.core

Here's the details of my Subversion install: I built Subversion from source - I'm still using v1.0.5 - with the Java and Python SWIG bindings. The libraries are installed to /usr/local/lib, and I found that the install step was dense enough to put the byte-compiled Python code there as well, instead of in Python's site-packages dir, so I moved it there manually.

So... does anyone have any bright ideas? I'm hoping I didn't do something too terribly dumb along the way.. :)

Cheers,
Bryan