Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 98251 (TB9efd6ce0) - maindialog.py:1292:on_hardwareAddButton_clicked:NameError:global name 'hardwareTypeDialog' is not defined
Summary: maindialog.py:1292:on_hardwareAddButton_clicked:NameError:global name 'hardwa...
Keywords:
Status: CLOSED ERRATA
Alias: TB9efd6ce0
Product: Red Hat Raw Hide
Classification: Retired
Component: redhat-config-network
Version: 1.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-06-29 05:41 UTC by Barry K. Nathan
Modified: 2007-04-18 16:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-08-11 14:10:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2003:183 0 normal SHIPPED_LIVE Updated redhat-config-network package available 2003-08-11 04:00:00 UTC

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):
redhat-config-network-1.3.1-1

How reproducible:
Always

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
device.

Additional info:

Here is the "crash dump":

Component: redhat-config-network
Version: 1.3.1
Summary: TB
/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py:1292:on_hardwareAddButton_clicked:NameError:
global name 'hardwareTypeDialog' is not defined
Traceback (most recent call last):
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 611, in on_addButton_clicked
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
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 
on_hardwareAddButton_clicked
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
ftp://people.redhat.com/harald/redhat-config-network/1.2.15-RH9

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.

http://rhn.redhat.com/errata/RHBA-2003-183.html



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