darcs

Issue 392 get --partial => openBinaryFile: does not exist (1.0.8)

Title get --partial => openBinaryFile: does not exist (1.0.8)
Priority not-our-bug Status resolved
Milestone Resolved in
Superseder unrecording checkpoint patch quietly breaks things
View: 517
Nosy List darcs-devel, dmitry.kurochkin, ellson, kowey, markstos, steve, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-01-12.17:29:20 by ellson, last changed 2009-10-23.23:54:19 by admin.

Messages
msg1408 (view) Author: ellson Date: 2007-01-12.17:29:19
Attempting to extract Io to a Fedora x86_64 client using 
darcs-1.0.8-4.fc7.x86_64.rpm
fails with:
    ellson@ontap:build> darcs get --partial 
http://www.iolanguage.com/darcs/Io
    Copying patch 224 of 224... done!
    Applying patch 2 of 224... Unapplicable patch:
    Mon Nov 27 10:46:11 EST 2006  steve@dekorte.com
      * namespace cleanup
    darcs: ./libs/iovm/io/Debugger.io: openBinaryFile: does not exist 
(No such file or directory)

Same command on an i386 system succeeded once, then failed the same way 
on a second test
(after rm -rf Io )
msg1409 (view) Author: ellson Date: 2007-01-12.18:02:47
This may be a problem with the --partial option, which isn't descibed in 
the darcs manpage, BTW.

Doing a get without --partial succeeded twice in a row.

    ellson@ontap:build> rm -rf Io
    ellson@ontap:build> darcs get http://www.iolanguage.com/darcs/Io
    Copying patch 636 of 636... done!
    Applying patch 636 of 636... done.
    Finished getting.
msg1410 (view) Author: droundy Date: 2007-01-12.19:04:35
On Fri, Jan 12, 2007 at 12:57:03PM -0500, John Ellson wrote:
> John Ellson wrote:
> >Attempting to extract Io to a Fedora x86_64 client using 
> >darcs-1.0.8-4.fc7.x86_64.rpm
> >fails with:
> >    ellson@ontap:build> darcs get --partial 
> >http://www.iolanguage.com/darcs/Io
> >    Copying patch 224 of 224... done!
> >    Applying patch 2 of 224... Unapplicable patch:
> >    Mon Nov 27 10:46:11 EST 2006  steve@dekorte.com
> >      * namespace cleanup
> >    darcs: ./libs/iovm/io/Debugger.io: openBinaryFile: does not exist 
> >(No such file or directory)
> >
> >Same command on an i386 system succeeded once, then failed the same way 
> >on a second test
> >(after rm -rf Io )

> This may be a problem with the --partial option, which isn't descibed in 
> the darcs manpage, BTW.
> 
> Doing a get without --partial succeeded twice in a row.
> 
>    ellson@ontap:build> rm -rf Io
>    ellson@ontap:build> darcs get http://www.iolanguage.com/darcs/Io
>    Copying patch 636 of 636... done!
>    Applying patch 636 of 636... done.
>    Finished getting.

Sounds like a problem with the checkpoint patch.  I can't reproduce this,
it looks like maybe the Io developers have removed the checkpoint file?

I get:

$ darcs get --partial http://www.iolanguage.com/darcs/Io
Copying patch 185 of 636...

