Bug 77638

Summary: TB EthernetHardwareDruid:21 import error from NC_functions import _
Product: [Retired] Red Hat Linux Reporter: Michael Goll <michael>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-30 16:19:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Goll 2002-11-11 08:41:22 UTC
Description of Problem:

running neat, get python import error

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


How Reproducible:

Steps to Reproduce:
1. redhat-config-network (or neat)

Actual Results:

Python import error (see below)

Expected Results:

config-network dialog

Additional Information:

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 ?
    exec cmd
  File "<string>", line 1, in ?
line 21, in ?
    from NC_functions import _
ImportError: cannot import name _


Comment 1 Michael Goll 2002-11-14 20:02:34 UTC
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.


Comment 2 Harald Hoyer 2003-01-13 13:08:37 UTC
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

Comment 3 Michael Goll 2003-01-15 22:20:46 UTC

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.

Take care...