DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

Post by Hari » Fri, 28 Feb 2003 04:34:31



Hi,

 While configuring DNS address in Redhat 8.0 Linux, I'm getting this
error as soon as I click apply with all the changes made.

Can anyone tell me how to get around this?

thanks,
Harish

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'

 
 
 

DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

Post by Davi » Tue, 04 Mar 2003 13:52:27



> Hi,

>  While configuring DNS address in Redhat 8.0 Linux, I'm getting this
> error as soon as I click apply with all the changes made.

> Can anyone tell me how to get around this?

> 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

Edit config files with " vi " and be done with it.
Is  " vi "  broken in RedHat?

--
Confucius:  He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
Slackware 9.0-beta Linux 2.4.20tbls i686 (GCC) 3.2.2
Uptime: 11 days, 7:07, 1 user, load average: 2.24, 2.27, 2.23

 
 
 

DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

Post by Steve Webste » Tue, 04 Mar 2003 15:52:23



> Edit config files with " vi " and be done with it.
> Is  " vi "  broken in RedHat?

On Redhat 7.3, vi is aliased to /usr/bin/vim

--
Steve Webster
Remove the 'nospam's to get my email address.

 
 
 

DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

Post by Hari » Wed, 05 Mar 2003 08:04:10




> > Edit config files with " vi " and be done with it.
> > Is  " vi "  broken in RedHat?

> On Redhat 7.3, vi is aliased to /usr/bin/vim

I do not know what to edit. I don't know anything about those scripts.
Can you plese tell me what exactly to edit?

thanks,
Harish

 
 
 

DNS configuration error: AttributeError: 'NoneType' object has no attribute 'groups'

Post by Steve Webste » Wed, 05 Mar 2003 18:54:28



> I do not know what to edit. I don't know anything about those scripts.
> Can you plese tell me what exactly to edit?

Can you tell us what setting change you're trying to make? That way,
someone here can advise on which file/s and what change/s to make.

Your original post mentioned a DNS change, but what was it you were
changing with your DNS setup?

--
Steve Webster
Remove the 'nospam' to get my email address.

 
 
 

1. Attempting to load object 'w2quad01.so', with entry 'W2QUAD01', error

Hi,

I ran my program and got the following error:


Attempting to load object 'w2quad01.so', with entry 'W2QUAD01',
  dlopen failed because of -- 'No such file or directory'

this library and alot of others are in /opt/bsi/pts dir

My LIBPATH has this dir in it.

My Makefile as follows:

#
# Make script to create loader and pinger
#
#  make all
#

# Insert your source directory below
SRCD=.
.SUFFIXES:
.SUFFIXES: .c .o .a .so .mk

all: pinger loader

include $(ORACLE_HOME)/precomp/lib/env_precomp.mk

# Insert path to your compiler here
#CC=/opt/SUNWspro/SC5.0/bin/cc
CC=/usr/vacpp/bin/xlc
# sun 32 -> CC=/opt/SUNWspro/SC4.2/bin/cc
CFLAGS=-O

INCLUDE=-I$(ORACLE_HOME)/rdbms/demo \
        -I$(ORACLE_HOME)/network/public \
        -I$(ORACLE_HOME)/plsql/public \
        $(PRECOMPPUBLIC)

# Report Factory and BSIZIP libraries
BSILIBS=librfora.so AIX32bsizip.a AIX32Crusher.a
LIBS=-lm -ldl -L$(LIBHOME) $(PROLDLIBS) -brtl -bexpall
OTHOPT=-bnoquiet -blibpath:$(ORACLE_HOME)/lib:/opt/bsi/pts:/lib:/usr/lib
clean:
        -rm -rf $(SRCD)/pinger
        -rm -rf $(SRCD)/loader
        -rm -rf $(SRCD)/*.o
        -rm -rf $(SRCD)/core

pinger: $(SRCD)/pinger.c $(SRCD)/rfxface.h $(BSILIBS)


$(LIBS) $(OTHOPT)

loader: $(SRCD)/loader.c $(SRCD)/rfxface.h $(BSILIBS)


$(LIBS) $(OTHOPT)

I ran this program in /opt/bsi/pts

Anybody can shade a light?

Thanks.

Ahmadin

2. How can i write structs to a file

3. change group 0's name from 'root' to 'staff'

4. solaris 10 b55

5. Changing Serial Nos using 'brand'

6. IRQ-sharing and Linux

7. Users having probs logging into Linux system, get '/home/...' doesn't exist.

8. SOLUTION for - Changing color for background data window???????

9. Error 'Shared object "libssl.so.3" not found' when using mail

10. 'object is remote' error when nfs mounting

11. 'double' or 'dbl' or 'dble', the disk space utilty

12. sed -e 's/\'a\'/\';\'/' ?

13. What is 'stty', 'term' & 'tty'