Bug 601005 - system-config-network crashes when trying to open
Summary: system-config-network crashes when trying to open
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-07 00:37 UTC by pablomguevara
Modified: 2010-09-04 05:16 UTC (History)
3 users (show)

Fixed In Version: system-config-network-1.6.1-1.fc14
Clone Of:
Environment:
Last Closed: 2010-09-02 20:44:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description pablomguevara 2010-06-07 00:37:57 UTC
Description of problem:
system-config-network crashes when trying to open

Version-Release number of selected component (if applicable):
system-config-network-1.6.0-2.fc12.noarch

How reproducible:
all the time

Steps to Reproduce:
1. open system-config-network from console or gui
  
Error report:

Component: system-config-network
Version: 1.6.0
Summary: TB0c3f8e7b NCHardwareList.py:575:load:ValueError: invalid literal for int() with base 10: 'None'

Traceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 178, in runit
    window = mainDialog() # pylint: disable-msg=W0612
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 304, in __init__
    self.load()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 326, in load
    self.loadDevices()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 334, in loadDevices
    devicelist = getDeviceList() # pylint: disable-msg=W0612
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 329, in getDeviceList
    __DVList.load()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 78, in load
    hwlist = NCHardwareList.getHardwareList()
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 663, in getHardwareList
    __HWList.load()
  File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 575, in load
    hw.Modem.ModemVolume = int(wvdial[dev]['SetVolume'])
ValueError: invalid literal for int() with base 10: 'None'

Local variables in innermost frame:
dosysupdate: True
i: 4
self: HardwareList.Ethernet.virbr0.Description=
HardwareList.Ethernet.virbr0.Name=virbr0
HardwareList.Ethernet.virbr0.Status=system
HardwareList.Ethernet.virbr0.Type=Ethernet
HardwareList.Ethernet.vboxnet0.Description=
HardwareList.Ethernet.vboxnet0.Name=vboxnet0
HardwareList.Ethernet.vboxnet0.Status=system
HardwareList.Ethernet.vboxnet0.Type=Ethernet
HardwareList.Ethernet.eth0.Card.ModuleName=tg3
HardwareList.Ethernet.eth0.Description=Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express
HardwareList.Ethernet.eth0.Name=eth0
HardwareList.Ethernet.eth0.Status=system
HardwareList.Ethernet.eth0.Type=Ethernet
HardwareList.Wireless.wlan0.Card.ModuleName=iwl3945
HardwareList.Wireless.wlan0.Description=Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection
HardwareList.Wireless.wlan0.Name=wlan0
HardwareList.Wireless.wlan0.Status=system
HardwareList.Wireless.wlan0.Type=Wireless
HardwareList.Modem.Modem0.Description=Generic Modem
HardwareList.Modem.Modem0.Modem.BaudRate=38400
HardwareList.Modem.Modem0.Modem.DeviceName=/dev/modem
HardwareList.Modem.Modem0.Name=Modem0
HardwareList.Modem.Modem0.Status=configured
HardwareList.Modem.Modem0.Type=Modem

isdncard: <netconfpkg.NCisdnhardware.ConfISDN instance at 0x889228c>
hw: HwModem.Description=Generic Modem
HwModem.Modem.BaudRate=38400
HwModem.Modem.DeviceName=/dev/modem
HwModem.Name=Modem0
HwModem.Status=configured
HwModem.Type=Modem

dev: Modem0
wvdial: <netconfpkg.conf.ConfSMB.ConfSMB instance at 0x889248c>

Comment 1 Jiri Popelka 2010-06-07 12:00:05 UTC
Can you show me what's in your /etc/wvdial.conf ?
Either attach the file to this bug report or
show me what does the following command
cat /etc/wvdial.conf

I think the crash causes
SetVolume = None
line in your /etc/wvdial.conf

If there's such a line,
can you confirm that removing it avoids the crash ?

Comment 2 Jiri Popelka 2010-06-07 12:27:44 UTC
Saving of 'SetVolume = None' into wvdial.conf
should be fixed upstream (commit 84a70ee).

Comment 3 pablomguevara 2010-06-07 13:17:15 UTC
Yes, that line cause the application to crash.

bash-4.0$ cat /etc/wvdial.conf
[Modem0]
Baud = None
SetVolume = None
Dial Command = None
Init1 = ATZ
Init3 = ATM1LNone
FlowControl = None

When I remove the line, it does not crash.
Thanks.

Comment 4 Fedora Update System 2010-08-23 13:47:05 UTC
system-config-network-1.6.1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-network-1.6.1-1.fc13

Comment 5 Fedora Update System 2010-08-23 13:50:24 UTC
system-config-network-1.6.1-1.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/system-config-network-1.6.1-1.fc14

Comment 6 Fedora Update System 2010-08-23 19:02:27 UTC
system-config-network-1.6.1-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-network'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-network-1.6.1-1.fc14

Comment 7 Fedora Update System 2010-09-02 20:43:43 UTC
system-config-network-1.6.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-09-04 05:16:06 UTC
system-config-network-1.6.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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