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

about the installation error of viewvc

From: Feng WANG <wangfeng_at_ipp.ac.cn>
Date: Mon, 30 Aug 2010 19:37:29 +0800

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


  File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 398, in run_viewvc


  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

    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.



Best regards,


Received on 2010-08-30 13:38:40 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.