← Back to team overview

touch-packages team mailing list archive

[Bug 1426294] Re: unable to import gtk.Window -> gio: TypeError: type 'gio.MemoryOutputStream' is not dynamically allocated but its base type '__main__.GPollableOutputStream' is dynamically allocated

 

Reverting the commit in python2.7, but likely the real fix is in
pygobject-2

** Also affects: python2.7 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: pygobject-2 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: hamster-applet (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: terminator (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1426294

Title:
  unable to import gtk.Window -> gio: TypeError: type
  'gio.MemoryOutputStream' is not dynamically allocated but its base
  type '__main__.GPollableOutputStream' is dynamically allocated

Status in hamster-applet package in Ubuntu:
  Invalid
Status in pygobject-2 package in Ubuntu:
  New
Status in python2.7 package in Ubuntu:
  New
Status in terminator package in Ubuntu:
  Invalid

Bug description:
  Hit this after the most recent updates in vivid:

  ** (process:21949): WARNING **: couldn't make the type
  `gio.MemoryInputStream' ready

  ** (process:21949): 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:21949): WARNING **: couldn't make the type
  `gio.unix.InputStream' ready

  ** (process:21949): 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
  ImportError: cannot import name Object from gtk
  Traceback (most recent call last):
    File "/usr/bin/terminator", line 102, in <module>
      TERMINATOR.create_layout(OPTIONS.layout)
    File "/usr/share/terminator/terminatorlib/terminator.py", line 240, in create_layout
      window, terminal = self.new_window()
    File "/usr/share/terminator/terminatorlib/terminator.py", line 166, in new_window
      window = maker.make('Window')
    File "/usr/share/terminator/terminatorlib/factory.py", line 94, in make
      output = func(**kwargs)
    File "/usr/share/terminator/terminatorlib/factory.py", line 100, in make_window
      import window
    File "/usr/share/terminator/terminatorlib/window.py", line 28, in <module>
      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
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  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)
  PackageArchitecture: all
  SourcePackage: terminator
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hamster-applet/+bug/1426294/+subscriptions