Fail to load: AttributeError: 'module' object has no attribute 'Screen'

Bug #1426017 reported by dino99
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bleachbit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

system booted with systemd-sysv

oem@u32:~$ sudo bleachbit
[sudo] password for oem:

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

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

** (process:22911): 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/bleachbit", line 39, in <module>
    gtk.gdk.Screen().get_display()
AttributeError: 'module' object has no attribute 'Screen'

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: bleachbit 1.6-1
ProcVersionSignature: Ubuntu 3.19.0-6.6-generic 3.19.0
Uname: Linux 3.19.0-6-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.16.1-0ubuntu2
Architecture: i386
CurrentDesktop: GNOME
Date: Thu Feb 26 17:38:21 2015
PackageArchitecture: all
SourcePackage: bleachbit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
Jasper (jasper-mackenzie) wrote :

I have this issue, and its to do with gio, not bleachbit specifically, can you move it tot he correct package?
 I think gio is pygtk, or python-gobject-2

Revision history for this message
dino99 (9d9) wrote :

Fixed now

python2.7 (2.7.9-1ubuntu2) vivid; urgency=medium

  * Revert change from previous upload
    - Issue #22079: PyType_Ready() now checks that statically allocated type has
      no dynamically allocated bases.
    As it causes 'gio' from pygobject-2 to fail to initialise, which breaks
    several consuming applications. (LP: #1426294)

 -- Iain Lane <email address hidden> Fri, 27 Feb 2015 17:53:39 +0000

Changed in bleachbit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.