Bug 81904 - TB:ipcalc.py:41:prefix
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Fanny Augustin
Depends On:
Blocks: 81720
  Show dependency treegraph
Reported: 2003-01-14 20:37 EST by Donald Ray Lott
Modified: 2007-04-18 12:49 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-05 07:58:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Donald Ray Lott 2003-01-14 20:37:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
After updating os via RHN/up2date, I cannot change the dns settings under the
dns tab of redhat-config-network. When I change dns address for primary or
secondary, and click apply I get the following:
Traceback (most recent call last):
  File "/usr/sbin/neat", line 496, in on_applyButton_clicked
  File "/usr/sbin/neat", line 319, in save
  File "/usr/sbin/neat", line 326, in saveDevices
  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
  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'

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

How reproducible:

Steps to Reproduce:
1.Start redhat-config-network
2.Under dns tab change dns ip address
3.Click apply

Actual Results:  execption occured message

Expected Results:  dns ip addresses changed

Additional info:
Comment 1 Mihai Ibanescu 2003-01-15 10:29:05 EST
Reassigned to the right component.
Comment 2 Harald Hoyer 2003-02-05 07:58:36 EST
should be fixed in 1.1.94

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