Bug#625703: ABI break for metaclass handling

Pietro Battiston me at pietrobattiston.it
Thu May 5 08:22:36 UTC 2011


Package: python-gobject
Version: 2.28.3-2
Severity: normal
Tags: sid

If you try to start "sqledit", from "python-sqlkit" package in experimental,
which used to work fine with previous python-gobject versions, it now dies
horribly:


pietro at voubian:~$ sqledit
Traceback (most recent call last):
  File "/usr/bin/sqledit", line 379, in <module>
    from sqlkit.misc import conf, optionparse, table_browser
  File "/usr/lib/python2.6/dist-packages/sqlkit/misc/table_browser.py", line
23, in <module>
    from sqlkit.widgets import SqlTable, SqlMask
  File "/usr/lib/python2.6/dist-packages/sqlkit/widgets/__init__.py", line 2,
in <module>
    from mask import SqlMask
  File "/usr/lib/python2.6/dist-packages/sqlkit/widgets/mask/__init__.py", line
2, in <module>
    from mask import SqlMask
  File "/usr/lib/python2.6/dist-packages/sqlkit/widgets/mask/mask.py", line 27,
in <module>
    from sqlkit.widgets.common import completion, sqlwidget
  File "/usr/lib/python2.6/dist-packages/sqlkit/widgets/common/completion.py",
line 60, in <module>
    class SimpleCompletion(object):
  File "/usr/lib/python2.6/dist-packages/gobject/__init__.py", line 60, in
__init__
    cls._type_register(cls.__dict__)
  File "/usr/lib/python2.6/dist-packages/gobject/__init__.py", line 114, in
_type_register
    type_register(cls, namespace.get('__gtype_name__'))
TypeError: Error when calling the metaclass bases
    argument must be a GObject subclass


The problem has apparently surfaced in many other apps (see LP #713840, LP
#713843, LP #729947, LP #746416) and has been fixed by Ubuntu with a patch from
upstream:
http://changelogs.ubuntu.com/changelogs/pool/main/p/pygobject/pygobject_2.28.3-1ubuntu1/changelog

Applying that patch should probably be enough...

Pietro Battiston



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gobject depends on:
ii  gir1.2-glib-2.0               0.10.7-1   Introspection data for GLib, GObje
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libffi5                       3.0.9-4    Foreign Function Interface library
ii  libgirepository-1.0-1         0.10.7-1   Library for handling GObject intro
ii  libglib2.0-0                  2.28.6-1   The GLib library of C routines
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python2.6                     2.6.6-10   An interactive high-level object-o

Versions of packages python-gobject recommends:
pn  python-gobject-cairo          <none>     (no description available)

Versions of packages python-gobject suggests:
pn  python-gobject-dbg            <none>     (no description available)

-- no debconf information






More information about the pkg-gnome-maintainers mailing list