Bug#457149: python-gnome2: does not map bonobo.ui properly

Michael Johnson redbeard at mdjohnson.us
Thu Dec 20 05:44:51 UTC 2007


Package: python-gnome2
Version: 2.20.1-1
Severity: important


When I upgraded from 2.20.0-1 yesterday, quodlibet stopped working for me.
It would generate the following error when starting from the command line:

ImportError: could not import bonobo.ui
Traceback (most recent call last):
   File "/usr/bin/quodlibet", line 304, in ?
     main()
   File "/usr/bin/quodlibet", line 45, in main
     window = widgets.init(player, library)
   File "/usr/share/quodlibet/widgets.py", line 53, in init
     qltk.session.init()
   File "/usr/share/quodlibet/qltk/session.py", line 22, in init
     client.set_restart_style(gnome.ui.RESTART_IF_RUNNING)
AttributeError: '__main__.GnomeClient' object has no attribute  
'set_restart_style'

After digging around, I discovered that the bonobo.ui error was the  
problem.
It seems that the line

   import gnome, gnome.ui

is supposed to automatically load bonobo.ui. Unfortunately, it cannot, for
some reason. This, in turn, kill quodlibet.

Downgrading to python-gnome2 2.20.0-1 fixes the problem.

Thanks,
Michael

-- System Information:
Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-gnome2 depends on:
ii  libart-2.0-2                2.3.19-3     Library of functions for 2D  
graphi
ii  libatk1.0-0                 1.20.0-1     The ATK accessibility toolkit
ii  libbonobo2-0                2.20.2-1     Bonobo CORBA interfaces  
library
ii  libbonoboui2-0              2.20.0-1     The Bonobo UI library
ii  libc6                       2.7-4        GNU C Library: Shared  
libraries
ii  libcairo2                   1.4.12-1     The Cairo 2D vector graphics  
libra
ii  libgconf2-4                 2.20.1-2     GNOME configuration database  
syste
ii  libglib2.0-0                2.14.4-2     The GLib library of C routines
ii  libgnome2-0                 2.20.1.1-1   The GNOME 2 library - runtime  
file
ii  libgnomecanvas2-0           2.20.1.1-1   A powerful object-oriented  
display
ii  libgnomeui-0                2.20.1.1-1   The GNOME 2 libraries (User  
Interf
ii  libgnomevfs2-0              1:2.20.1-1   GNOME Virtual File System  
(runtime
ii  libgtk2.0-0                 2.12.3-2     The GTK+ graphical user  
interface
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange  
library
ii  liborbit2                   1:2.14.7-0.1 libraries for ORBit2 - a  
CORBA ORB
ii  libpango1.0-0               1.18.3-1     Layout and rendering of  
internatio
ii  libpopt0                    1.10-3       lib for parsing cmdline  
parameters
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  python                      2.4.4-6      An interactive high-level  
object-o
ii  python-gtk2 [python2.5-gtk2 2.12.0-2     Python bindings for the  
GTK+ widge
ii  python-support              0.7.5        automated rebuilding support  
for p
pn  python2.4-gtk2              <none>       (no description available)

python-gnome2 recommends no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list