[Python-modules-team] Bug#653588: python-cairo: version 1.8.8 is too old to use with PyGI(GObject Introspection)
Shyouzou Sugitani
shy at m3.catvmics.ne.jp
Thu Dec 29 15:53:09 UTC 2011
Package: python-cairo
Version: 1.8.8-1+b2
Severity: normal
Dear Maintainer,
Some of the Gdk3 API requires support of cairo Regions(new in 1.10).
Version 1.8.8 is too old to use with PyGI(Gobject Introspection).
Please consider updating to new upstream version 1.10.x.
$ python
>>> from gi.repository import Gtk
>>> win = Gtk.Window()
>>> darea = Gtk.DrawingArea()
>>> win.add(darea)
>>> darea.realize()
>>> darea.get_window().get_visible_region()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
return info.invoke(*args, **kwargs)
TypeError: Couldn't find conversion for foreign struct 'cairo.Region'
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-cairo depends on:
ii libc6 2.13-24
ii libcairo2 1.10.2-6.2
ii python 2.7.2-9
ii python-support 1.0.14
python-cairo recommends no packages.
python-cairo suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list