Bug 89537

Summary: Redhat Network Configuration Tool crashes whenever I attempt to change the value of a device setting.
Product: Red Hat Enterprise Linux 2.1 Reporter: Chris Payne <chris.payne>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: jacob_liberman
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-04 09:54:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Payne 2003-04-23 23:37:09 UTC
Description of problem:
Whenever I change a value or setting using Redhat Network Configuration Tool 
and click "apply" or "close" the tool returns an exception report.

Version-Release number of selected component (if applicable):
redhat-config-network-1.0.4-0.AS21.1.i386.rpm

How reproducible:
Every time

Steps to Reproduce:
1.Launch Network Config Tool
2.Change a setting
3.Click apply
    
Actual results:
The program did not apply the changes and save them.

Expected results:
New settings should have been applied and saved.

Additional info:
Traceback (innermost last):
  File "/usr/sbin/neat", line 1210, in ?
    gtk.mainloop()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2608, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
    ret = apply(self.func, a)
  File "/usr/sbin/neat", line 392, in on_applyButton_clicked
    self.save()
  File "/usr/sbin/neat", line 271, in save
    self.saveHardware()
  File "/usr/sbin/neat", line 283, in saveHardware
    hardwarelist.save()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py", 
line 276, in save
    modules.write()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 981, 
in write
    self[key] = self.vars[key]
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 936, 
in __setitem__
    replace = key + ' ' + varname + ' ' + endofline
TypeError: illegal argument type for built-in operation

Local variables in innermost frame:
endofline: None
value: {'alias': None}
self: <netconfpkg.NCHardwareList.MyConfModules instance at 845d708>
varname: eth1
missing: 1
key: alias
place: 0
findexp: [	 ]*alias[	 ]+eth1[	 ]+

Comment 1 David Lawrence 2003-04-28 18:09:53 UTC
Changing product and component so proper developer will see this bug report.

Comment 2 Harald Hoyer 2003-04-29 08:25:43 UTC
can you please attach your modules.conf?

Comment 3 Harald Hoyer 2003-07-29 09:26:59 UTC
ping?

Comment 4 jacob liberman 2004-01-08 17:58:04 UTC
I would like to be cc'd on this bug. I have seen several people with 
this same traceback error and I would be happy to provide any 
required information. Thanks, Jacob

Comment 5 Harald Hoyer 2004-06-04 09:54:02 UTC
Closing due to inactivity. Reopen, if the problem is still existing.