Bug 115533 - redhat-config-network crashes upon launch
redhat-config-network crashes upon launch
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: redhat-config-network (Show other bugs)
1
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-02-13 06:34 EST by fabio
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-02-13 12:15:16 EST
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 fabio 2004-02-13 06:34:34 EST
Description of problem:
crashes because it can't import bonobo.ui
Version-Release number of selected component (if applicable):
redhat-config-network-1.3.10-1

How reproducible:
always

Steps to Reproduce:
1.redhat-config-network
2.
3.
  
Actual results:
crash

Expected results:
open main configuration window

Additional info:
Comment 1 fabio 2004-02-13 06:35:43 EST
Component: redhat-config-network
Version: 1.3.10
Summary: TBd9d48f1f NewInterfaceDialog.py:27:?:ImportError: could not
import bonobo.ui
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network-gui", line 138, in main
    import netconfpkg.gui.GUI_functions
  File
"/usr/src/build/320592-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/__init__.py",
line 36, in ?
  File "<string>", line 1, in ?
  File
"/usr/src/build/320592-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py",
line 27, in ?
ImportError: could not import bonobo.ui

Local variables in innermost frame:
FALSE: 0
signal: <module 'signal' (built-in)>
__builtins__: {'help': Type help() for interactive help, or
help(object) for help about object., 'vars': <built-in function vars>,
'pow': <built-in function pow>, 'RuntimeError': <class
exceptions.RuntimeError at 0x9c788a4>, 'float': <type 'float'>,
'StopIteration': <class exceptions.StopIteration at 0x9c77634>,
'globals': <built-in function globals>, 'divmod': <built-in function
divmod>, 'unicode': <type 'unicode'>, 'apply': <built-in function
apply>, 'isinstance': <built-in function isinstance>, 'open': <type
'file'>, 'ArithmeticError': <class exceptions.ArithmeticError at
0x9c7a5ec>, 'quit': 'Use Ctrl-D (i.e. EOF) to exit.', 'UnicodeError':
<class exceptions.UnicodeError at 0x9c7ae14>, 'zip': <built-in
function zip>, 'LookupError': <class exceptions.LookupError at
0x9c7835c>, 'super': <type 'super'>, 'AttributeError': <class
exceptions.AttributeError at 0x9c729c4>, 'hex': <built-in function
hex>, 'long': <type 'long'>, 'ReferenceError': <class
exceptions.ReferenceError at 0x9c7afec>, 'NameError': <class
exceptions.NameError at 0x9c78ae4>, 'ImportError': <class
exceptions.ImportError at 0x9c77e2c>, 'chr': <built-in function chr>,
'complex': <type 'complex'>, 'dict': <type 'dict'>, '__import__':
<built-in function __import__>, 'input': <built-in function input>,
'type': <type 'type'>, 'oct': <built-in function oct>, 'SystemExit':
<class exceptions.SystemExit at 0x9c77bc4>, 'Exception': <class
exceptions.Exception at 0x9c773b4>, 'StandardError': <class
exceptions.StandardError at 0x9c777ec>, 'tuple': <type 'tuple'>,
'repr': <built-in function repr>, 'SystemError': <class
exceptions.SystemError at 0x9c7b04c>, 'IOError': <class
exceptions.IOError at 0x9c78204>, 'IndexError': <class
exceptions.IndexError at 0x9c7a294>, 'hasattr': <built-in function
hasattr>, 'delattr': <built-in function delattr>, 'False': 0,
'RuntimeWarning': <class exceptions.RuntimeWarning at 0x9c7bdc4>,
'setattr': <built-in function setattr>, 'raw_input': <built-in
function raw_input>, 'list': <type 'list'>, 'SyntaxWarning': <class
exceptions.SyntaxWarning at 0x9c7ba4c>, 'iter': <built-in function
iter>, '__doc__': "Built-in functions, exceptions, and other
objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents
`...' in slices.", 'compile': <built-in function compile>, 'reload':
<built-in function reload>, 'Warning': <class exceptions.Warning at
0x9c7b4f4>, 'str': <type 'str'>, 'property': <type 'property'>,
'round': <built-in function round>, 'dir': <built-in function dir>,
'cmp': <built-in function cmp>, 'MemoryError': <class
exceptions.MemoryError at 0x9c7b37c>, 'hash': <built-in function
hash>, 'int': <type 'int'>, 'xrange': <built-in function xrange>,
'reduce': <built-in function reduce>, 'KeyError': <class
exceptions.KeyError at 0x9c7a424>, 'coerce': <built-in function
coerce>, 'intern': <built-in function intern>, 'exit': 'Use Ctrl-D
(i.e. EOF) to exit.', 'issubclass': <built-in function issubclass>,
'file': <type 'file'>, 'EnvironmentError': <class
exceptions.EnvironmentError at 0x9c78124>, 'unichr': <built-in
function unichr>, 'id': <built-in function id>, 'locals': <built-in
function locals>, 'slice': <built-in function slice>,
'DeprecationWarning': <class exceptions.DeprecationWarning at
0x9c7b89c>, 'min': <built-in function min>, 'FloatingPointError':
<class exceptions.FloatingPointError at 0x9c7ab04>, 'execfile':
<built-in function execfile>, 'OverflowWarning': <class
exceptions.OverflowWarning at 0x9c7bc04>, 'getattr': <built-in
function getattr>, 'abs': <built-in function abs>, 'bool': <built-in
function bool>, 'True': 1, 'ValueError': <class exceptions.ValueError
at 0x9c7ab64>, 'NotImplemented': NotImplemented, 'map': <built-in
function map>, 'None': None, 'EOFError': <class exceptions.EOFError at
0x9c78714>, 'buffer': <built-in function buffer>, 'max': <built-in
function max>, 'object': <type 'object'>, 'len': <built-in function
len>, 'TabError': <class exceptions.TabError at 0x9c79b2c>,
'callable': <built-in function callable>, 'credits': Thanks to CWI,
CNRI, BeOpen.com, Digital Creations and a cast of thousands
for supporting Python development.  See www.python.org for more
information., 'SyntaxError': <class exceptions.SyntaxError at
0x9c72b2c>, 'OSError': <class exceptions.OSError at 0x9c78564>,
'eval': <built-in function eval>, '__name__': '__builtin__', 'ord':
<built-in function ord>, '__debug__': 1, 'IndentationError': <class
exceptions.IndentationError at 0x9c79acc>, '_': <bound method
i18n.gettext of <rhpl.translate.i18n instance at 0x9cde794>>,
'AssertionError': <class exceptions.AssertionError at 0x9c79df4>,
'TypeError': <class exceptions.TypeError at 0x9c7784c>, 'copyright':
Copyright (c) 2001, 2002 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'license': See
http://www.python.org/2.2/license.html, 'classmethod': <type
'classmethod'>, 'KeyboardInterrupt': <class
exceptions.KeyboardInterrupt at 0x9c77dcc>, 'UserWarning': <class
exceptions.UserWarning at 0x9c7b6bc>, 'ZeroDivisionError': <class
exceptions.ZeroDivisionError at 0x9c7a95c>, 'UnboundLocalError':
<class exceptions.UnboundLocalError at 0x9c72834>, 'filter': <built-in
function filter>, 'range': <built-in function range>, 'staticmethod':
<type 'staticmethod'>, 'NotImplementedError': <class
exceptions.NotImplementedError at 0x9c78a84>, 'Ellipsis': Ellipsis,
'OverflowError': <class exceptions.OverflowError at 0x9c7a794>}
__name__: netconfpkg.gui.NewInterfaceDialog
__file__:
/usr/sbin/../share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.pyc
gtk: <module 'gtk' from
'/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.pyc'>
os: <module 'os' from '/usr/lib/python2.2/os.pyc'>
__doc__: None
TRUE: 1
Comment 2 Harald Hoyer 2004-02-13 06:48:34 EST
seems like you require to install: gnome-python2-bonobo
Comment 3 fabio 2004-02-13 07:21:09 EST
gnome-python2-bonobo-2.0.0-2 is already installed on my system
Comment 4 Harald Hoyer 2004-02-13 08:49:48 EST
Please attach the output of
$ ldd /usr/lib/python*/site-packages/gtk*/bonobo/ui.so
Comment 5 fabio 2004-02-13 09:17:55 EST
output of $ ldd /usr/lib/python2.2/site-packages/gtk-2.0/bonobo/ui.so:

libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0x00550000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00844000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00fd2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00824000)
        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0
(0x003e7000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x00c35000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00b56000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00123000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00ccb000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00371000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x0038b000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x006fb000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x0039e000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x003ab000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x00413000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x003de000)
        libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x00427000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x007c6000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0x004af000)
        libbonobo-activation.so.4 =>
/usr/lib/libbonobo-activation.so.4 (0x00db0000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x00f37000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x004ea000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00d79000)
        libm.so.6 => /lib/tls/libm.so.6 (0x0051d000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00e8e000)
        libdl.so.2 => /lib/libdl.so.2 (0x0047c000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x005b2000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0093c000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00cb3000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x0047f000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0061b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00499000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00f95000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0071c000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x0053f000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00543000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0076c000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x00df6000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00da1000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0x0077a000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x00782000)
        libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0
(0x007a6000)
        libssl.so.4 => /lib/libssl.so.4 (0x00a75000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00fe2000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x007b3000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00aaa000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00edc000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x007fa000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00e2b000)
        librt.so.1 => /lib/tls/librt.so.1 (0x00b11000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00b25000)
Comment 6 Harald Hoyer 2004-02-13 09:30:42 EST
And what is the output of:
$ echo -e "import bonobo.ui\nprint 'OK'"|python
Comment 7 fabio 2004-02-13 09:43:40 EST
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.2/site-packages/bonobo/__init__.py", line 5, in ?
ImportError: No module named activation
Comment 8 Harald Hoyer 2004-02-13 10:09:05 EST
where does this come from???? 
"/usr/lib/python2.2/site-packages/bonobo/__init__.py"
should be:
/usr/lib/python2.2/site-packages/gtk-2.0/bonobo

what is
# rpm -qf /usr/lib/python2.2/site-packages/bonobo/__init__.py
Comment 9 fabio 2004-02-13 10:34:04 EST
error: file /usr/lib/python2.2/site-packages/bonobo/__init__.py: No
such file or directory

while # rpm -qf /usr/lib/python2.2/site-packages/bonobo/__init__.py* says:
file /usr/lib/python2.2/site-packages/bonobo/__init__.pyc is not owned
by any package
file /usr/lib/python2.2/site-packages/bonobo/__init__.pyo is not owned
by any package

Comment 10 Harald Hoyer 2004-02-13 11:07:10 EST
These seem to be old relicts... I would recommend
# rm -fr /usr/lib/python2.2/site-packages/bonobo
Comment 11 fabio 2004-02-13 11:27:29 EST
right, thanks!
now redhat-config-network starts fine and the output of
echo -e "import bonobo.ui\nprint 'OK'"|python is
OK

tx again

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