Hello,
Yes I have tried the root_parents in the past and just gave it a try again. It
gives the same error?
So my config lines look like:
root_parents = /path/to/svn-data/Projects : svn
default_root = TestSVN
I can't figure this out so I have tried a standalone server and I am having
problems there as well. I am wondering if I don't have deeper issues. Please
see the following error summary when using a standalone server:
I start the server up with: bin/standalone.py -r /path/to/svn-data/Projects/
And get: server ready at http://localhost:49152/viewvc
I then try access this via a web browser and get the following error:
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/proj/cvs/svn_dists/viewvc-1.1-dev-20070228/lib/viewvc.py", line 3728,
in main
request.run_viewvc()
File "/proj/cvs/svn_dists/viewvc-1.1-dev-20070228/lib/viewvc.py", line 252,
in run_viewvc
import vclib.svn
File "/proj/cvs/svn_dists/viewvc-1.1-dev-20070228/lib/vclib/svn/__init__.py",
line 25, in ?
from svn import fs, repos, core, client, delta
ImportError: No module named svn
Thanks for the assitance -reagan
-----Original Message-----
From: C. Michael Pilato [mailto:cmpilato@xxxxxxxxxx]
Sent: Monday, March 05, 2007 4:01 PM
To: Reagan Penner
Cc: users@xxxxxxxxxxxxxxxxx
Subject: Re: [viewvc-users] The root "svn/TestSVN" is unknown.
You've confused the meaning of the svn_roots configuration option. It's
supposed to point to a repository, not to a directory which contains
multiple repositories.
So, I think you need to tweak your svn_roots and root_parents config
variables like so:
svn_roots =
root_parents = /path/to/svn-data/Projects : svn
Reagan Penner wrote:
> Hello all,
>
> I am new to viewvc and am having a bit of trouble getting things
> configured properly.
>
> My setup is as follows:
> openssl-0.9.8b, openldap-2.3.24, httpd-2.2.2, neon-0.25.5,
> subversion-1.3.2, libxml2-2.6.26, php-5.1.6, WebSVN-2.0rc4, flex-2.5.33,
> mod_python-3.2.10, and
>
> viewvc-1.1-dev-20070228
>
> My location directive in httpd.conf looks like:
> <Location /svn>
> DAV svn
> SVNPath /path/to/svn-data/Projects
> . . .
> </Location>
>
> I have copied viewvc.cgi and query.cgi to my cgi-bin directory and have
> configured my viewvc.conf file as follows:
> svn_roots = svn: /path/to/svn-data/Projects
> default_root = TestSVN
> Where TestSVN is a repository under _http://cname:3690/svn_
>
> When I try to access _http://cname:3690/cgi-bin/viewvc.cgi_ I get the
> following error:
> An Exception Has Occurred
>
> The root "TestSVN" is unknown. If you believe the value is correct, then
> please double-check your configuration.
> HTTP Response Status
> 404 Repository not found
> Python Traceback
> Traceback (most recent call last):
> File "/path/to/svn-1.3.2/viewvc-1.1-dev/lib/viewvc.py", line 3728, in
> main
> request.run_viewvc()
> File "/path/to/svn-1.3.2/viewvc-1.1-dev/lib/viewvc.py", line 269, in
> run_viewvc
> % self.rootname, "404 Repository not found")
> ViewVCException: 404 Repository not found: The root "TestSVN" is
> unknown. If you believe the value is correct, then please double-check
> your configuration.
>
> Thanks in advance for any pointers -reagan////
>
--
C. Michael Pilato <cmpilato@xxxxxxxxxx>
CollabNet <> www.collab.net <> Distributed Development On Demand
|