Re: [viewvc-users] Annotation error

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
John Beranek wrote:
> I have ViewVC 1.1.0-beta1 installed on a Linux server using:
> 
> Apache 2.2.3
> Subversion 1.5.6
> Python 2.4.3
> 
> It's a fairly new installation, and I've only just noticed that whenever 
> an annotation of a file in a local Subversion repository is requested 
> the error:
> 
> Error occurred while calculating annotation data.
> 
> is shown, and no annotation is provided.

Have you configured the svn_config_dir parameter in viewvc.conf, pointing it
to a directory that is accessible to the user as whom ViewVC is running (the
Apache user)?

> How do I go about diagnosing the problem? There is no further 
> information in the Apache error log that I can find...

If you're comfortable temporarily tweaking your ViewVC source code, there is
a line in lib/viewvc.py (around line 2124) that looks like this:

    annotation = 'error'

Change that to say, instead:

    raise

And then hit one of these failing annotation views again.

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

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

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)

iEYEARECAAYFAknxvFoACgkQokEGqRcG/W5WwQCeLFDNBCT88cAHbVaWaBbPJhrQ
Y08AoJNnEMJ+g3TnKJp8efVtEFAzZM6m
=ghPc
-----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.