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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'below).': 0.07; 'broken.': 0.07; 'received:verizon.net': 0.07; 'subject:code': 0.07; 'terry': 0.07; 'python': 0.08; 'interpreter.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'valueerror:': 0.09; 'am,': 0.12; 'library': 0.13; 'subject:was': 0.15; 'hashlib': 0.16; 'name)': 0.16; 'openssl': 0.16; 'reedy': 0.16; 'sha1': 0.16; 'wrote:': 0.18; 'jan': 0.19; 'suggest': 0.20; '(most': 0.21; 'subject:not': 0.21; 'header:In-Reply-To:1': 0.22; 'traceback': 0.24; 'says': 0.25; 'skip:_ 20': 0.26; 'raise': 0.28; 'depends': 0.28; 'skip:" 30': 0.28; 'module.': 0.29; 'error': 0.29; 'lines': 0.30; 'hash': 0.30; 'redhat': 0.30; 'hi,': 0.32; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'to?': 0.34; 'last):': 0.34; 'running': 0.35; 'file': 0.36; '...': 0.36; 'executing': 0.37; 'mike': 0.38; 'received:org': 0.38; 'should': 0.39; 'to:addr:python.org': 0.40; 'might': 0.40; 'type': 0.61; 'your': 0.61; 'our': 0.64; 'due': 0.66; 'hand,': 0.76; 'br,': 0.84; 'subject::': 0.87; 'subject:found': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: ERROR:root:code for hash md5 was not found
Date Wed, 11 Jan 2012 13:25:16 -0500
References <f777e948-02ca-45d3-a858-73e0003d7bcc@t13g2000vbt.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <f777e948-02ca-45d3-a858-73e0003d7bcc@t13g2000vbt.googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4660.1326306356.27778.python-list@python.org> (permalink)
Lines 42
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326306356 news.xs4all.nl 6911 [2001:888:2000:d::a6]:45567
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18842

Show key headers only | 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