Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18842

Re: ERROR:root:code for hash md5 was not found

From Terry Reedy <tjreedy@udel.edu>
Subject Re: ERROR:root:code for hash md5 was not found
Date 2012-01-11 13:25 -0500
References <f777e948-02ca-45d3-a858-73e0003d7bcc@t13g2000vbt.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.4660.1326306356.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 1/11/2012 6:19 AM, mike wrote:
> Hi,
>
> We are running are running Python program on Redhat 5.5.
>
> When executing our program we get the following error ( see below).
>
> Any ideas what this is due to?
>
> br,
>
> //mike
>
> /pysibelius/lib/common/

> DataTypes.py
> Overwriten ...
> ERROR:root:code for hash md5 was not found.

These 3 lines do not come from the interpreter.
It might come from the hashlib module.

> Traceback (most recent call last):
>    File "/python/lib/python2.7/hashlib.py", line 139, in<module>
>      globals()[__func_name] = __get_hash(__func_name)
>    File "/python/lib/python2.7/hashlib.py", line 91, in
> __get_builtin_constructor
>      raise ValueError('unsupported hash type %s' % name)
> ValueError: unsupported hash type md5

This is a standard traceback from the interpreter.
The manual says that md5 should always be available.
On the other hand, hashlib depends on the OpenSSL library on your 
system. Perhaps RedHat removed md5 because it has been broken.
I suggest you ask them or check your OpenSSL doc. The Python manual may 
need to be changed.

> ERROR:root:code for hash sha1 was not found

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 03:19 -0800
  Re: ERROR:root:code for hash md5 was not found Laurent Claessens <moky.math@gmail.com> - 2012-01-11 12:28 +0100
    Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 05:54 -0800
      Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-11 23:28 +0000
        Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 22:13 -0800
          Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 23:25 -0800
          Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-13 03:34 +0000
            Re: ERROR:root:code for hash md5 was not found alex23 <wuwei23@gmail.com> - 2012-01-12 20:41 -0800
              Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-13 06:14 -0800
                Re: ERROR:root:code for hash md5 was not found Michael Torrie <torriem@gmail.com> - 2012-01-13 09:49 -0700
                Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-14 04:30 +0000
                Re: ERROR:root:code for hash md5 was not found Marc Christiansen <usenet@solar-empire.de> - 2012-01-14 13:33 +0100
    Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 12:12 -0500
  Re: ERROR:root:code for hash md5 was not found Terry Reedy <tjreedy@udel.edu> - 2012-01-11 13:25 -0500
  Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 21:23 -0500

csiph-web