=Comment: #0================================================= SANTOSH K. S <sskumar1.com> - System-config-network-tui tool throws an error whiel trying to configure the qeth interfaces , [root@santosh ~]# uname -a Linux santosh 2.6.18-153.el5 #1 SMP Wed Jun 10 17:53:47 EDT 2009 s390x s390x s390x GNU/Linux Unhandled exception has occured while executing system-config-network tool. [root@santosh ~]# system-config-network-tui An unhandled exception has occured. This is most likely a bug. Please save the crash dump and file a detailed bug report against system-config-network at https://bugzilla.redhat.com/bugzilla Component: system-config-network Version: 1.3.99.17 Summary: TB /usr/lib64/python2.4/site-packages/snack.py:270:set:TypeError: argument 1 must be string, not None Traceback (most recent call last): File "/usr/sbin/system-config-network-tui", line 242, in ? if act.runIt(screen): File "/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.py", line 130, in runIt self.setState() File "/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.py", line 39, in setState if not hasattr(dev, "getDialog") or not dev.getDialog(): File "/usr/share/system-config-network/netconfpkg/plugins/NCDevQeth.py", line 112, in getDialog dialog = _devQethDialog(self) File "/usr/share/system-config-network/netconfpkg/tui/NCQethInterface.py", line 28, in __init__ self.setState() File "/usr/share/system-config-network/netconfpkg/tui/NCQethInterface.py", line 61, in setState self.options.set(hw.Card.Options) File "/usr/lib64/python2.4/site-packages/snack.py", line 270, in set return self.w.entrySetValue(text) TypeError: argument 1 must be string, not None > /usr/lib64/python2.4/site-packages/snack.py(270)set() -> return self.w.entrySetValue(text) (Pdb) Steps to recreate problem: =============== 1> attach, enable layer2 option and bringqeth device online. 2> execute system-config-network-tui from command line. 3> select edit device > new device > qeth > enter the details Name: eth1 Device: eth1 Use dhcp: Static IP: 10.100.50.13 netmask: 255.255.0.0 default gateway: Read ID: 0.0.4100 data ID: 0.0.4101 write ID: 0.0.4102 options:layer2=1 mac address: 02:06:72:43:01:02 > ok after enter control is directly goes to pdb prompt. While trying to check the Backtrace from the above command prompt of Pdb (Pdb) (Pdb) (Pdb) bt /usr/sbin/system-config-network-tui(260)?() -> raise /usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.py(130)runIt() -> self.setState() /usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.py(39)setState() -> if not hasattr(dev, "getDialog") or not dev.getDialog(): /usr/share/system-config-network/netconfpkg/plugins/NCDevQeth.py(112)getDialog() -> dialog = _devQethDialog(self) /usr/share/system-config-network/netconfpkg/tui/NCQethInterface.py(28)__init__() -> self.setState() /usr/share/system-config-network/netconfpkg/tui/NCQethInterface.py(61)setState() -> self.options.set(hw.Card.Options) > /usr/lib64/python2.4/site-packages/snack.py(270)set() -> return self.w.entrySetValue(text) ================================================ Redhat, This looks to be a problem with the tool. Please look into it. Thanks!
------- Comment From sskumar1.com 2009-07-02 07:54 EDT------- tested in RHEL5.4_beta1, still problem exists.
------- Comment From mgrf.com 2009-07-15 04:55 EDT------- Hello Red Hat: This changed state to "on QA" in RHBZ but no indication of any fix integration. Please let us know if fix can be expeted with rc1. Thx for posting
yes, can be expected
The fix is planned for inclusion in snapshot 3.
------- Comment From sskumar1.com 2009-07-28 04:53 EDT------- verified and it's working fine in RHEL5.4_snap3 as expected. thanks Santosh,
Thanks for the verification!
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1352.html
Created attachment 489958 [details] crash dump when i added hostnames this error come...pls suggest.
(In reply to comment #21) > Created attachment 489958 [details] > crash dump > > when i added hostnames this error come...pls suggest. This bug is addressed here: https://bugzilla.redhat.com/show_bug.cgi?id=492915