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 101107

Summary: TB maindialog.py:669:on_deviceCopyButton_clicked:NameError: global name 'NCDeviceFactory' is not defined
Product: [Retired] Red Hat Linux Beta Reporter: Dave Habben <dave.habben>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: beta1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.6-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-07 00:31:04 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:
Bug Depends On:    
Bug Blocks: 100643    

Description Dave Habben 2003-07-29 04:46:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
It reports:
"An unhandled exception has occurred. This is most likely a but. Please save the
crash dump and file a detailed bug report against redhat-config-network"

Component: redhat-config-network
Version: 1.3.1
Summary: TB maindialog.py:669:on_deviceCopyButton_clicked:NameError: global name
'NCDeviceFactory' 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 617, in on_copyButton_clicked
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 669, in on_deviceCopyButton_clicked
NameError: global name 'NCDeviceFactory' is not defined

Local variables in innermost frame:
srcdev: Device.HardwareAddress=00:C0:F0:40:08:0C
Device.Type=Ethernet
Device.OnBoot=true
Device.BootProto=dhcp
Device.DeviceId=eth0
Device.Device=eth0

clist: <gtk.CList object (GtkCList) at 0x9d2fc4c>
button: <gtk.Button object (GtkButton) at 0x9d2c814>
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x9ca0d4c>


Version-Release number of selected component (if applicable):
redhat-config-network-1.3.1-1

How reproducible:
Always

Steps to Reproduce:
1. Run redhat-config-network as root
2. Click on Copy in the toolbar

Actual Results:  Crashes with a traceback

Expected Results:  Copies the selected network entry

Additional info:

Comment 1 Dave Habben 2003-09-07 00:31:04 UTC
This works properly in:
redhat-config-network-1.3.6-1

Marking this bug as FIXED/RAWHIDE