Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357757 - dev-vcs/mercurial-1.8: KeyError: 'content-type'
Summary: dev-vcs/mercurial-1.8: KeyError: 'content-type'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL: http://mercurial.selenic.com/bts/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 12:28 UTC by Martin von Gagern
Modified: 2011-08-13 14:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-03-07 12:28:09 UTC
$ hg clone http://crayzedsgui.hg.sourceforge.net:8000/hgroot/crayzedsgui/crayzedsgui
real URL is http://sourceforge.net/
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.1 (r271:86832, Feb 23 2011, 09:24:40) [GCC 4.5.2]
** Mercurial Distributed SCM (version 1.8)
** Extensions loaded: forest, fetch, mq, hgk, hgview
Traceback (most recent call last):
  File "/usr/bin/hg-2.7", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 16, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 36, in dispatch
    return _runcatch(u, args)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 58, in _runcatch
    return _dispatch(ui, args)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 601, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 406, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 655, in _runcommand
    return checkargs()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 609, in checkargs
    return cmdfunc()
  File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 598, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 433, in check
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 825, in clone
    branch=opts.get('branch'))
  File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 221, in clone
    src_repo = repository(ui, source)
  File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 94, in repository
    repo = _lookup(path).instance(ui, path, create)
  File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line 199, in instance
    inst.between([(nullid, nullid)])
  File "/usr/lib64/python2.7/site-packages/mercurial/wireproto.py", line 68, in between
    d = self._call("between", pairs=n)
  File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line 137, in _call
    fp = self._callstream(cmd, **args)
  File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line 110, in _callstream
    proto = resp.headers['content-type']
  File "/usr/lib64/python2.7/rfc822.py", line 388, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-type'
Comment 1 Martin von Gagern 2011-03-07 12:42:52 UTC
Upstream report seems to be http://mercurial.selenic.com/bts/issue2019
Added some details (wireshark transcript in particular) there.
Comment 2 Nikolaj Šujskij 2011-08-09 07:02:50 UTC
Seems to be resolved in Mercurial 1.9
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-08-13 14:42:20 UTC
(In reply to comment #2)
> Seems to be resolved in Mercurial 1.9

Ok, thanks for reporting this.