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

Re: Setting up ViewVC for SVN

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Wed, 11 Jun 2008 14:07:52 -0700

On Wed, Jun 11, 2008 at 1:32 PM, Sharad Munde <sharad.munde_at_gmail.com>
wrote:

> Hi all,
>
> I have installed ViewVC and can very well view CVS repository.
>
> Now I also want to use ViewVC for the subversion repository to view it
> online
> I get following problem.
>
> Traceback (most recent call last):
>
> File "/usr/local/viewvc-1.0.5/lib/viewvc.py", line 3766, in main
> request.run_viewvc()
> File "/usr/local/viewvc-1.0.5/lib/viewvc.py", line 253, in run_viewvc
> import vclib.svn
> File "/usr/local/viewvc-1.0.5/lib/vclib/svn/__init__.py", line 27, in ?
>
> from svn import fs, repos, core, delta
> ImportError: No module named svn
>
>
>
> I looked into online forums and found that i need to install svn-python
> bindings and set PYTHONPATH to where they are installed.
>
> But where will I get these bindings ??? I am not able to find them.
>
> Or is there any other way to solve this issue. I am spending too much time
> in solving this. It will be great is somebody helps.

What platform is your svn server on? Many Linux distributions provide the
python bindings as a package to install. For windows, you can download the
bindings from subversion.tigris.org.

Or if you are on a platform where you don't see any pre-built binary
package, you can build it from source. Get the subversion source from its
website and look at the file: subversion/bindings/swig/INSTALL

Regards,
-Hari
Received on 2008-06-11 23:08:34 CEST

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.