Modify ↓
Ticket #668 (closed defect: fixed)
Can't import hashlib on python 2.4
Reported by: | Jack Neely <[email protected]…> | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
Looks like we're importing hashlib without checking if we are running in a new enough python version.
Starting Configuration Management Server: Traceback (most recent call last): File "/usr/sbin/bcfg2-server", line 14, in ? from Bcfg2.Server.Core import CoreInitError File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 5, in ? import hashlib ImportError: No module named hashlib
This on RHEL 5 with python-2.4.3-24.el5.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
There's a standalone version of hashlib for 2.4 and 2.3: http://pypi.python.org/pypi/hashlib/20060408a
Perhaps it should marked as a dep for versions < 2.5