Bug 468636 - TB24531662 NCBackendHal.py:103:getDevices:TypeError: not enough arguments for format string
Summary: TB24531662 NCBackendHal.py:103:getDevices:TypeError: not enough arguments for...
Keywords:
Status: CLOSED DUPLICATE of bug 468355
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-27 00:32 UTC by eric
Modified: 2008-10-27 00:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-27 00:35:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description eric 2008-10-27 00:32:59 UTC
Received this error when I was accessing the Network Config.

Component: system-config-network
Version: 1.5.10
Summary: TB24531662 NCBackendHal.py:103:getDevices:TypeError: not enough arguments for format string

Traceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 166, in runit
    window = mainDialog()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 275, in __init__
    self.load()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 300, in load
    self.loadHardware()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 312, in loadHardware
    hardwarelist = getHardwareList()
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 759, in getHardwareList
    __HWList.load()
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 603, in load
    self.updateFromSystem()
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 483, in updateFromSystem
    self.updateFromHal(hdellist)
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 448, in updateFromHal
    cards = hal.probeCards()
  File "/usr/share/system-config-network/netconfpkg/NCBackendHal.py", line 124, in probeCards
    card = self.getDevices(udi)
  File "/usr/share/system-config-network/netconfpkg/NCBackendHal.py", line 103, in getDevices
    hw.Description = "%s %s" % self.getVendor(udi)
TypeError: not enough arguments for format string

Local variables in innermost frame:
category: net
obj: <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x94189bc> :1.0 /org/freedesktop/Hal/devices/net_0a_25_32_50_0f_07 at 0x9414c4c>
name: pan0
arp_proto_hw_id: 1
hwf: {'Wireless': {0: <class netconfpkg.plugins.NCHWWireless.HwWireless at 0x8f8b1dc>}, 'Ethernet': {0: <class netconfpkg.plugins.NCHWEthernet.HwEthernet at 0x8f7fd1c>}, 'Modem': {0: <class netconfpkg.plugins.NCHWModem.HwModem at 0x8f7fe9c>}, 'ISDN': {0: <class netconfpkg.plugins.NCHWIsdn.HwIsdn at 0x8f7fddc>}, 'Token Ring': {0: <class netconfpkg.plugins.NCHWTokenring.HwTokenring at 0x8f8b0ec>}}
self: <netconfpkg.NCBackendHal.NCBackendHal instance at 0x9414eac>
hw: Hardware.Status=inactive
Hardware.Name=pan0
Hardware.Type=Ethernet

hwc: netconfpkg.plugins.NCHWEthernet.HwEthernet
htype: Ethernet
udi: /org/freedesktop/Hal/devices/net_0a_25_32_50_0f_07
getHardwareFactory: <function getHardwareFactory at 0x8f84d84>

Comment 1 eric 2008-10-27 00:35:26 UTC

*** This bug has been marked as a duplicate of bug 468355 ***


Note You need to log in before you can comment on or make changes to this bug.