Hi, there,
I installed subversion with swig, and viewVC. Having configed the
viewvc.conf, I tried to use the python standalone web server to browse the
subversion repository. However, the first time I loaded the URL
http://localhost:7467/viewvc in my browser, I got the following message: An
Exception Has Occurred Python Traceback
Traceback (most recent call last):
File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 253, in run_viewvc
import vclib.svn
File "/opt/apps/viewvc-1.0.2/lib/vclib/svn/__init__.py", line 25, in ?
from svn import fs, repos, core, delta
File "/usr/local/lib/svn-python/svn/fs.py", line 19, in ?
from libsvn.fs import *
File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
import _fs
ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
gss_delete_sec_context
I refreshed the browse page, then every time I got the following error
message instead:
An Exception Has Occurred Python Traceback
Traceback (most recent call last):
File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/opt/apps/viewvc-1.0.2/lib/viewvc.py", line 254, in run_viewvc
self.repos = vclib.svn.SubversionRepository(self.rootname,
AttributeError: 'module' object has no attribute 'SubversionRepository'
I also checked by in the interactive python mode to "import svn.repos ", it
gave me similar error as the first message:
>>> import svn.repos
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/svn-python/svn /repos.py", line 19, in ?
from libsvn.repos import *
File "/usr/local/lib/svn-python/libsvn/repos.py", line 5, in ?
import _repos
ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
gss_delete_sec_context
>>>
I posted my question to viewVC mailing list, and was suggest this is a build
problem with Subversion's python binding, etc. not a viewVC issue.
So anyone has similar experience? what could be the problem? Any
suggestions would be much appreciated!
--
Regards,
-Hui
Received on Mon Oct 2 14:50:25 2006