darcs

Issue 1425 darcs get failure (network error?) (darcs 2.2.1)

Title darcs get failure (network error?) (darcs 2.2.1)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List Serware, darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, ndmitchell, simon, thorkilnaur, tux_rocker, wglozer
Assigned To
Topics Windows

Created on 2009-04-09.10:55:25 by kowey, last changed 2010-01-09.18:17:21 by kowey.

Files
File name Uploaded Type Edit Remove
log_debug.txt ndmitchell, 2009-08-30.07:34:38 text/plain
log_debug_no.txt ndmitchell, 2009-08-30.07:34:44 text/plain
unnamed kowey, 2009-04-09.10:55:24 message/rfc822
Messages
msg7610 (view) Author: kowey Date: 2009-04-09.10:55:24
I should have forwarded this to the bugtracker in the first place
Attachments
msg7618 (view) Author: kowey Date: 2009-04-09.11:22:52
Annoyingly enough, roundup displayed this is an attachment:

Neil got this error fetching an old-fashioned repository:
C:\Neil\tmp>darcs get http://community.haskell.org/~ndm/darcs/paper

darcs failed:  Failed to download URL
http://community.haskell.org/~ndm/darcs/paper/_darcs/patches/20080619151834-73ab9-f28cbe6ee0ea9e22246822598dd578317a7a5b37
.gz: Couldn't connect to server
Exception thrown by an atexit registered action:
./_darcs/patches/20080518204821-73ab9-9f5c0a7cc7d56224cb337b5de38debebf5edae45.gz-new_cfc8117d9554b5e2f6c8afa1b3b3b6dd:
removeFile: permission denied (Permission denied)

-----

So far, Neil has been able to replicate this on several Windows machines, but
nobody else (Trent has tried on his Linux box, I have tried on my Mac and also
on my Windows virtual machine).

If I understand correctly, Neil also reports that darcs 1.0.9 manages to do this
just fine.

Neil: could you supply the output of darcs get --debug, and perhaps darcs get
--debug --no-http-pipelining?

I'm tentatively marking this a Windows bug until we get more information.
msg7619 (view) Author: ndmitchell Date: 2009-04-09.11:28:46
> If I understand correctly, Neil also reports that darcs 1.0.9 manages to do this
> just fine.

Indeed, 1.0.9 has no problems.

> Neil: could you supply the output of darcs get --debug, and perhaps darcs get
> --debug --no-http-pipelining?

Yes, but not for about 2 weeks.

-- Neil
msg8474 (view) Author: kowey Date: 2009-08-24.15:45:08
Hi Neil,  May I nag about the output for
  darcs get --debug http://community.haskell.org/~ndm/darcs/paper
please?

I think it'd be useful if you could try with the recent Darcs 2.3 (on hackage).
 I think Salvatore's preparing a binary too if it helps.
msg8589 (view) Author: ndmitchell Date: 2009-08-30.07:34:44
> Hi Neil,  May I nag about the output for
>  darcs get --debug http://community.haskell.org/~ndm/darcs/paper
> please?

You should have nagged months ago :-) I totally forgot.

It works with --no-http-pipelinging, I've attached logs as below:

C:\Neil\temp>darcs --version
1.0.9 (release)

C:\Neil\temp>darcs2 --version
2.2.1 (release)

C:\Neil\temp>darcs get http://community.haskell.org/~ndm/darcs/paper
Directory 'C:/Neil/temp/paper' already exists, creating repository as 'C:/Neil/t
emp/paper_2'
Copying patch 308 of 308... done.
Applying patch 308 of 308... done.
Finished getting.

C:\Neil\temp>darcs2 get http://community.haskell.org/~ndm/darcs/paper
Directory 'C:/Neil/temp/paper' already exists, creating repository as 'C:/Neil/t
emp/paper_4'

darcs failed:  Failed to download URL http://community.haskell.org/~ndm/darcs/pa
per/_darcs/patches/20080519162437-73ab9-570f262bff6d3046f5222cc5e305653d3d66cf19
.gz: Couldn't connect to server
Exception thrown by an atexit registered action:
./_darcs/patches/20080518203513-73ab9-35e2919d0d8f8661ee2001c26269d6a17fce61c1.g
z-new_f18894b135d6f94fe7033846fcfa6c67: removeFile: permission denied (Permissio
n denied)

