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

Re: about the installation error of viewvc

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 30 Aug 2010 07:56:10 -0400

On Mon, Aug 30, 2010 at 07:37, Feng WANG <wangfeng_at_ipp.ac.cn> wrote:
> Hi all
>
>
>
>                 I have installed the subversion 1.6.12 (r955767) on
> centos5.5, and integrated the subversion into apache httpd service, and I
> can visit the repos using http protocol from internet explorer.
>
> Then I want to view the repos source code online, so I installed the ViewVC
> 1.1.6. Then I modified the viewvc.conf as follows
>
>
>
> svn_roots = svnrepos: /var/svn/repos
>
> root_parents = /var/svn : svn
>
>
>
> when I visit viewvc using explorer, error message displayed as follows.
>
>
>
>
>
> An Exception Has Occurred
>
> Python Traceback
>
>
>
> Traceback (most recent call last):
>
>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 4443, in main
>
>     request.run_viewvc()
>
>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 398, in run_viewvc
>
>     self.view_func(self)
>
>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 1860, in view_roots
>
>     allroots = list_roots(request)
>
>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 4300, in list_roots
>
>     cfg.utilities, cfg.options.svn_config_dir)
>
>   File "/usr/local/viewvc-1.2-dev/lib/vclib/svn/__init__.py", line 53, in
> SubversionRepository
>
>     import svn_repos
>
>   File "/usr/local/viewvc-1.2-dev/lib/vclib/svn/svn_repos.py", line 24, in ?
>
>     from svn import fs, repos, core, client, delta
>
> ImportError: No module named svn
>
>
>
>
>
>                 I have also installed viewvc1.1.3, the same errors occurred.
>
>
>
>                 Does anyone know the reason? Many thanks.

Always read your error messages.

> ImportError: No module named svn

You either haven't installed the Python bindings, or have installed
them to a place which Python isn't looking in.
Received on 2010-08-30 13:57:44 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.