which suggests that the developers have removed the offending checkpoint
(and in fact, all checkpoints).  We can't tell what happened without this.
:(

David
msg1415 (view) Author: ellson Date: 2007-01-13.19:09:49
I don't understand whats going on here.   I get the same errors today.

I'm using darcs-1.0.8-4.fc7.x86_64 from Fedora-development distro.

    ellson@ontap:build> rm -rf Io
    ellson@ontap:build> darcs get --partial 
http://www.iolanguage.com/darcs/Io
    Copying patch 229 of 229... done!
    Applying patch 2 of 229... Unapplicable patch:
    Mon Nov 27 10:46:11 EST 2006  steve@dekorte.com
      * namespace cleanup
    darcs: ./libs/iovm/io/Debugger.io: openBinaryFile: does not exist 
(No such file or directory)

Then dropping --partial works OK:

    ellson@ontap:build> rm -rf Io
    ellson@ontap:build> darcs get  http://www.iolanguage.com/darcs/Io
    Copying patch 641 of 641... done!
    Applying patch 641 of 641... done.
    Finished getting.

But then I get this problem when I try to pull updates:
ellson@ontap:build> cd Io
ellson@ontap:Io> darcs pull http://www.iolanguage.com/darcs/Io

    darcs failed:  Can't understand repository format: <UL>
    Can't understand repository format: <br>
    Can't understand repository format: <h1> The page you requested has 
moved. <br><br>
    Can't understand repository format: Please use the navigation bar 
above to find it.</h1>
    Can't understand repository format: <BR>
    Can't understand repository format: <BR>
    Can't understand repository format: <BR>
    Can't understand repository format: <BR>
    Can't understand repository format: </UL>
    Can't understand repository format: </font>
    Can't understand repository format: </body>
    Can't understand repository format: </html>
    Can't understand repository format:

John
msg1416 (view) Author: tommy Date: 2007-01-13.22:22:01
[...]
> I don't understand whats going on here.   I get the same errors today.
> 
> I'm using darcs-1.0.8-4.fc7.x86_64 from Fedora-development distro.
> 
>    ellson@ontap:build> rm -rf Io
>    ellson@ontap:build> darcs get --partial 
> http://www.iolanguage.com/darcs/Io
>    Copying patch 229 of 229... done!
>    Applying patch 2 of 229... Unapplicable patch:
>    Mon Nov 27 10:46:11 EST 2006  steve@dekorte.com
>      * namespace cleanup
>    darcs: ./libs/iovm/io/Debugger.io: openBinaryFile: does not exist 
> (No such file or directory)

I used a normal browser and looked inside
http://www.iolanguage.com/darcs/Io/_darcs/checkpoints/ and that
directory is empty. Now, how comes your darcs finds a checkpoint
file...??? Is there some caching proxy in between your darcs and
the remote repo?

> Then dropping --partial works OK:
> 
>    ellson@ontap:build> rm -rf Io
>    ellson@ontap:build> darcs get  http://www.iolanguage.com/darcs/Io
>    Copying patch 641 of 641... done!
>    Applying patch 641 of 641... done.
>    Finished getting.
> 
> But then I get this problem when I try to pull updates:
> ellson@ontap:build> cd Io
> ellson@ontap:Io> darcs pull http://www.iolanguage.com/darcs/Io
> 
>    darcs failed:  Can't understand repository format: <UL>
>    Can't understand repository format: <br>
>    Can't understand repository format: <h1> The page you requested has 
> moved. <br><br>
>    Can't understand repository format: Please use the navigation bar 
> above to find it.</h1>

Or did darcs --partial "find" the checkpoint "<h1> The page your
requested has moved..."? But then it would surely have
complained about bad checkpoint format, wouldn't it?
msg1417 (view) Author: tommy Date: 2007-01-13.22:43:39
Hm, something in the bug tracker ate parts of my last mail. The
quote extended above the [...], and I had a signature at the
end. ???
msg1418 (view) Author: ellson Date: 2007-01-13.23:31:42
I see the same here using firefox.

> Now, how comes your darcs finds a checkpoint
> file...??? Is there some caching proxy in between your darcs and
> the remote repo?
>   

Perhaps the pull problem is that there is no checkpoint?   I get the 
moved message from the empty directory:

ellson@ontap:~> telnet www.iolanguage.com 80
Trying 72.1.148.109...
Connected to www.iolanguage.com (72.1.148.109).
Escape character is '^]'.
GET /darcs/Io/_darcs/checkpoints/ HTTP/1.0

HTTP/1.1 404 Not Found
Date: Sat, 13 Jan 2007 23:25:22 GMT
Server: Apache/1.3.33 (Darwin) mod_ssl/2.8.24 OpenSSL/0.9.7l
Connection: close
Content-Type: text/html

<html>
<head>
    <title>steve dekorte</title>
    <link rel="stylesheet" href="/site.css">
    <META HTTP-EQUIV="EXPIRES" CONTENT=0>
</head>
<body>
<ul>
<br><a href=/><span class=selectedMenu>steve dekorte</span></a>

<br><br>

<a href=/blog><span class=unselectedMenu>blog</span></a>
<span class=divider>|</span>
<a href=/contact><span class=unselectedMenu>contact</span></a>
<span class=divider>|</span>
<a href=/docs><span class=unselectedMenu>docs</span></a>
<span class=divider>|</span>
<a href=/projects><span class=unselectedMenu>projects</span></a>
</ul><div class=horizontalBar></div>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr>
<td align=right>
<a href=/menu.cgi?action=editAction&path=><span 
class=wikiMenuText>edit</span></a>
<span class=wikiMenuDivider>|</span>
<a href=/menu.cgi?action=removeAction&path=><span 
class=wikiMenuText>remove</span></a>
<span class=wikiMenuDivider>|</span>
<a href=/menu.cgi?action=addAction&path=><span 
class=wikiMenuText>add</span></a> 
&nbsp;
</td>
</tr>
</table>

<UL>

<br>
<h1> The page you requested has moved. <br><br>
Please use the navigation bar above to find it.</h1>

<BR>
<BR>
<BR>
<BR>
</UL>
</font>

</body>
</html>
Connection closed by foreign host.
msg1536 (view) Author: kowey Date: 2007-03-10.12:19:25
The Io folks seem to have rebuilt their repository from scratch (i say this
because now there are 6 patches from a complete get).  Looks like we might never
get to the bottom of this.

Marking not-our-bug for lack of a better idea.
msg1538 (view) Author: steve Date: 2007-03-10.18:35:34
On 10 Mar 2007, at 04:19 am, Eric Kow wrote:
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> The Io folks seem to have rebuilt their repository from scratch (i  
> say this
> because now there are 6 patches from a complete get).  Looks like  
> we might never
> get to the bottom of this.
>
> Marking not-our-bug for lack of a better idea.

The old repo is at:

http://www.iolanguage.com/darcs/Io2

Btw, we've found we have to rebuild the repo ever 6 months or so to  
get around this problem.
msg1539 (view) Author: kowey Date: 2007-03-10.19:26:20
On Sat, Mar 10, 2007 at 18:35:46 +0000, Steve Dekorte wrote:
> http://www.iolanguage.com/darcs/Io2

hmm, I think you meant maybe
http://www.iolanguage.com/darcs/IoOld

For what it's worth, I was able to get --partial it with 1.0.9rc2
on MacOS X.
msg1540 (view) Author: steve Date: 2007-03-10.20:32:38
On 10 Mar 2007, at 11:26 am, Eric Kow wrote:
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> On Sat, Mar 10, 2007 at 18:35:46 +0000, Steve Dekorte wrote:
>> http://www.iolanguage.com/darcs/Io2
>
> hmm, I think you meant maybe
> http://www.iolanguage.com/darcs/IoOld

Yup, thanks.

> For what it's worth, I was able to get --partial it with 1.0.9rc2
> on MacOS X.

The recent problem wasn't with getting, it was with either pushing or  
pulling to the repo. Darcs would just hang for hours at 100% cpu  
utilization.

- Steve
msg2470 (view) Author: markstos Date: 2008-01-14.03:52:22
I believe this isuse with partial repos and checkpoints is resolved in unstable
with darcs-2 and the --darcs-2 format.
History
Date User Action Args
2007-01-12 17:29:20ellsoncreate
2007-01-12 18:02:54ellsonsetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1409
2007-01-12 19:04:42droundysetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1410
2007-01-13 19:09:57ellsonsetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1415
2007-01-13 22:22:09tommysetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1416
2007-01-13 22:43:48tommysetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1417
2007-01-13 23:31:52ellsonsetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1418
2007-03-10 12:19:26koweysetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1536
title: Io repository fails -> get --partial => openBinaryFile: does not exist (1.0.8)
2007-03-10 18:35:46stevesetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1538
2007-03-10 19:26:26koweysetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1539
2007-03-10 20:32:45stevesetnosy: droundy, tommy, beschmi, kowey, steve, ellson
messages: + msg1540
2008-01-14 03:52:24markstossetstatus: unknown -> resolved-in-unstable
nosy: + markstos
superseder: + unrecording checkpoint patch quietly breaks things
messages: + msg2470
2008-09-04 21:30:17adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:45:57adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, steve, ellson
2009-08-06 20:41:39adminsetnosy: - beschmi
2009-08-10 22:01:02adminsetnosy: + steve, ellson, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:59:06adminsetnosy: - dagit
2009-08-25 17:57:45adminsetnosy: + darcs-devel, - simon
2009-08-27 14:06:04adminsetnosy: tommy, kowey, markstos, darcs-devel, steve, ellson, thorkilnaur, dmitry.kurochkin
2009-10-23 22:35:57adminsetnosy: + jellson, - ellson
2009-10-23 23:54:19adminsetnosy: + ellson, - jellson