Thread: CVS web interface error

CVS web interface error

From
Simon Riggs
Date:
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.

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



Re: CVS web interface error

From
Tom Lane
Date:
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


Re: CVS web interface error

From
Simon Riggs
Date:
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



Re: CVS web interface error

From
Andrew Dunstan
Date:



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&content-type=text/plain

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

cheers

andrew


Re: CVS web interface error

From
Tom Lane
Date:
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


Re: CVS web interface error

From
"Marc G. Fournier"
Date:
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


Re: CVS web interface error

From
Simon Riggs
Date:
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



Re: CVS web interface error

From
"Marc G. Fournier"
Date:
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


Re: CVS web interface error

From
Simon Riggs
Date:
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