update_firmware failure: InventoryGenerator() takes no arguments (2given)

Michael Blinn mblinn at peopleplaces.org
Tue Mar 4 10:13:29 CST 2008


Are there .deb firmware packages for Ubuntu, or should one use the .BIN 
files?
-Michael Blinn

Michael_E_Brown at dell.com wrote:
> We just discussed this error yesterday on firmware-tools-devel at lists.us.dell.com. :)
>
> Solution: "rpm -e dell-lsiflash; rpm -e dell-bmcflash"
>
> Background: these two RPMs are now obsolete and replaced by the dell-dup package. I have an update queued for dell-dup that will use the proper RPM "Obsoletes:" tag, but havent yet released it.
> --
> Michael
>
>
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com on behalf of J. Potter
> Sent: Tue 3/4/2008 6:36 AM
> To: linux-poweredge-Lists
> Subject: update_firmware failure: InventoryGenerator() takes no arguments (2given)
>  
>
> 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)
>
>
>
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>
>   

-- 
 

CONFIDENTIALITY NOTICE:
This message, and any attachments that may accompany it, 
contain information that is intended for the use of the 
individual or entity to which it is addressed and may 
contain information that is privileged, confidential, or 
otherwise exempt from disclosure under applicable law.
If the recipient of this message is not the intended
recipient, any disclosure, copying, or other use of this
communication or any of the information, which it
contains is unauthorized and prohibited.  If you have
received this message in error, please notify the
original sender by return mail and delete this message,
along with any attachments, from your computer.
Thank you.  



More information about the Linux-PowerEdge mailing list