[rabbitmq-discuss] problem with hg clone http://hg.rabbitmq.com/rabbitmq-dotnet-client/

Michael Greene michael.greene at gmail.com
Fri Jun 19 14:17:22 BST 2009


This similar issue was reported back in March and never resolved:

http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-March/003493.html

Every once in awhile (25% maybe?) a rabbitmq-dotnet-client clone works
for me, regardless of OS or network location.  I'd recommend trying
again.

Michael

On Fri, Jun 19, 2009 at 8:06 AM, Ryan Davis<ryan at acceleration.net> wrote:
> I am on a fast, wired connection, and still no dice with hg 1.2.1 /cygwin:
>
> $ hg clone http://hg.rabbitmq.com/rabbitmq-dotnet-client/
> destination directory: rabbitmq-dotnet-client
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> transaction abort!
> rollback completed
> ** unknown exception encountered, details follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.2.1)
> ** Extensions loaded:
> Traceback (most recent call last):
>  File "/usr/bin/hg", line 5, in <module>
>    pkg_resources.run_script('mercurial==unknown', 'hg')
>  File "build/bdist.linux-i686/egg/pkg_resources.py", line 448, in
> run_script
>  File "build/bdist.linux-i686/egg/pkg_resources.py", line 1166, in
> run_script
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/EGG-INFO/scripts/hg",
> line 27, in <module>
>    mercurial.dispatch.run()
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 16, in run
>    sys.exit(dispatch(sys.argv[1:]))
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 25, in dispatch
>    return _runcatch(u, args)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 41, in _runcatch
>    return _dispatch(ui, args)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 372, in _dispatch
>    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 247, in runcommand
>    ret = _runcommand(ui, options, cmd, d)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 417, in _runcommand
>    return checkargs()
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 377, in checkargs
>    return cmdfunc()
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/dispatch.py",
> line 371, in <lambda>
>    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/util.py",
> line 718, in check
>    return func(*args, **kwargs)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/commands.py",
> line 603, in clone
>    update=not opts.get('noupdate'))
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/hg.py",
> line 215, in clone
>    dest_repo.clone(src_repo, heads=revs, stream=stream)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/localrepo.py",
> line 2152, in clone
>    return self.pull(remote, heads)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/localrepo.py",
> line 1495, in pull
>    return self.addchangegroup(cg, 'pull', remote.url())
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/localrepo.py",
> line 2043, in addchangegroup
>    if fl.addgroup(chunkiter, revmap, trp) is None:
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/revlog.py",
> line 1192, in addgroup
>    for chunk in revs:
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/changegroup.py",
> line 31, in chunkiter
>    c = getchunk(source)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/changegroup.py",
> line 21, in getchunk
>    d = source.read(l - 4)
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/util.py",
> line 1674, in read
>    for chunk in self.iter:
>  File
> "/usr/lib/python2.5/site-packages/mercurial-unknown-py2.5-cygwin-1.5.25-i686.egg/mercurial/httprepo.py",
> line 18, in zgenerator
>    yield zd.decompress(chunk)
> zlib.error: Error -3 while decompressing: invalid code lengths set
>
> I'll try a different network this weekend.
>
> Thanks,
>
> Ryan Davis
> Acceleration.net
> Director of Programming Services
> 2831 NW 41st street, suite B
> Gainesville, FL 32606
>
> Office: 352-335-6500 x 124
> Fax: 352-335-6506
>
>
>
> Matthias Radestock wrote:
>> Ryan,
>>
>> Ryan Davis wrote:
>>> I'm having trouble checking out the .net client source from mercurial
>>> [...]
>>> I've tried this using cygwin's hg and TortoiseHG on Windows, and
>>> using hg on ubuntu, all with a similar errors.  A few other things
>>> lead me to believe this is a problem with the configuration of the
>>> rabbitmq-dotnet-client repository:
>>>
>>>    1. the zip/bz2/gz archives I can download from
>>>       http://hg.rabbitmq.com/rabbitmq-dotnet-client/ are all corrupt
>>>    2. "hg clone http://hg.rabbitmq.com/rabbitmq-java-client/" works
>>>       perfectly
>>>    3. the zip archive I downloaded from
>>>       http://hg.rabbitmq.com/rabbitmq-java-client/ works perfectly
>>>
>>> I'm primarily using cygwin with hg version 1.1.
>>
>> Are you still seeing this problem?
>>
>> There is nothing special about the .net client repo; the config hasn't
>> changed and it gets served by the same software as all the other repos.
>>
>> What is different though is that the repo is larger than some of the
>> other repos. My guess is that either you are experiencing networking
>> problems or there is a bug in the hg client.
>>
>> I suggest trying the following:
>>
>> - get hold of a more recent version of hg, say 1.2.1
>> - use a fast, wired connection, from a different location (and
>> preferably not behind some corp firewall)
>>
>>
>> Regards,
>>
>> Matthias.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>




More information about the rabbitmq-discuss mailing list