«Unknown exception encountered»
Tony Mechelynck
antoine.mechelynck at gmail.com
Fri Apr 5 07:26:13 UTC 2013
While doing "hg in" for my clone of the Vim repository, I got the
exception below. Repeating the operation worked normally (also shown).
I'm not sure if it's a Mercurial bug, a Python bug, a bug somewhere
else, or even if I should leave it at that. Please don't tell me to
upgrade Mercurial: I know it isn't the latest and greatest, but it's the
Mercurial version that comes with my Linux distro (openSUSE 12.1).
linux:~/.build/vim/vim-hg/vim # hg in || echo 'exit status' $? ; date
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC]
** Mercurial Distributed SCM (version 1.9.3)
** Extensions loaded: children, churn, extdiff, fetch, graphlog, hgk,
pager, share, progress, mq
Traceback (most recent call last):
File "/usr/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
27, in run
sys.exit(dispatch(request(sys.argv[1:])))
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
64, in dispatch
return _runcatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
87, in _runcatch
return _dispatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
688, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
463, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py",
line 182, in wrap
return wrapper(origfn, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/pager.py", line 107,
in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
742, in _runcommand
return checkargs()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
696, in checkargs
return cmdfunc()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
685, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
389, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py",
line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
389, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/mq.py", line 3218, in
mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
389, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py",
line 137, in wrap
util.checksignature(origfn), *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
389, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/graphlog.py", line
397, in graph
return orig(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
389, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line
3266, in incoming
return hg.incoming(ui, repo, source, opts)
File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 480,
in incoming
return _incoming(display, subreporecurse, ui, repo, source, opts)
File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 432,
in _incoming
other = peer(repo, opts, source)
File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 104,
in peer
return repository(rui, path, create)
File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 93,
in repository
repo = _peerlookup(path).instance(ui, path, create)
File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line
233, in instance
inst._fetchcaps()
File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line
56, in _fetchcaps
self.caps = set(self._call('capabilities').split())
File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line
166, in _call
fp = self._callstream(cmd, **args)
File "/usr/lib64/python2.7/site-packages/mercurial/httprepo.py", line
116, in _callstream
resp = self.urlopener.open(req)
File "/usr/lib64/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/site-packages/mercurial/url.py", line 362,
in https_open
return self.do_open(self._makeconnection, req)
File "/usr/lib64/python2.7/site-packages/mercurial/keepalive.py",
line 256, in do_open
self._start_transaction(h, req)
File "/usr/lib64/python2.7/site-packages/mercurial/url.py", line 348,
in _start_transaction
return keepalive.KeepAliveHandler._start_transaction(self, h, req)
File "/usr/lib64/python2.7/site-packages/mercurial/keepalive.py",
line 354, in _start_transaction
h.endheaders()
File "/usr/lib64/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 811, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/site-packages/mercurial/url.py", line 135,
in _sendfile
orgsend(self, data)
File "/usr/lib64/python2.7/site-packages/mercurial/keepalive.py",
line 537, in safesend
self.connect()
File "/usr/lib64/python2.7/site-packages/mercurial/url.py", line 337,
in connect
sslutil.validator(self.ui, host)(self.sock)
File "/usr/lib64/python2.7/site-packages/mercurial/sslutil.py", line
97, in __call__
msg = _verifycert(sock.getpeercert(), host)
File "/usr/lib64/python2.7/ssl.py", line 172, in getpeercert
return self._sslobj.peer_certificate(binary_form)
AttributeError: 'NoneType' object has no attribute 'peer_certificate'
exit status 1
Fri Apr 5 08:53:03 CEST 2013
linux:~/.build/vim/vim-hg/vim # hg in || echo 'exit status' $? ; date
comparing with https://vim.googlecode.com/hg/
searching for changes
no changes found
exit status 1
Fri Apr 5 08:53:36 CEST 2013
Best rregards,
Tony.
--
Someone will try to honk your nose today.
More information about the Mercurial
mailing list