Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 100655

Summary: TB NCDevADSL.py:33:load:NameError: global name 'ConfDevice' is not defined
Product: [Retired] Red Hat Linux Beta Reporter: Fulton Green <fulton.green>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: beta1CC: tadej.j
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:57:42 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 Fulton Green 2003-07-24 01:13:27 UTC
Description of problem:
The graphical version of the network configuration client errors out while
loading an ADSL configuration file.  The error appears to be related to a
missing Python variable called "ConfDevice".

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

How reproducible:
I'm assuming the problem is easily reproducible on a machine upgraded from RH 9
(Shrike), which was my case.  The error occurred while loading in an ADSL "cfg"
file created in either Shrike or Severn.  I haven't determined yet if a clean
install can manifest the problem.

Steps to Reproduce:
1. Launch "Network" from the desktop bottom bar's "System Settings" menu.
2. Create (if necessary) the Ethernet entry that will be used by the ADSL entry
and save.  You may see a save error, but the information should still make it
out to disk.
3. Close the config app (if it didn't crash while saving) and restart.
    
Actual results:
An exception window pops up.

Expected results:
The app would appear with the previously saved configuration info.

Additional info:
I also noticed that bug #80343 dealt with the "ConfDevice" problem, but it also
looked as if it was going down a different path.

Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network-gui", line 163, in main
    window = mainDialog()
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 214, in __init__
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 243, in load
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 250, in loadDevices
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 312, in getDeviceList
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 135, in load
  File
"/usr/src/build/273296-noarch/install/usr/share/redhat-config-network/netconfpkg/plugins/NCDevADSL.py",
line 33, in load
NameError: global name 'ConfDevice' is not defined

Local variables in innermost frame:
self: Device.Type=xDSL

name: ppp0

Comment 1 Fulton Green 2003-07-26 16:44:05 UTC
I just tried a fresh install.  Same error.

Comment 2 Tadej Janež 2003-07-29 07:45:56 UTC
I can also confirm this bug on a fresh Severn install.

Additionaly, the same thing happens with redhat-config-network-gui and
redhat-config-network-tui.

Comment 3 Harald Hoyer 2003-07-30 11:47:38 UTC

*** This bug has been marked as a duplicate of 98647 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:57:42 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.