darcs

Issue 1480 darcs get over HTTP hangs

Title darcs get over HTTP hangs
Priority urgent Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, thorkilnaur, wglozer, zooko
Assigned To
Topics Windows

Created on 2009-06-15.20:14:01 by zooko, last changed 2009-08-27.14:21:39 by admin.

Messages
msg7911 (view) Author: zooko Date: 2009-06-15.20:13:58
"darcs get" over HTTP seems to hang on my Windows machine.  The output when run
with -v -v -v --debug --timing ends with this:

  * setup: upgrade to my hacked version of ez_setup.py
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: I'm doing copyFileUsingCache on
patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: In fetchFileUsingCachePrivate
I'm going manually
Mon Jun 15 12:37:35 Pacific Daylight Time 2009:     getting
0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
Mon Jun 15 12:37:35 Pacific Daylight Time 2009:     from
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.copyUrlWithPriority
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
                      -> .\darcs1248)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.waitUrl
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.copyUrlWithPriority
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
                      -> .\darcs1248)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.waitUrl
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000576489-6df45c59d0495944fef83b4c03d267e0bf329fe18c2d34b4d425984489682c1e
C:/cygwin/home/buildslave/.darcs/cache/patches/0000576489-6df45c59d0495944fef83b4c03d267e0bf329fe18c2d34b4d425984489682c1e
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef
            ->
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
            -> .\darcs1248)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
            -> .\darcs1248)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: Moving
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
to head of download queue.
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: Ignoring UrlRequest of file
that's already queued.
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.request_url
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
              -> .\darcs1248)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.request_url succeeded
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.request_url
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef
              ->
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef)
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.request_url succeeded
Mon Jun 15 12:37:35 Pacific Daylight Time 2009: URL.waitNextUrl start
Mon Jun 15 12:37:36 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000008539-b908568fb63492eec873aaf44c928f78ed08da1689069a735507880c0953ed07
.\darcs1248
Mon Jun 15 12:37:36 Pacific Daylight Time 2009: URL.waitNextUrl start
Mon Jun 15 12:37:36 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000503-38c68d381a834685d4c347e9e096084bd94ad49b8ee04bdb3ac86bf5b57a07ef


When I hit C-c I see that it was waiting for 32 minutes:

real    32m39.477s
user    0m0.030s
sys     0m0.060s


Then when I try the same command again it stops on a different URL:

Mon Jun 15 13:11:02 Pacific Daylight Time 2009: Reading patch file: Mon Jan  5
09:20:57 Pacific Standard Time 2009  zooko@zooko.com
  * docs: update docs a little
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: I'm doing copyFileUsingCache on
patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: In fetchFileUsingCachePrivate
I'm going manually
Mon Jun 15 13:11:02 Pacific Daylight Time 2009:     getting
0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
Mon Jun 15 13:11:02 Pacific Daylight Time 2009:     from
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.copyUrlWithPriority
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
                      -> .\darcs1104)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitUrl
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.copyUrlWithPriority
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
                      -> .\darcs1104)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitUrl
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000622753-d93597a800ff661de17666d8345d83a1302d79cc39f6c97cdf82f3b05b1623d8
C:/cygwin/home/buildslave/.darcs/cache/patches/0000622753-d93597a800ff661de17666d8345d83a1302d79cc39f6c97cdf82f3b05b1623d8
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290
            ->
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
            -> .\darcs1104)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.urlThread
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
            -> .\darcs1104)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: Moving
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
to head of download queue.
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: Ignoring UrlRequest of file
that's already queued.
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.request_url
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
              -> .\darcs1104)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.request_url succeeded
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.request_url
(http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290
              ->
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290)
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.request_url succeeded
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitNextUrl start
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000707-97f7f2f1772d12f61dfdd32eac1f13cc941f2f5ea393d4b1061bd869449c1134
.\darcs1104
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitNextUrl start
Mon Jun 15 13:11:02 Pacific Daylight Time 2009: URL.waitNextUrl succeeded:
http://allmydata.org/source/zfec/trunk-hashedformat/_darcs/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290
C:/cygwin/home/buildslave/.darcs/cache/patches/0000000675-0731b722367c4c85e853e62bd2da86d04756c591c3601509cea4a6edca980290



$ darcs --version
2.1.99.0 (release)


$ darcs query repo
          Type: darcs
        Format: hashed
          Root: C:/cygwin/home/buildslave/playground/zfec
      Pristine: HashedPristine
         Cache: thisrepo:C:/cygwin/home/buildslave/playground/zfec,
cache:C:\Documents and Settings\buildslave\Application Data\darcs\cache,
repo:http://allmydata.org/source/zfec/trunk-hashedformat,
thisrepo:C:/cygwin/home/buildslave/playground/trunk-hashedformat,
cache:C:/cygwin/home/buildslave/.darcs/cache
boringfile Pref: .darcs-boringfile
Default Remote: http://allmydata.org/source/zfec/trunk-hashedformat
   Num Patches: 282
msg7912 (view) Author: zooko Date: 2009-06-15.21:03:54
I tried upgrading from 2.1.99 to the 2.2.1 packaged by Salvatore, and that fixed
the bug.  Someone should remove from the wiki the packages that I built that
have 2.1.99.  (I just tried but I can't login to the wiki - I think it is having
troubles.)

Actually, it would really be better if someone would copy the better executable
from 2.2.1 into the packages that I built and upload new ones.  Then people
would get the putty executables and the install instructions that I worked on.
History
Date User Action Args
2009-06-15 20:14:02zookocreate
2009-06-15 21:03:58zookosetstatus: unread -> resolved
nosy: kowey, zooko, simon, thorkilnaur, dmitry.kurochkin
messages: + msg7912
2009-08-10 02:05:55twbsetpriority: urgent
nosy: kowey, zooko, simon, thorkilnaur, dmitry.kurochkin
2009-08-10 02:06:01twbsettopic: + Windows
nosy: + wglozer, eivuokko, kirby, jaredj
2009-08-25 17:45:40adminsetnosy: + darcs-devel, - simon
2009-08-27 14:21:39adminsetnosy: kowey, wglozer, darcs-devel, zooko, eivuokko, thorkilnaur, jaredj, dmitry.kurochkin, kirby