unable to import gtk.Window -> gio: TypeError: type 'gio.MemoryOutputStream' is not dynamically allocated but its base type '__main__.GPollableOutputStream' is dynamically allocated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject-2 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
python2.7 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
python3.4 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Hit this after the most recent updates in vivid:
** (process:21949): WARNING **: couldn't make the type `gio.MemoryInpu
** (process:21949): WARNING **: couldn't make the type `gio.MemoryOutp
TypeError: type 'gio.MemoryOutp
** (process:21949): WARNING **: couldn't make the type `gio.unix.
** (process:21949): WARNING **: couldn't make the type `gio.unix.
/usr/lib/
from gtk import _gtk
ImportError: could not import gio
ImportError: could not import gio
ImportError: cannot import name Object from gtk
Traceback (most recent call last):
File "/usr/bin/
TERMINATOR.
File "/usr/share/
window, terminal = self.new_window()
File "/usr/share/
window = maker.make(
File "/usr/share/
output = func(**kwargs)
File "/usr/share/
import window
File "/usr/share/
class Window(Container, gtk.Window):
AttributeError: 'module' object has no attribute 'Window'
As neither terminator or pyobject-2 has changed, I would suspect the python update that landed on the 26th.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: terminator 0.97-4
ProcVersionSign
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 27 09:56:01 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-25 (93 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124)
PackageArchitec
SourcePackage: terminator
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | terminator |
Changed in hamster-applet (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | terminator (Ubuntu) |
no longer affects: | hamster-applet (Ubuntu) |
Changed in pygobject-2 (Ubuntu): | |
importance: | Undecided → High |
Changed in python2.7 (Ubuntu): | |
importance: | Undecided → High |
Changed in python3.4 (Ubuntu): | |
importance: | Undecided → High |
Probably this:
- Issue #22079: PyType_Ready() now checks that statically allocated type has
no dynamically allocated bases.