From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Description of problem: If I go to System Settings -> Network, then enter the root password, I get an "Exception Occured" dialog. I can run neat or redhat-config-network from bash and it works fine. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. From the RedHat Menu, select System Settings -> Network 2. Enter root password Actual Results: An "Exception Occured" dialog pops up. Expected Results: The application should have started. Additional info: Traceback (most recent call last): File "/usr/sbin/neat", line 1508, in ? window = mainDialog() File "/usr/sbin/neat", line 238, in __init__ self.hydrate() File "/usr/sbin/neat", line 341, in hydrate self.hydrateDevices() File "/usr/sbin/neat", line 388, in hydrateDevices clist.set_pixtext(row, STATUS_COLUMN, status, 5, status_pixmap, status_mask) TypeError: GtkCList.set_pixtext() argument 6 must be gtk.gdk.Pixmap, not None
this looks like your installation of redhat-config-network is incomplete. Please run: # rpm -V redhat-config-network && echo "Seems to be ok"
When I run rpm -V redhat-config-network I get a list of 51 lines like this: S.5....T /usr/share/redhat-config-network/netconfpkg/Control.pyc All of them referring to .pyc files. I uninstalled and reinstalled redhat-config-network. Immediately after the install, running "rpm -V redhat-config-network" gave no output. I tried using "System Settings -> Network" and I got the same problem (same traceback). Then, running "rpm -V redhat-config-network" gave the same list of .pyc files. "rpm -V python-2.2.1-17" gives no output.
and you have Red Hat Linux 8.0 and which version of redhat-config-network?
redhat-config-network-1.1.20-1
I am running completely up-2-date'd 7.2. When I click on hardware add or edit I get this: Please visit http://bugzilla.redhat.com/bugzilla/ ! File a bug against component redhat-config-network. Thank you! 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 1058, in on_hardwareEditButton_clicked self.showHardwareDialog(type, true) File "/usr/sbin/neat", line 1079, in showHardwareDialog dialog = ethernetHardwareDialog(hw) File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py", line 75, in __init__ self.setup() File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py", line 140, in setup list.append(modInfo[i]['description']) KeyError: description
Similar problem reported in bug 80287
seems like some pixmaps are missing or your pygtk2 is strange which version of pygtk2 do you have? do /usr/share/redhat-config-network/pixmaps/off.xpm /usr/share/redhat-config-network/pixmaps/on.xpm exist?
/usr/share/redhat-config-network/pixmaps/off.xpm and /usr/share/redhat-config-network/pixmaps/on.xpm exist and appear valid. I have pygtk2-1.99.12-7 I tried rpm -V pygtk2-1.99.12-7 and got no output.
7.2 All updates Dell Optiplex 386 550 mhz 3c905b 100basetx (cyclone) /2raceback (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 1058, in on_hardwareEditButton_clicked self.showHardwareDialog(type, true) File "/usr/sbin/neat", line 1079, in showHardwareDialog dialog = ethernetHardwareDialog(hw) File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py", line 75, in __init__ self.setup() File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py", line 140, in setup list.append(modInfo[i]['description']) KeyError: description Local variables in innermost frame: modInfo: <netconfpkg.Conf.ConfModInfo instance at 84bd378> list: ['RealTek RTL8129', 'Raytheon Raylink/WebGear/Aviator PCMCIA wireless', 'SMC Ultra32 EISA', 'DEC 21*40 and clones', 'Lucent Orinoco/Melco PCMCIA wireless (alternate)', 'SMC 91c92 series PCMCIA', 'Aironet 4500 PCI-ISA-i365 wireless', 'Intel EtherExpress/1000', 'PCI NE2000 clones', 'MiCom-Interlan NI5010', '3Com 3c515 Corkscrew', 'SMC 83c170 EPIC/100', 'NI5210 ethernet', 'AT1500, HP J2405A, most NE2100/clone', 'MyriCOM MyriNET SBUS', '3Com EtherLink16', 'AT&T/Lucent/Hitachi ISA WaveLAN', 'SiS 900/7016CI', 'Cabletron E2100', 'NE1000, NE2000, and compatible', 'Intel EtherExpress Pro 100B', 'Allied Telesis AT1700', 'Greenwigh GIrBIL IrDA', 'Older DEC 21040, most 21*40', 'NSC IrDA', 'Sun Quad', 'ICL EtherTeam 16i/32 EISA', '3Com 3c590/3c595/3c90x/3cx980', '3Com 3c589 series PCMCIA', 'Sun BigMac', 'ThunderLAN', '3Com 3c574 series PCMCIA', 'Ansel Communications Model 3200', 'Aironet 4500 PCMCIA wireless', 'Xircom CBE-100 CardBus', 'General Instruments SB1000'] self: <netconfpkg.gui.ethernethardware.ethernetHardwareDialog instance at 84af830> i: defxx
tom hynes: please check next time, that you report bugs seperately, if it differs. You posted a duplicate of bug 75381.
vcato: I never heard of a problem similar to yours... You must have mixed some gtk/python issues in here... Are you sure you did not pollute your system with non-redhat packages that could have caused your problems?
I found the source of the problem. I have a directory in my home directory called pixmaps that has a file called on.xpm. For some reason, when neat is run from the kde menu, it is picking up this file instead of /usr/share/redhat-config-network/pixmaps/on.xpm If I change the name of ~/pixmaps to something else, neat works fine. Must be some kind of pixmap search path issue.
wow... cool, now I know how to prevent such unwanted behaviour :) Thank you very much for hunting down the problem.