Re: [viewvc-users] An Exception Has Occurred, the root "" is unknown

"C. Michael Pilato" <[email protected]> Fri, 19 Apr 2013 14:08:07 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 04/18/2013 10:23 AM, Michael Theys wrote:
> Hellow
> 
> I was wondering if it would be possible to help me with this error. I have
> been searching for a solution for the past few hours and haven't been able
> to fix it yet
> 
> my ViewVC is setup. i can see SVN and CVS repos which i set up using the
> "root_parents"
> 
> I see all the correct repos, i can go in to the CVS repos (after installing
> the rsc package) but whenever i want to go into a SVN repo i get the following
> 
> 
>       An Exception Has Occurred
> 
> The root "Project" is unknown. If you believe the value is correct, then
> please double-check your configuration.

ViewVC internally maps each repository (identified by its filesystem path)
to a repository (or "root") name.  It's the root name which is used to
identify repositories when parsing request URLs.  When you use a
"root_parents"-based configuration, the root names are quite literally the
basenames of the repository paths.

# I have two root-parents, once for each version control system:
$ grep root_parents viewvc.conf
root_parents = /usr/local/svn:svn, /usr/local/cvs:cvs

# List the contents of my Subversion root-parent:
$ ls -1 /usr/local/svn
eclipse_projects/
filetypes/
subversion/

# List the contents of my CVS root-parent:
$ ls -1 /usr/local/cvs
main/
querytest/
$

My valid root names are "eclipse_projects", "filetypes", "main",
"querytest", and "subversion".

In your situation, is "Project" such a path basename?

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

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

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJRcYgHAAoJEPXg8AH+aBMzaKQP/Rzh6m1q2QVR+4+LKS8tJF9l
Lacz2W9b+09m8wBxIDlax3T5RMu6vUV4iat1WyZ8Y3wuklRwLbvUJObx1GJUMH4Y
1nqBBx5+T0dlcRYp2bOqpUvI20xRjBVxQdU8jap2c0H7Qmdc+xqN6nSNzF3J4Xmr
4br9d16kDAg+oA4fALtru4c3X9GEZGh0gNxV9UslpUea+aB4KoH0S/r2/9zN+Vw1
bknERv81X9CIwr6dk7ZxEoqGNVFFlUE84RxuUT4ti0am28k6lU+ZO+NG4OSZpTQ3
CNToHQruT81J3YqcjLOurYPPfEdDxbw6OAYpTFMboVzrBdUTM3X1O/YfjKMOti9V
DltKUVp2xaI9sT1+uJDtyYRbbmYmNLRtrle8JjcSEOijUUvzWftSGqEWuQHRM8wO
F0f4HIn3GpBXBmwhwlgBOTub7vRU1cRJPoDypypwmJKYDd3/ay1wYxJTBTOsyZ4e
GNNMsWvoVL+44JDsl9sHI2rmEAYd4e7r0h856kcYSjbikMNjJ4MGlySSzsNMz2c+
fy6loxHUJtTwfM1xkCkaaFhE3TKKfb5hrJwZgbF2k09X0trNrd05Os9AQXR7+mX7
b3qv1kFfgC04DVn3AD6Z7k8ekUCFvTyUGUlC6YU4NChFczpsTWU+Cr9I1cp/DO/Z
lSSEW71bcy9A/Hi40BQu
=ZXzm
-----END PGP SIGNATURE-----