Bug 79652 - Fatal Python error: could not import bonobo.ui
Fatal Python error: could not import bonobo.ui
Product: Red Hat Raw Hide
Classification: Retired
Component: gnome-python2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Wilson
: 80190 80528 80610 80633 82496 82572 83807 (view as bug list)
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2002-12-14 11:08 EST by Tim Waugh
Modified: 2007-04-18 12:49 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-07 11:19:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
tail of strace redhat-config-printer (7.40 KB, text/plain)
2002-12-24 12:54 EST, sean
no flags Details

  None (edit)
Description Tim Waugh 2002-12-14 11:08:58 EST
Description of problem:
Applet won't start.

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

How reproducible:

Steps to Reproduce:
1. rhn-applet-gui
Comment 1 Tim Waugh 2002-12-18 05:52:37 EST
Changed component.  The files moved around in gnome-python2-bonobo, and python
can no longer find them.
Comment 2 Tim Waugh 2002-12-18 07:20:24 EST
Okay, this seems to be caused by a messy upgrade.  Python is finding the files
in /usr/lib/python2.2/site-packages/bonobo, which is no longer owned by any
package, and so misses the files in
/usr/lib/python2.2/site-packages/gtk-2.0/bonobo altogether.

Perhaps we need
(a) to own the directory
(b) a preun to clean up .pyc/.pyo files in it
(c) a way to fix the fact that we didn't do this before.
Comment 3 Tim Waugh 2002-12-21 19:27:37 EST
*** Bug 80190 has been marked as a duplicate of this bug. ***
Comment 4 sean 2002-12-24 12:54:35 EST
Created attachment 88891 [details]
tail  of strace redhat-config-printer
Comment 5 sean 2002-12-24 13:24:37 EST
rh-config-printer-0.6.25-1 still fails. See the attachment for tail of the
strace. It looks like it's looking for __builtin*, which don't exist anyplace on
my machine.

Comment 6 Tim Waugh 2002-12-24 14:43:50 EST
It's not a redhat-config-printer bug, but a gnome-python2 bug.  The work-around
for the time being is to:

rm -rf /usr/lib/python2.2/site-packages/bonobo
Comment 7 sean 2002-12-24 15:45:09 EST
Thanks for the help. It worksforme.

Comment 8 Tim Waugh 2002-12-28 07:09:03 EST
*** Bug 80528 has been marked as a duplicate of this bug. ***
Comment 9 Bill Nottingham 2003-01-01 00:35:10 EST
*** Bug 80610 has been marked as a duplicate of this bug. ***
Comment 10 Bill Nottingham 2003-01-01 00:52:26 EST
*** Bug 80633 has been marked as a duplicate of this bug. ***
Comment 11 Bill Nottingham 2003-01-23 20:49:42 EST
*** Bug 82572 has been marked as a duplicate of this bug. ***
Comment 12 Bill Nottingham 2003-01-23 20:49:56 EST
*** Bug 82496 has been marked as a duplicate of this bug. ***
Comment 13 Matt Wilson 2003-02-06 16:32:12 EST

%triggerun bonobo -- gnome-python2-bonobo < 1.99.14-5
rm -f /usr/lib/python2.2/site-packages/bonobo/__init__.{pyc,pyo}
Comment 14 Jay Turner 2003-02-07 11:19:24 EST
Fix confirmed with gnome-python2-bonobo-1.99.14-5.
Comment 15 Bill Nottingham 2003-02-10 17:20:35 EST
*** Bug 83807 has been marked as a duplicate of this bug. ***

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