[Bug 856669] Re: pygobject 3.0.0-0svn1 does not work with custom python GTK widgets

Martin Pitt martin.pitt at ubuntu.com
Mon Sep 26 06:44:22 UTC 2011


** Changed in: pygobject (Ubuntu Oneiric)
     Assignee: Ubuntu Desktop (ubuntu-desktop) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/856669

Title:
  pygobject 3.0.0-0svn1 does not work with custom python GTK widgets

Status in “pygobject” package in Ubuntu:
  Triaged
Status in “ubiquity” package in Ubuntu:
  Invalid
Status in “pygobject” source package in Oneiric:
  Triaged
Status in “ubiquity” source package in Oneiric:
  Invalid

Bug description:
  pygobject 3.0.0-0svn1 introduces a bug whereby Python GTK+ widgets
  instantiated with GtkBuilder do not get their __init__ methods called.

  I have narrowed it down to the following patch:
  https://bugzilla.gnome.org/attachment.cgi?id=196572

  This was introduced to fix http://bugzilla.gnome.org/show_bug.cgi?id=657403, however the test case for this still fails with 3.0.0-0svn1:
  http://bugzilla.gnome.org/attachment.cgi?id=194787

  This caused Ubiquity's test suite to fail, as well as Ubiquity itself
  on CDs with upgraded copies of pygobject.

  Original report follows:
  issue appears when i installed 7 zip with software center and try to install release

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: ubiquity 2.7.35
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  ApportVersion: 1.23-0ubuntu1
  Architecture: amd64
  Date: Thu Sep 22 20:26:27 2011
  ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity gtk_ui
  ProcEnviron: Error: [Errno 13] Permission denied: '/proc/2252/environ'
  PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', 'gtk_ui']
  SourcePackage: ubiquity
  Title: ubiquity crashed with AttributeError in do_set_property(): 'StateBox' object has no attribute 'label'
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/ubiquity/ubiquity/gtkwidgets.py", line 309, in do_set_property
       self.label.set_text(value)
   AttributeError: 'StateBox' object has no attribute 'label'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/856669/+subscriptions




More information about the foundations-bugs mailing list