firmware-tools require python2.4?
Michael_E_Brown at Dell.com
Michael_E_Brown at Dell.com
Tue Sep 25 18:00:27 CDT 2007
Yes, it is *supposed* to work on all python from RHEL3+.
This bug was found right before I went on vacation for two weeks, and I forgot about it since I've been back. I'll take a look at it tomorrow.
Fortunately, this should not affect "normal" operation, just when there is an error. So you most likely have something else going on as well.
--
Michael
-----Original Message-----
From: Kilian CAVALOTTI [mailto:kilian.cavalotti at lip6.fr]
Sent: Tue 9/25/2007 5:10 PM
To: Brown, Michael E
Cc: linux-poweredge-Lists
Subject: firmware-tools require python2.4?
Hi Michael,
I'm getting the following error with firmware-tools on a RHEL4 machine:
# inventory_firmware
Traceback (most recent call last):
File "/usr/bin/inventory_firmware", line 98, in ?
sys.exit( main() )
File "/usr/bin/inventory_firmware", line 79, in main
for pkg in firmwaretools.clifuncs.runInventory(ini):
File "/usr/lib/python2.3/site-packages/firmwaretools/clifuncs.py",
line 83, in runSomething
dprint(traceback.format_exc())
AttributeError: 'module' object has no attribute 'format_exc'
# rpm -q firmware-tools python
firmware-tools-1.5.4-1.el4.noarch
python-2.3.4-14.4.x86_64
It looks like traceback.format_exc() has been introduced in Python 2.4.
I've also noticed some generator expressions which will probably make
versions <=2.4 yell.
Is there an explicit dependency upon Python 2.4 that I may have missed,
or are firmware-tools supposed to work with Python 2.3 too?
Cheers,
--
Kilian
More information about the Linux-PowerEdge
mailing list