hg clone: Unsupported hash type

Robert PINSKER robert.pinsker at st.com
Wed Nov 14 12:46:49 UTC 2012


Having successfully used mercurial to download gem5 on a virtual machine,  I'm now trying to repeat the exercise on our main company network.

This means that I have had to talk to our IT department to get the right libraries installed and all that kind of stuff.

Having overcome a few obstacles, such as getting the mercurial proxy set up, I now get this:



% hg clone http://repo.gem5.org/gem5-stable
destination directory: gem5-stable
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/sw/freetools/python/2.7.2/Linux/rh4/i686/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/sw/freetools/python/2.7.2/Linux/rh4/i686/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/sw/freetools/python/2.7.2/Linux/rh4/i686/lib/python2.7/hashlib.py", line 139, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/sw/freetools/python/2.7.2/Linux/rh4/i686/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
    raise ValueError('unsupported hash type %s' % name)
ValueError: unsupported hash type sha1
abort: cannot import name sha1!


Any ideas as to what's wrong?

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121114/044f4c90/attachment-0002.html>


More information about the Mercurial mailing list