Description of Problem:
running neat, get python import error
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. redhat-config-network (or neat)
Python import error (see below)
Traceback (most recent call last):
File "/usr/sbin/neat", line 58, in ?
from netconfpkg import *
File "/usr/sbin/../share/redhat-config-network/netconfpkg/__init__.py", line
39, in ?
File "<string>", line 1, in ?
line 21, in ?
from NC_functions import _
ImportError: cannot import name _
If you remove this file, it just falls over on the next one, so I don't think it
has particularly anything to do with EthernetHardwareDruid.
this is very strange... can you remove /usr/share/redhat-config-network
completly and reinstall redhat-config-network again?
# rm -f /usr/share/redhat-config-network
# mount /mnt/cdrom
# cd /mnt/cdrom/RedHat/RPMS
# rpm -Uvh redhat-config-network-1.1.20-1.*.rpm
I had used rpm to remove and reinstall this rpm several times to no avail. But
I had not thought to manually delete that directory. I did what you suggested
and it worked like a charm.
Thanks a million.