Ticket #668 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

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:


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/", line 5, in ?
    import hashlib
ImportError: No module named hashlib

This on RHEL 5 with python-2.4.3-24.el5.


Change History

comment:1 Changed 14 years ago by kisielk

There's a standalone version of hashlib for 2.4 and 2.3:

Perhaps it should marked as a dep for versions < 2.5

comment:2 Changed 14 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.