[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

More Subversion Python bindings + Trac fun

From: Bryan Dyck <bdyck_at_mac.com>
Date: 2004-07-30 21:45:08 CEST

<sigh>

It seems my earlier triumph is to be rather short-lived. After fighting with the SuSE-installed Apache, which Subversion didn't seem to be happy about working with to build mod_dav_svn, I chucked the pre-installed Apache and built it myself. So. Apache and Subversion are friends, mod_dav_svn and mod_authz_svn install (and function) painlessly, world peace ensues...

Or at least until it came time to see how Trac was faring. The basic, non-Subversion-interacting parts of Trac are fine, but when an attempt is made to use the Browser or the Timeline features, things are decidedly less so.

When attempting to access the Trac Browser, I get the following error and Python traceback:

Trac detected an internal error:
libapr-0.so.0: cannot open shared object file: no such file or directory

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 470, in real_cgi_start
    dispatch_request(path_info, args, req, env, database)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 378, in dispatch_request
    module = module_factory(args, env, database, req)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 137, in module_factory
    globals(), locals())
  File "/usr/lib/python2.3/site-packages/trac/Browser.py", line 25, in ?
    from svn import core, fs, util, delta
  File "/usr/local/lib/svn-python/svn/core.py", line 21, in ?
    from libsvn.core import *
  File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in ?
    import _core
ImportError: libapr-0.so.0: cannot open shared object file: No such file or directory

Trac is installed to its default location, and the Python modules for Subversion are symlinked to Python's site-packages directory from /usr/local/lib/svn-python. _core.la|so and friends are all present and accounted for in Python's site-packages directory as well, which makes the error slightly confusing to me, unless I am not reading it correctly.

Hopefully it's not the result of having done something completely braindead along the way, but that's not out of the realm of possibility, either. :) Any help is much appreciated!

Cheers,
b

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 30 21:45:46 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.