C:\Neil\temp>darcs2 get --debug http://community.haskell.org/~ndm/darcs/paper 1>
&2 2> log_debug.txt
Directory 'C:/Neil/temp/paper' already exists, creating repository as 'C:/Neil/t
emp/paper_8'

C:\Neil\temp>darcs2 get --debug --no-http-pipelining http://community.haskell.or
g/~ndm/darcs/paper 1>&2 2> log_debug_no.txt
Directory 'C:/Neil/temp/paper' already exists, creating repository as 'C:/Neil/t
emp/paper_9'

C:\Neil\temp>darcs2 get --no-http-pipelining http://community.haskell.org/~ndm/d
arcs/paper 1>&2 2> log_debug_no.txt
Directory 'C:/Neil/temp/paper' already exists, creating repository as 'C:/Neil/t
emp/paper_10'
Finished getting.
Attachments
msg8835 (view) Author: kirby Date: 2009-09-17.14:14:46
On Sun, Aug 30, 2009 at 9:33 AM, Neil Mitchell <ndmitchell@gmail.com> wrote:
>> Hi Neil,  May I nag about the output for
>>  darcs get --debug http://community.haskell.org/~ndm/darcs/paper
>> please?
>
> You should have nagged months ago :-) I totally forgot.
>
> It works with --no-http-pipelinging, I've attached logs as below:

Neil, could you try it with the brand-new darcs 2.3 windows binary? It
uses the most recent version of libcurl, so it could be fixed.

Salvatore
msg9759 (view) Author: ndmitchell Date: 2010-01-09.18:06:08
>> You should have nagged months ago :-) I totally forgot.
>>
>> It works with --no-http-pipelinging, I've attached logs as below:
>
> Neil, could you try it with the brand-new darcs 2.3 windows binary? It
> uses the most recent version of libcurl, so it could be fixed.

It works with your binary of 2.3.1. This issue can now be closed.

Thanks, Neil
msg9760 (view) Author: kowey Date: 2010-01-09.18:17:19
Thanks, Neil!
History
Date User Action Args
2009-04-09 10:55:26koweycreate
2009-04-09 11:22:59koweysetstatus: unread -> waiting-for
priority: bug
title: darcs get failure (network error?) -> darcs get failure (network error?) (darcs 2.2.1)
nosy: + wglozer, tux_rocker, eivuokko, kirby, Serware, jaredj
messages: + msg7618
topic: + Windows, Darcs2
2009-04-09 11:28:48ndmitchellsetnosy: + serware
messages: + msg7619
2009-08-24 15:45:12koweysettopic: - Darcs2
nosy: kowey, wglozer, eivuokko, ndmitchell, simon, thorkilnaur, jaredj, tux_rocker, dmitry.kurochkin, serware, Serware, kirby
messages: + msg8474
assignedto: ndmitchell
2009-08-25 17:43:13adminsetnosy: + darcs-devel, - simon
2009-08-27 14:32:20adminsetnosy: kowey, wglozer, darcs-devel, eivuokko, ndmitchell, thorkilnaur, jaredj, tux_rocker, dmitry.kurochkin, serware, Serware, kirby
2009-08-30 07:34:48ndmitchellsetfiles: + log_debug.txt, log_debug_no.txt
nosy: + simon
messages: + msg8589
2009-09-17 14:14:49kirbysetnosy: kowey, wglozer, darcs-devel, eivuokko, ndmitchell, simon, thorkilnaur, jaredj, tux_rocker, dmitry.kurochkin, serware, Serware, kirby
messages: + msg8835
2009-10-23 22:45:47adminsetnosy: - Serware
2009-10-23 23:28:05adminsetnosy: + Serware, - serware
2010-01-09 18:06:10ndmitchellsetmessages: + msg9759
2010-01-09 18:17:21koweysetstatus: waiting-for -> resolved
assignedto: ndmitchell ->
messages: + msg9760