CVS web interface error

Started by Simon Riggsover 21 years ago9 messages
#1Simon Riggs
simon@2ndquadrant.com

CVS web interface has not been working for a few days. Not important
right now, but something to fix soon-ish.

Best Regards, Simon Riggs

=========================================

Error
Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute
module reference invalid: `/pgsql-server/COPYRIGHT'

Check whether the directory /cvsroot//CVSROOT exists and the script has
write-access to the CVSROOT/history file if it exists.
The script needs to place lock files in the directory the file is in as
well.

===========================================

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Simon Riggs (#1)
Re: CVS web interface error

Simon Riggs <simon@2ndquadrant.com> writes:

CVS web interface has not been working for a few days. Not important
right now, but something to fix soon-ish.

It works okay for me (modulo $PostgreSQL$ issue, see other thread).
What URL are you visiting to get the stated error?

regards, tom lane

#3Simon Riggs
simon@2ndquadrant.com
In reply to: Tom Lane (#2)
Re: CVS web interface error

On Mon, 2004-07-26 at 05:57, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

CVS web interface has not been working for a few days. Not important
right now, but something to fix soon-ish.

It works okay for me (modulo $PostgreSQL$ issue, see other thread).
What URL are you visiting to get the stated error?

No, this isn't a CVSup issue.

Go to http://developer.postgresql.org/
then pick PostgreSQL Server CVS web interface.

That successfully displays you list of files.

Pick one, click on it and that file's history appears.

Click "download" and it fails consistently with the error:
------------------------------------------------------
Error
Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute
module reference invalid: `/pgsql-server/COPYRIGHT'

Check whether the directory /cvsroot//CVSROOT exists and the script has
write-access to the CVSROOT/history file if it exists.
The script needs to place lock files in the directory the file is in as
well.
------------------------------------------------------
The error is received no matter which file you pick.

I've got no problems with CVS, just the web interface CVSweb.

Best Regards, Simon Riggs

#4Andrew Dunstan
andrew@dunslane.net
In reply to: Simon Riggs (#3)
Re: CVS web interface error

Simon Riggs wrote:

On Mon, 2004-07-26 at 05:57, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

CVS web interface has not been working for a few days. Not important
right now, but something to fix soon-ish.

It works okay for me (modulo $PostgreSQL$ issue, see other thread).
What URL are you visiting to get the stated error?

No, this isn't a CVSup issue.

Go to http://developer.postgresql.org/
then pick PostgreSQL Server CVS web interface.

That successfully displays you list of files.

Pick one, click on it and that file's history appears.

Click "download" and it fails consistently with the error:
------------------------------------------------------
Error
Error: Unexpected output from cvs co: cvs [checkout aborted]: Absolute
module reference invalid: `/pgsql-server/COPYRIGHT'

Check whether the directory /cvsroot//CVSROOT exists and the script has
write-access to the CVSROOT/history file if it exists.
The script needs to place lock files in the directory the file is in as
well.
------------------------------------------------------
The error is received no matter which file you pick.

I've got no problems with CVS, just the web interface CVSweb.

This is probably related to some hardening Marc did recently to cope
with some CVS security issues. It can be seen at this URL, for example:

http://developer.postgresql.org/cvsweb.cgi/~checkout~/pgsql-server/README?rev=1.29&amp;content-type=text/plain

FWIW, cvsweb download is working fine (after a recent fix) on pgfoundry.

cheers

andrew

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Simon Riggs (#3)
Re: CVS web interface error

Simon Riggs <simon@2ndquadrant.com> writes:

Click "download" and it fails consistently with the error:

Hm, you're right; I hadn't tried that lately but it does fail for me
too. Weird. I'd not have thought that "download" would make a
different request to CVS than the "revision 1.n" link does ...
but those links still work ...

I'm betting it's some simple oversight in the cvsweb configuration.
Marc?

regards, tom lane

#6Marc G. Fournier
scrappy@postgresql.org
In reply to: Tom Lane (#5)
Re: CVS web interface error

Working on it ... it was a *really* old version, and from pgfoundry, I
imagine it has some issues with the newer CVS ... will post once I have a
new one in place that appears to work ...

On Mon, 26 Jul 2004, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

Click "download" and it fails consistently with the error:

Hm, you're right; I hadn't tried that lately but it does fail for me
too. Weird. I'd not have thought that "download" would make a
different request to CVS than the "revision 1.n" link does ...
but those links still work ...

I'm betting it's some simple oversight in the cvsweb configuration.
Marc?

regards, tom lane

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664

#7Simon Riggs
simon@2ndquadrant.com
In reply to: Marc G. Fournier (#6)
Re: CVS web interface error

On Mon, 2004-07-26 at 16:34, Marc G. Fournier wrote:

Working on it ... it was a *really* old version, and from pgfoundry, I
imagine it has some issues with the newer CVS ... will post once I have a
new one in place that appears to work ...

On Mon, 26 Jul 2004, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

Click "download" and it fails consistently with the error:

Hm, you're right; I hadn't tried that lately but it does fail for me
too. Weird. I'd not have thought that "download" would make a
different request to CVS than the "revision 1.n" link does ...
but those links still work ...

I'm betting it's some simple oversight in the cvsweb configuration.
Marc?

Not too important to me, and I guess I was the only user.

...only used when need to access code when no laptop, so rarely.

Best Regards, Simon Riggs

#8Marc G. Fournier
scrappy@postgresql.org
In reply to: Simon Riggs (#7)
Re: CVS web interface error

On Mon, 26 Jul 2004, Simon Riggs wrote:

On Mon, 2004-07-26 at 16:34, Marc G. Fournier wrote:

Working on it ... it was a *really* old version, and from pgfoundry, I
imagine it has some issues with the newer CVS ... will post once I have a
new one in place that appears to work ...

On Mon, 26 Jul 2004, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

Click "download" and it fails consistently with the error:

Hm, you're right; I hadn't tried that lately but it does fail for me
too. Weird. I'd not have thought that "download" would make a
different request to CVS than the "revision 1.n" link does ...
but those links still work ...

I'm betting it's some simple oversight in the cvsweb configuration.
Marc?

Not too important to me, and I guess I was the only user.

...only used when need to access code when no laptop, so rarely.

new one is up, found missing css file for the colors and whatnot ... new
one, I think, is alot nicer then the old ... or, at least, it has some
nifty new features :)

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664

#9Simon Riggs
simon@2ndquadrant.com
In reply to: Marc G. Fournier (#8)
Re: CVS web interface error

On Mon, 2004-07-26 at 19:10, Marc G. Fournier wrote:

On Mon, 26 Jul 2004, Simon Riggs wrote:

On Mon, 2004-07-26 at 16:34, Marc G. Fournier wrote:

Working on it ... it was a *really* old version, and from pgfoundry, I
imagine it has some issues with the newer CVS ... will post once I have a
new one in place that appears to work ...

On Mon, 26 Jul 2004, Tom Lane wrote:

Simon Riggs <simon@2ndquadrant.com> writes:

Click "download" and it fails consistently with the error:

Hm, you're right; I hadn't tried that lately but it does fail for me
too. Weird. I'd not have thought that "download" would make a
different request to CVS than the "revision 1.n" link does ...
but those links still work ...

I'm betting it's some simple oversight in the cvsweb configuration.
Marc?

Not too important to me, and I guess I was the only user.

...only used when need to access code when no laptop, so rarely.

new one is up, found missing css file for the colors and whatnot ... new
one, I think, is alot nicer then the old ... or, at least, it has some
nifty new features :)

Yes, it works and the new coat of paint looks good too. Thanks.

Best Regards, Simon Riggs