"import gtk" fails with TypeError: type 'gio.MemoryOutputStream' is not dynamically allocated but its base type '__main__.GPollableOutputStream' is dynamically allocated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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.MemoryInpu
** (process:15699): WARNING **: couldn't make the type `gio.MemoryOutp
TypeError: type 'gio.MemoryOutp
** (process:15699): WARNING **: couldn't make the type `gio.unix.
** (process:15699): WARNING **: couldn't make the type `gio.unix.
/usr/lib/
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(
AttributeError: 'module' object has no attribute 'Dialog'
like lp:1426229 and some others