Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#14527 closed defect (fixed)

python25: hashlib module broken

Reported by: reiffert@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python25 hashlib Cc:
Port:

Description

g4:~ thomas$ python2.5 Python 2.5.2 (r252:60911, Feb 29 2008, 16:18:01) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import hashlib

Traceback (most recent call last):

File "<stdin>", line 1, in <module> File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module>

md5 = get_builtin_constructor('md5')

File "/opt/local/lib/python2.5/hashlib.py", line 60, in get_builtin_constructor

import _md5

ImportError: No module named _md5

We need this to work out for python30-doc as the Docs get build by python25 and import urllib2.

Attachments (1)

error.txt (544 bytes) - added by reiffert@… 17 years ago.

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by reiffert@…

Attachment: error.txt added

comment:1 Changed 17 years ago by reiffert@…

Have a look into the attached file "error.txt" as pasting the error message on trac make it look somewhat strange.

comment:2 Changed 17 years ago by reiffert@…

grep disabled_modu setup.py disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"]

It looks like this is causing the trouble.

comment:3 Changed 17 years ago by reiffert@…

Resolution: fixed
Status: newclosed

Just found .. http://trac.macports.org/projects/macports/ticket/14342

Installing py25-hashlib fixes my needs. Sigh.

Note: See TracTickets for help on using tickets.