«Unknown exception encountered»

Adrian Klaver adrian.klaver at gmail.com
Fri Apr 5 13:20:37 UTC 2013


On 04/05/2013 12:26 AM, Tony Mechelynck wrote:
> 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).

Two things:
1) If you want a later version of Mercurial you can get it here:
http://software.opensuse.org/package/mercurial
Click on show other versions
openSUSE 12.1
Show unstable packages
devel:tools:scm

2) The error looks below looks to me like a network error, somewhat 
confirmed by success on retry.


>    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.


-- 
Adrian Klaver
adrian.klaver at gmail.com



More information about the Mercurial mailing list