Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-18-2008, 11:33 AM
|
#1
|
LQ Newbie
Registered: Mar 2007
Distribution: Fedora Core 6, Fedora Core 4
Posts: 22
Rep:
|
Python failing to find correct Subversion libraries
Hello,
We had Subversion 1.4 installed on Fedora 6 working with WebSVN for several months. Then we upgraded to Subversion 1.5 and WebSVN started showing our repositories but not showing any data. Everything besides WebSVN concerning Subversion with 1.5 is working. So I tried to install a different repos viewing tool called ViewVC and I'm getting this error in the browser :
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
request.run_viewvc()
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 265, in run_viewvc
cfg.general.svn_path)
File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 606, in __init__
self.repos = repos.svn_repos_open(rootpath, self.pool)
File "/usr/lib64/python2.4/site-packages/libsvn/repos.py", line 55, in svn_repos_open
return apply(_repos.svn_repos_open, args)
SubversionException: ("Expected FS format '2'; found format '3'", 160043)
I think this is because Python is still bound to Subversion 1.4. We had to address this problem initially after installing 1.5 but I don't know how to fix this instance of it. I need to know how to make this incarnation of Python point to Subversion 1.5 instead of 1.4.
Thanks
-Adam
|
|
|
11-19-2008, 05:08 PM
|
#2
|
Member
Registered: Apr 2004
Location: Bedford, Texas (DFW area)
Distribution: ArchLinux
Posts: 41
Rep:
|
Try this to see which svn library python is using:
Code:
ldd /usr/lib64/python2.4/site-packages/libsvn/_client.so | grep libsvn
(It's also possible that your _client.so file is in a different spot. Some distros mix those things around.)
MWM
|
|
|
11-21-2008, 05:35 PM
|
#3
|
LQ Newbie
Registered: Mar 2007
Distribution: Fedora Core 6, Fedora Core 4
Posts: 22
Original Poster
Rep:
|
Thanks for the response. Python was using the 1.4.3 libsvn bindings. I copied over the old bindings with new ones I built from SVN 1.5 source code. That caused viewVC to work except for one thing.
When I click "Annotate" I get this output.
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
request.run_viewvc()
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 403, in run_viewvc
self.view_func(self)
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 2220, in view_annotate
generate_page(request, "annotate", data)
File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 855, in generate_page
template.generate(request.server.file(), data)
File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 326, in generate
self._execute(self.program, ctx)
File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 455, in _execute
step[0](step[1], ctx)
File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 525, in _cmd_for
for unused in iterator:
File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 715, in next
self.last_item = self._iter.next() # may raise StopIteration
File "/usr/local/viewvc-1.0.7/lib/blame.py", line 80, in __getitem__
item = self.annotation.__getitem__(idx)
File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 544, in __getitem__
raise vclib.Error("Could not parse blame output at line %i\n%s"
Error: Could not parse blame output at line 1
svn: Unable to open an ra_local session to URL
Any ideas?
|
|
|
All times are GMT -5. The time now is 09:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|