Re: [viewvc-dev] Issue with viewvc finding repository

"C. Michael Pilato" <[email protected]> Wed, 09 Sep 2009 16:14:11 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <4AA80C93.3090803__32750.445805914$1252527266$gmane$org@collab.net>
Derek Murphy wrote:
> I have viewvc deployed with Python24 and IIS6.0 using CVSNT as my
> repository.
>
> My repos are deployed, I can check in and check out, as well as export,
> but for the life of me I can’t get viewvc(or viewcvs) to see the
> repositories.  I changed
> the config file to point to the proper places, but all I get is the
> following error..
>       http://ntitcvs2/viewvc/viewvc.cgi/?root=it
>       “An Exception Has Occurred
> it not found! The wrong path for this repository was configured, or the
> server on which the CVS tree lives may be down. Please try again in a
> few minutes.
> “
>
>
> Pasted below is the repo config..  let me know if I should paste the
> whole config.  I’m using cygwin for some parts, so that’s why /usr/bin
> is referenced below for rcs.

[...]

> # uncomment if the RCS binaries are not on the standard path
> rcs_path = /usr/bin/
>
> # ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS
> # utilities to retrieve information from CVS repositories.
> # To enable use of CVSNT, set the "cvsnt_exe_path" value
> # to the path of the CVSNT executable. (If CVSNT is on the
> # standard path, you can also set it to the name of the
> # CVSNT executable). By default "cvsnt_exe_path" is set to
> # "cvs" on Windows and is not set on other platforms.
> #
> #cvsnt_exe_path =
> #cvsnt_exe_path = cvs
> #cvsnt_exe_path = K:\Program Files\cvsnt\cvs.exe
> #cvsnt_exe_path = /usr/bin/cvs
> cvsnt_exe_path = D:\cvsnt\cvs.exe

Hrm.  That "cvsnt_exe_path" is set to a non-empty value means that
"rcs_path" is ignored.  Though, if "rcs_path" was *not* ignored, I don't see
how it would work anyway.  (Is IIS somehow smart enough to invoke ViewVC
"under Cygwin"?)

But more troublesome to me is the fact that you aren't at least seeing your
top-level CVS repository directories.  If I'm not mistaken, ViewVC is going
to be looking for a file at the path "D:\cvsrepo\it\CVSROOT\config".  Does
that path exist?  Is "D:\cvsrepo\it" a CVS repository, or is it a module
inside the CVS repository located at "D:\cvsrepo" ?

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

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

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

iEYEARECAAYFAkqoDJMACgkQokEGqRcG/W4XHACfRM06cYvii5GqsZGKNAHFjPqe
krkAn2S8AgpJ4+x9/Il3RdxOVPO1T7s+
=+HoC
-----END PGP SIGNATURE-----