https://qa.mandriva.com/show_bug.cgi?id=36016 Summary : python hash libraries missing, can not resolve md5/_md5 for example (after 2.5.1 hashlib reorg)
Product : Mandriva Linux
Component : Core Packages
Version : Cooker
RPM Package: python-2.5.1-5mdv2008.0
Keywords : NEEDINFO, Triaged
Status : ASSIGNED
Severity : normal
Priority : normal
Assigned To:
misc@...
Reported By:
tamas.visegrady@...
--- Comment #5 from T Visegrady <
tamas.visegrady@...> 2008-06-21 23:59:06 CEST ---
Can be closed, although there is a real problem beneath but could not track
down and it's probably very low priority. The missing _md5 object is
installed by an openssl package of a higher version than what this python
.rpm settled on (through urpmi). Upgrading openssl from cooker solved the
problem in the end; no doubt a fresh install also would.
I've got a new PC with a fresh install now, but can try to look up the
version numbers (logged the two involved openssl versions somewhere, just
for reference).
Michael Scherer wrote:
>
https://qa.mandriva.com/show_bug.cgi?id=36016>
> Summary : python hash libraries missing, can not resolve md5/_md5 for example (after 2.5.1 hashlib reorg)
> Product : Mandriva Linux
> Component : Core Packages
> Version : Cooker
> RPM Package: python-2.5.1-5mdv2008.0
> Keywords : NEEDINFO, Triaged
> Status : ASSIGNED
> Severity : normal
> Priority : normal
> Assigned To:
misc@...
> Reported By:
tamas.visegrady@...
>
>
> Michael Scherer <
misc@...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Keywords| |NEEDINFO
>
>
>
>
> --- Comment #4 from Michael Scherer <
misc@...> 2008-06-21 19:07:38 CEST ---
> Any news on this ?
>
>
>
> ------ Original Bug Text: ------
>
> Description of problem:
> New, generic hash library in Python 2.5.1 fails to resolve underlying hash functions (md5...) as installed by the 2.5.1-5mdv2008 package.
>
> Version-Release number of selected component (if applicable):
> Python 2.5.1
>
> How reproducible:
> Deterministic
>
> Steps to Reproduce:
> 1. install Python
>> tmp.$ python
>> Python 2.5.1 (r251:54863, May 15 2007, 15:32:51)
>> [GCC 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)] on linux2
> ...
>>>> import md5
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "/usr/lib/python2.5/md5.py", line 6, in <module>
>> from hashlib import md5
>> File "/usr/lib/python2.5/hashlib.py", line 133, in <module>
>> md5 = __get_builtin_constructor('md5')
>> File "/usr/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
>> import _md5
>> ImportError: No module named _md5
>
> Relevant line(s):
>> def __get_builtin_constructor(name):
> ...
>> elif name in ('MD5', 'md5'):
>> import _md5
>> return _md5.new
> ...
>
> In some other instance, resolved as packaging problem:
>
http://trac.edgewall.org/ticket/5699>
> (code is conditionally dependent on openssl, need to check deps)
>
>
------ Original Bug Text: ------
Description of problem:
New, generic hash library in Python 2.5.1 fails to resolve underlying hash functions (md5...) as installed by the 2.5.1-5mdv2008 package.
Version-Release number of selected component (if applicable):
Python 2.5.1
How reproducible:
Deterministic
Steps to Reproduce:
1. install Python
> tmp.$ python
> Python 2.5.1 (r251:54863, May 15 2007, 15:32:51)
> [GCC 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)] on linux2
...
>>> import md5
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.5/md5.py", line 6, in <module>
> from hashlib import md5
> File "/usr/lib/python2.5/hashlib.py", line 133, in <module>
> md5 = __get_builtin_constructor('md5')
> File "/usr/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
> import _md5
> ImportError: No module named _md5
Relevant line(s):
> def __get_builtin_constructor(name):
...
> elif name in ('MD5', 'md5'):
> import _md5
> return _md5.new
...
>
In some other instance, resolved as packaging problem:
http://trac.edgewall.org/ticket/5699(code is conditionally dependent on openssl, need to check deps)
--
Configure bugmail:
https://qa.mandriva.com/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the QA contact for the bug.