[viewvc-users] "Annotate" error on RHEL5

Will Yardley <[email protected]> Tue, 8 Apr 2014 14:38:35 -0700
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
I'm using the RHEL5 package from EPEL of ViewVC 1.1.22. With the new
options to set authzfile on a per-root basis, I'm finally able to get
the access controls for our multiple repos working more or less as I'd
expect.

The only problem I'm having is that choosing the 'Annotate' feature on
any revision gives an internal server error; the Apache log contains the
following (path / host slightly sanitized):

[Tue Apr 08 12:25:11 2014] [error] [client 10.0.0.83] python: subversion/libsvn_subr/path.c:155: svn_path_join_many: Assertion `svn_path_is_canonical(base, pool)' failed., referer: https://example.com/viewvc/repo/dir/somefile.py?view=log
[Tue Apr 08 12:25:11 2014] [error] [client 10.0.0.83] Premature end of script headers: viewvc.cgi, referer: https://example.com/viewvc/repo/dir/somefile.py?view=log

I've tried this with multiple files in multiple repos.

Other operations (including diffs, syntax highlighting, etc.) appear to
function as expected.

Any idea what the problem might be, or any other ideas? If it matters,
both the i386 and x86_64 RPMs are installed. I tried removing the i386
version, but that didn't seem to help.

# rpm -qi subversion
Name        : subversion                   Relocations: (not relocatable)
Version     : 1.6.11                            Vendor: Red Hat, Inc.
Release     : 12.el5_10                     Build Date: Wed 12 Feb 2014 06:08:30 AM PST
Install Date: Thu 03 Apr 2014 06:49:58 PM PDT      Build Host: x86-026.build.eng.bos.redhat.com
Group       : Development/Tools             Source RPM: subversion-1.6.11-12.el5_10.src.rpm
Size        : 11733171                         License: ASL 1.1
Signature   : DSA/SHA1, Wed 05 Mar 2014 01:52:21 AM PST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://subversion.apache.org/
Summary     : Modern Version Control System designed to replace CVS
Description :
Subversion is a concurrent version control system which enables one
or more users to collaborate in developing and maintaining a
hierarchy of files and directories while keeping a history of all
changes.  Subversion only stores the differences between versions,
instead of every complete file.  Subversion is intended to be a
compelling replacement for CVS.

# rpm -qi viewvc
Name        : viewvc                       Relocations: (not relocatable)
Version     : 1.1.22                            Vendor: Fedora Project
Release     : 1.el5                         Build Date: Tue 14 Jan 2014 02:05:25 PM PST
Install Date: Tue 08 Apr 2014 12:21:15 PM PDT      Build Host: buildvm-18.phx2.fedoraproject.org
Group       : Development/Tools             Source RPM: viewvc-1.1.22-1.el5.src.rpm
Size        : 2625818                          License: BSD
Signature   : DSA/SHA1, Wed 15 Jan 2014 09:04:17 AM PST, Key ID 119cc036217521f6
Packager    : Fedora Project
URL         : http://www.viewvc.org/
Summary     : Browser interface for CVS and SVN version control repositories
Description :
ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files
as well as diffs between those versions. Basically, ViewVC provides the bulk
of the report-like functionality you expect out of your version control tool,
but much more prettily than the average textual command-line program output.


w

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

To unsubscribe from this discussion, e-mail: [[email protected]].