Re: [viewvc-users] "Annotate" error on RHEL5
"C. Michael Pilato" <[email protected]> Tue, 08 Apr 2014 22:42:48 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <5344B3A8.9090702__1798.21524438939$1397011388$gmane$org@collab.net> |
Hrm... you've stumped me on this one. Subversion is clearly complaining because it doesn't like the format of a path (or maybe URL) it has been asked to use as the basepath for a longer one. Usually when Subversion is making this kind of complaint, it's due to a path that has a trailing slash, or a URL that's not URI-encoded properly ... that kind of thing. What does the ViewVC rootpath in question look like here? Are you able to debug ViewVC enough to figure out where the non-compliant path is coming from? On 04/08/2014 05:38 PM, Will Yardley wrote: > 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]]. > -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3076131 To unsubscribe from this discussion, e-mail: [[email protected]].