Bug 110267 - TB Conf.py:936:__setitem__:TypeError: illegal argument type for built-in operation
Summary: TB Conf.py:936:__setitem__:TypeError: illegal argument type for built-in oper...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network   
(Show other bugs)
Version: 8.0
Hardware: i586
OS: Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2003-11-17 18:50 UTC by Bart Wahlgren
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-03 20:15:58 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Bart Wahlgren 2003-11-17 18:50:29 UTC
Description of problem:
When attempting to make changes to the network configuration the 
application crashes. 

Version-Release number of selected component (if applicable):

How reproducible:
Every Time

Steps to Reproduce:
1.Open the network configuration application.
2.Make changes to any of the network interfaces.
3.Click accept changes to save.
Actual results:
The application crashes and generates a bug report dialog box.

Expected results:
The configuration parameters should be saved.

Additional info:

Comment 1 Bart Wahlgren 2003-11-17 18:52:21 UTC
Text of error:

Traceback (innermost last):
  File "/usr/sbin/neat", line 1210, in ?
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2608, in 
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in 
    ret = apply(self.func, a)
  File "/usr/sbin/neat", line 401, in on_okButton_clicked
    if self.save() != 0:
  File "/usr/sbin/neat", line 271, in save
  File "/usr/sbin/neat", line 283, in saveHardware
  File "/usr/sbin/../share/redhat-config-
network/netconfpkg/NCHardwareList.py", line 276, in save
  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 8450340>
varname: eth2
missing: 1
key: alias
place: 0
findexp: [	 ]*alias[	 ]+eth2[	 ]+

Comment 2 Harald Hoyer 2003-11-25 14:18:26 UTC
hmm... this looks like an old bug. Do you really have Red Hat Linux 8?
which version of redhat-config-network is this?
$ rpm -q redhat-config-network
gives you the version.

You may also try this, if you have 7.x:

Comment 3 Bart Wahlgren 2003-12-03 20:15:58 UTC
Version of redhat-config is
OS version using uname -a is 2.4.9-e.3smp

I've been able to correct the problem by removing and reinstalling 
the NIC's. Thanks for the link I'll update the utility.

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