Re: [viewvc-users] Rancid / CVS / ViewVC

"C. Michael Pilato" <[email protected]> Fri, 14 Sep 2012 10:53:57 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 09/13/2012 06:54 AM, Marcus Mansfield wrote:
> Ok, I'm new to ViewVC and even the Linux OS.
> 
> Trying to set up Rancid, got most of it working except the website ( http://localhost/viewvc ).
> 
> I get the following error...
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 4638, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 394, in run_viewvc
>     self.view_func(self)
>   File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 2140, in view_directory
>     file_data, options)
>   File "/usr/local/viewvc-1.1.15/lib/vclib/ccvs/bincvs.py", line 261, in dirlogs
>     alltags = _get_logs(self, path_parts, entries_to_fetch, rev, subdirs)
>   File "/usr/local/viewvc-1.1.15/lib/vclib/ccvs/bincvs.py", line 1020, in _get_logs
>     % file.path)
> Error: Rlog output ended early. Expected RCS file "/usr/local/rancid/var/CVS/xxxxxx/router.db,v"

Have you tried executing 'rlog' by hand to see what output it actually
produces?  Give this a shot:

   $ rlog /usr/local/rancid/var/CVS/xxxxxx/router.db,v

IIRC, ViewVC is going to be looking for the first line of output to be:

   RCS file: /usr/local/rancid/var/CVS/xxxxxx/router.db,v

If that's not what 'rcs' prints, we'll need to figure out why.

> I've seem a random note that apache might need execute rights on the ",v" files.
> Is that correct ?

I don't believe that's accurate.  It might need 'x' on the directories, but
not on the ,v files.

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

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

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

iEYEARECAAYFAlBTRQUACgkQokEGqRcG/W5cAwCeK+Aff9dGMVAsVxPwuG/6ltrU
nVAAoJOVSjH15M298RPtRGXZHmOIhtDh
=STdo
-----END PGP SIGNATURE-----