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

Bug 84605

Summary: TB: ipcalc.py:41:prefix
Product: [Retired] Red Hat Linux Reporter: hadrien majoie <hadriaen>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-11 14:10:17 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: 81720    
Attachments:
Description Flags
error message output none

Description hadrien majoie 2003-02-19 15:36:01 UTC
Description of problem:

application crash
When changing the value of "hostname" in the "DNS" section, the application
crash when applying the value.
The debugging process doesn' t work as well.
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.described above
2.
3.
    
Actual results:
application crash

Expected results:
applying new values

Additional info:

Comment 1 hadrien majoie 2003-02-19 15:37:50 UTC
Created attachment 90189 [details]
error message output

Comment 2 Harald Hoyer 2003-02-25 15:35:17 UTC
Traceback (most recent call last):
  File "/usr/sbin/neat", line 496, in on_applyButton_clicked
    self.save()
  File "/usr/sbin/neat", line 319, in save
    self.saveDevices()
  File "/usr/sbin/neat", line 326, in saveDevices
    devicelist.save()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 145, in save
    os.write(fp2, ipc.network()+'/'+ipc.prefix()+" via "+route.Gateway+"\n")
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/ipcalc.py", line 58,
in network
    self.prefix()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/ipcalc.py", line 41,
in prefix
    self._prefix = re.match("PREFIX=(\d+)", text).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'


Comment 5 Harald Hoyer 2003-08-11 14:10:17 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