Bug 252069 - Exception following an attempt to copy the hostname
Summary: Exception following an attempt to copy the hostname
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network   
(Show other bugs)
Version: 7
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-08-13 21:31 UTC by ray hammond
Modified: 2008-06-07 22:38 UTC (History)
1 user (show)

Fixed In Version: 1.5.7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-07 22:38:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description ray hammond 2007-08-13 21:31:37 UTC
Description of problem:
Unhandled exception following an attempt to copy the newly input hostname.

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

How reproducible:
Every time

Steps to Reproduce:
1.Start the system-config-network utility, enter root password if prompted.
2.Click the DNS tab.
3.Click into the hostname box and enter "ray.local".
4.Save the change, by navigating to the save option in the file menu.
5.Press OK when the save confirmation box displays.
6.Click into the hostname box using the mouse.
7.Press Ctrl+A (select all), followed by Ctrl+C (Copy)
Actual results:
Following message is displayed:

Component: system-config-network
Version: 1.3.96
Summary: TBd042474c genClass.py:635:apply:AttributeError: 'list' object has no
attribute 'getNumAlias'

Traceback (most recent call last):
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line
1405, in on_profileCopyMenu_activate
  File "/usr/lib/python2.5/site-packages/rhpl/genClass.py", line 413, in apply
    child.apply(getattr(other, "get" + i)())
  File "/usr/lib/python2.5/site-packages/rhpl/genClass.py", line 643, in apply
    getattr(other, "get" + child)(pos))
  File "/usr/lib/python2.5/site-packages/rhpl/genClass.py", line 413, in apply
    child.apply(getattr(other, "get" + i)())
  File "/usr/lib/python2.5/site-packages/rhpl/genClass.py", line 635, in apply
    for pos in xrange(getattr(other, "getNum" + child)()):
AttributeError: 'list' object has no attribute 'getNumAlias'

Local variables in innermost frame:
other: ['localhost', 'rhh']
val: {'FLAGS': [], 'TYPE': 'STRING', 'NAME': 'Alias'}
child: Alias

Expected results:
The hostname should be copied into the Cut,Copy,Paster buffer.

Additional info:

Comment 1 Bug Zapper 2008-05-14 13:58:05 UTC
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.

Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:

The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 ray hammond 2008-06-07 22:38:46 UTC
No longer occurs in Fedora 9.

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