firmware-tools require python2.4?
Kilian CAVALOTTI
kilian.cavalotti at lip6.fr
Tue Sep 25 17:10:12 CDT 2007
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