Re: [viewvc-users] Directory view of respository

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4ACE1DE8.7090609__3507.5196101845$1255022093$gmane$org@collab.net>
Dan wrote:
> I've setup viewvc to the point where I'm able to see the repository root.
> However, when I try to drill down to view particular files I'm prompted to
> download an error file which shows:
> 
> <h4>Python Traceback</h4>
> <p><pre>
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.1.2/lib/viewvc.py", line 4114, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.1.2/lib/viewvc.py", line 398, in run_viewvc
>     self.view_func(self)
>   File "/usr/local/viewvc-1.1.2/lib/viewvc.py", line 1754, in view_directory
>     file_data, options)
>   File "/usr/local/viewvc-1.1.2/lib/vclib/ccvs/bincvs.py", line 247, in dirlogs
>     alltags = _get_logs(self, path_parts, entries_to_fetch, rev, subdirs)
>   File "/usr/local/viewvc-1.1.2/lib/vclib/ccvs/bincvs.py", line 979, in _get_logs
>     rlog = repos.rcs_popen('rlog', args, 'rt')
>   File "/usr/local/viewvc-1.1.2/lib/vclib/ccvs/bincvs.py", line 319, in rcs_popen
>     return popen.popen(cmd, args, mode, capture_err)
>   File "/usr/local/viewvc-1.1.2/lib/popen.py", line 125, in popen
>     os.execvp(cmd, (cmd,) + tuple(args))
>   File "/usr/lib/python2.5/os.py", line 353, in execvp
>     _execvpe(file, args)
>   File "/usr/lib/python2.5/os.py", line 377, in _execvpe
>     func(file, *argrest)
> OSError: [Errno 20] Not a directory
> 
> </pre></p>
> 
> Anyone know how to fix this? Thanks.

I'm guessing that ViewVC is attempting to run one of the RCS toolchain
binaries from a location that doesn't exist.  Have you configured the
'rcs_dir' configuration item to point to the directory in which programs
like 'rlog' and 'co' may be found?

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

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

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)

iEYEARECAAYFAkrOHegACgkQokEGqRcG/W5noQCgw8PGThZymJlupNkyesr+5NNY
AfMAoJQt03rJh9yzr8RhMQvSmR4+BNOP
=M5RI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.