update_firmware failure: InventoryGenerator() takes no arguments (2 given)
J. Potter
jpotter-dell at codepuppy.com
Tue Mar 4 06:36:49 CST 2008
Hi List,
I'm seeing the below error on all of our CentOS 5 (both 32 and 64 bit)
systems. These boxes are up-to-date with the latest rpms, and I don't
find this error message on Google. This is with firmware-
tools-2.0.10-1.el5.
What am I missing?
Thanks!
-Jeff
% update_firmware
Running system inventory...
Traceback (most recent call last):
File "/usr/sbin/update_firmware", line 23, in ?
ftmain.main(sys.argv[1:])
File "/usr/share/firmware-tools/ftmain.py", line 105, in main
result, resultmsgs = base.doCommands()
File "<peak.util.decorators.rewrap wrapping cli.doCommands at
0x2AAAB0DD2500>", line 3, in doCommands
File "/usr/lib/python2.4/site-packages/firmwaretools/
trace_decorator.py", line 81, in trace
result = func(*args, **kw)
File "/usr/share/firmware-tools/cli.py", line 133, in doCommands
self.opts.mode, self.fullCmdLine, self.args)
File "<peak.util.decorators.rewrap wrapping update_cmd.doCommand at
0x2AAAB14A12A8>", line 3, in doCommand
File "/usr/lib/python2.4/site-packages/firmwaretools/
trace_decorator.py", line 81, in trace
result = func(*args, **kw)
File "/usr/share/firmware-tools/plugins/update_cmd.py", line 59, in
doCommand
base.updateFirmware()
File "<peak.util.decorators.rewrap wrapping cli.updateFirmware at
0x2AAAB0DD2C80>", line 3, in updateFirmware
File "/usr/lib/python2.4/site-packages/firmwaretools/
trace_decorator.py", line 81, in trace
result = func(*args, **kw)
File "/usr/share/firmware-tools/cli.py", line 147, in updateFirmware
updateSet = self.calculateUpgradeList(cb=mycb(depFailures))
File "<peak.util.decorators.rewrap wrapping
firmwaretools.calculateUpgradeList at 0x2AAAB04BFA28>", line 3, in
calculateUpgradeList
File "/usr/lib/python2.4/site-packages/firmwaretools/
trace_decorator.py", line 81, in trace
result = func(*args, **kw)
File "/usr/lib/python2.4/site-packages/firmwaretools/__init__.py",
line 242, in calculateUpgradeList
self.systemInventory.addAvailablePackage(candidate)
File "/usr/lib/python2.4/site-packages/firmwaretools/__init__.py",
line 257, in <lambda>
fget=lambda self: self._getInventory(),
File "<peak.util.decorators.rewrap wrapping
firmwaretools._getInventory at 0x2AAAAAB230C8>", line 3, in
_getInventory
File "/usr/lib/python2.4/site-packages/firmwaretools/
trace_decorator.py", line 81, in trace
result = func(*args, **kw)
File "/usr/lib/python2.4/site-packages/firmwaretools/__init__.py",
line 230, in _getInventory
for dev in func(base=self, cb=self.cb):
TypeError: InventoryGenerator() takes no arguments (2 given)
def _getInventory(self):
if self._systemInventory is not None:
return self._systemInventory
self._systemInventory = repository.SystemInventory()
self.plugins.run("preinventory")
for name, func in self._inventoryFuncs.items():
self.verbose_logger.info("running inventory for module:
%s" % name)
callCB(self.cb, who="populateInventory",
what="call_func", func=func)
230: for dev in func(base=self, cb=self.cb):
callCB(self.cb, who="populateInventory",
what="got_device", device=dev)
self._systemInventory.addDevice(dev)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080304/7ee7cacb/attachment.htm
More information about the Linux-PowerEdge
mailing list