[viewvc-users] viewvc-1.1.23 issue

annie <[email protected]> Sun, 7 Dec 2014 20:14:28 -0800 (PST)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1753012273.235.1418012068632.JavaMail.httpd__12088.7248813689$1418048480$gmane$org@localhost>
Hi Experts,

I'm a newbie and just installed the latest version 1.1.23 and having an error similar to a previous problem (http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&viewType=browseAll&dsMessageId=3054081#messagefocus)

viewvc.conf
-------------
root_parents = /home/rancid/var/CVS : cvs
cvs_roots = rancid: /home/rancid/var/CVS
default_root = rancid
svn_roots = router: /home/rancid/var/CVS

Error when loding localhost/viewvc
-----------------------------------
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
  File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 4848, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 402, in run_viewvc
    self.view_func(self)
  File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 2201, in view_roots
    expand_root_parents(request.cfg)
  File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 4720, in expand_root_parents
    roots = vclib.ccvs.expand_root_parent(pp)
  File "/usr/local/viewvc-1.1.23/lib/vclib/ccvs/__init__.py", line 32, in expand_root_parent
    subpaths = os.listdir(parent_path)
OSError: [Errno 13] Permission denied: '/home/rancid/var/CVS'

Tried with commenting the root_parents, successfully loading the page but no directory listing.

Thanks..

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3092346

To unsubscribe from this discussion, e-mail: [[email protected]].