Bug 98251 (TB9efd6ce0)

Summary: maindialog.py:1292:on_hardwareAddButton_clicked:NameError:global name 'hardwareTypeDialog' is not defined
Product: [Retired] Red Hat Raw Hide Reporter: Barry K. Nathan <barryn>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 1.0CC: sedmondson
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-11 14:10:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 100643    

Description Barry K. Nathan 2003-06-29 05:41:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030619

Description of problem:
When I click the "New" button on the Hardware tab of r-c-n, it crashes and asks
if I want to save a crash dump.

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

How reproducible:

Steps to Reproduce:
1. Start r-c-n.
2. Go to the Hardware tab.
3. Click the "New" button (near the top of the window).

Actual Results:  r-c-n crashes

Expected Results:  I expect that r-c-n will let me configure another hardware

Additional info:

Here is the "crash dump":

Component: redhat-config-network
Version: 1.3.1
Summary: TB
global name 'hardwareTypeDialog' is not defined
Traceback (most recent call last):
line 611, in on_addButton_clicked
line 1292, in on_hardwareAddButton_clicked
NameError: global name 'hardwareTypeDialog' is not defined
Local variables in innermost frame:
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x925c70c>
args: (<gtk.Button object (GtkButton) at 0x92e91ec>,)

Comment 1 Shawn Edmondson 2003-08-05 06:44:35 UTC
Happens to me too, using the patch from ftp://people.redhat.com/harald/redhat-
config-network/1.2.14-RH9/ on RH9.

Component: redhat-config-network
Version: 1.2.14
Summary: TB9efd6ce0 maindialog.py:1291:on_hardwareAddButton_clicked:NameError: 
global name 'hardwareTypeDialog' is not defined
Traceback (most recent call last):
  File "/var/tmp/redhat-config-network-1.2.14-root/usr/share/redhat-config-
network/netconfpkg/gui/maindialog.py", line 610, in on_addButton_clicked
  File "/var/tmp/redhat-config-network-1.2.14-root/usr/share/redhat-config-
network/netconfpkg/gui/maindialog.py", line 1291, in 
NameError: global name 'hardwareTypeDialog' is not defined

Local variables in innermost frame:
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x8398684>
args: (<gtk.Button object (GtkButton) at 0x86117fc>,)

Comment 2 Harald Hoyer 2003-08-06 09:33:26 UTC
hmm, I cannot reproduce this... Do you have reiserfs by any chance?

Comment 3 Shawn Edmondson 2003-08-06 11:45:02 UTC
Thanks for the reply.

Yes, how about that, I'm running ReiserFS.  Otherwise it's a stock 
RH9 "everything" install on a Dell C840 laptop.  Trying to bring up two 100Mb 
enets and one PCMCIA Lucentish wireless.

Comment 4 Harald Hoyer 2003-08-06 11:58:27 UTC
very strange... such bugreports only come from reiserfs users...

Comment 5 Harald Hoyer 2003-08-06 13:19:10 UTC
please try

the new rawhide version will soon be out..

Comment 6 Shawn Edmondson 2003-08-08 14:29:23 UTC
With 1.2.15, it works perfectly.  The Hardware page automatically displayed the 
correct hardware, and I easily added new devices without error.

Thanks for the great support.

Comment 7 Harald Hoyer 2003-08-11 10:20:30 UTC
well, thx for the bug reports... other users will appreciate the bugfix :)

Comment 8 Harald Hoyer 2003-08-11 14:10:33 UTC
An errata 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 the 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.