Bug 439359 - system-config-network and python error
system-config-network and python error
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: system-config-network (Show other bugs)
rawhide
i386 Linux
low Severity high
: ---
: ---
Assigned To: Harald Hoyer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-28 05:16 EDT by pmarion
Modified: 2008-03-29 04:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-29 04:55:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description pmarion 2008-03-28 05:16:55 EDT
Description of problem:
when starting system-config-network (or system-config-firewall) 

Traceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 53, in <module>
    from netconfpkg.exception import handleException
  File "/usr/share/system-config-network/netconfpkg/__init__.py", line 61, in
<module>
    exec _cmd
  File "<string>", line 1, in <module>
  File "/usr/share/system-config-network/netconfpkg/Control.py", line 29, in
<module>
    import NCDeviceList
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 26,
in <module>
    from netconfpkg.NCDeviceFactory import getDeviceFactory
  File "/usr/share/system-config-network/netconfpkg/NCDeviceFactory.py", line
74, in <module>
    from netconfpkg.plugins import *
  File "/usr/share/system-config-network/netconfpkg/plugins/__init__.py", line
35, in <module>
    exec _cmd
  File "<string>", line 1, in <module>
  File "/usr/share/system-config-network/netconfpkg/plugins/NCDevCTC.py", line
22, in <module>
    from netconfpkg.NC_functions import CTC
ImportError: cannot import name CTC


How reproducible:
Start system-config-network 
I get the same message with system-config-firewall

Steps to Reproduce:
1. Start in on console system-config-network or system-config-firewall
Comment 1 Harald Hoyer 2008-03-28 05:33:26 EDT
quickfix, remove /usr/share/system-config-network/netconfpkg/plugins/NCDevCTC.py*
Comment 2 pmarion 2008-03-28 12:29:24 EDT
If I move /usr/share/system-config-network/netconfpkg/plugins/NCDevCTC.py* in /tmp
I get 
  File "/usr/share/system-config-network/netconfpkg/plugins/NCDevCipe.py", line
73, in <module>
    if NC_functions.DOCIPE:
AttributeError: 'module' object has no attribute 'DOCIPE'

And so long
Now 
[root@localhost ~]# system-config-networkTraceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 53, in <module>
    from netconfpkg.exception import handleException
  File "/usr/share/system-config-network/netconfpkg/__init__.py", line 61, in
<module>
    exec _cmd
  File "<string>", line 1, in <module>
  File "/usr/share/system-config-network/netconfpkg/NCCipe.py", line 22, in <module>
    from netconfpkg import Cipe_base
ImportError: cannot import name Cipe_base
Comment 3 Harald Hoyer 2008-03-28 15:41:09 EDT
do you have stale old files from a broken update?

what's the output of:
$ rpm -qf /usr/share/system-config-network/netconfpkg/NCCipe.py
Comment 4 pmarion 2008-03-29 03:32:41 EDT
rpm -qf /usr/share/system-config-network/netconfpkg/NCCipe.py
system-config-network-tui-1.5.0-1.fc9.noarch
Comment 5 pmarion 2008-03-29 03:43:18 EDT
I have tied yum erase system-config-network-tui.noarc
Suppression:
 system-config-network-tui  noarch     1.5.0-1.fc9      installed         4.8 M
Suppression pour dépendance:
 system-config-network   noarch     1.5.0-1.fc9      installed         1.8 M

Résumé de la transaction
=============================================================================
Installation      0 Paquetage(s)         
Mise à jour       0 Package(s)         
Suppression       2 Package(s)         

Est-ce correct [y/N] : y
Téléchargement des paquetages :
Lancement de rpm_check_debug
Lancement de la transaction de test
Transaction de test terminée
Transaction de test réussie
Lancement de la transaction
  Erasing   : system-config-network-tui    ######################### [1/2] 
  Erasing   : system-config-network        ######################### [2/2] 

Supprimé: system-config-network-tui.noarch 0:1.5.0-1.fc9
Dépendance supprimée: system-config-network.noarch 0:1.5.0-1.fc9
Complété !

Aflet this delete and without any new installation
system-config-network and system-config-firewall work fine.

But what the matter with tui.noarch 0:1.5.0-1.fc9 and tui.noarch1.5.1-1.fc9.noarch

Comment 6 Harald Hoyer 2008-03-29 04:55:00 EDT
seems like you had installed two versions.. 1.5.0 and 1.5.1. sounds like an
update problem.

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