desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #103648
[Bug 1426425] Re: "import gtk" fails with TypeError: type 'gio.MemoryOutputStream' is not dynamically allocated but its base type '__main__.GPollableOutputStream' is dynamically allocated
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pygtk (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygtk in Ubuntu.
https://bugs.launchpad.net/bugs/1426425
Title:
"import gtk" fails with TypeError: type 'gio.MemoryOutputStream' is
not dynamically allocated but its base type
'__main__.GPollableOutputStream' is dynamically allocated
Status in pygtk package in Ubuntu:
Confirmed
Bug description:
On today's Ubuntu vivid (freshly installed from daily image), any
pygtk app fails on "import gtk" (more specifically, the nested "import
gio") with the following output (taking Dropbox as an example)
$ dropbox start -i
Starting Dropbox...
** (process:15699): WARNING **: couldn't make the type `gio.MemoryInputStream' ready
** (process:15699): WARNING **: couldn't make the type `gio.MemoryOutputStream' ready
TypeError: type 'gio.MemoryOutputStream' is not dynamically allocated but its base type '__main__.GPollableOutputStream' is dynamically allocated
** (process:15699): WARNING **: couldn't make the type
`gio.unix.InputStream' ready
** (process:15699): WARNING **: couldn't make the type `gio.unix.OutputStream' ready
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
from gtk import _gtk
ImportError: could not import gio
ImportError: could not import gio
Traceback (most recent call last):
File "/usr/bin/dropbox", line 1257, in start
download()
File "/usr/bin/dropbox", line 338, in download
class DownloadDialog(gtk.Dialog):
AttributeError: 'module' object has no attribute 'Dialog'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/1426425/+subscriptions
References