← Back to team overview

desktop-packages team mailing list archive

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

 

Both the simple and the GtkBuilder test cases for the original bug still
work (it was wrong at the refcount check, though; the builder has a
reference, and the python code has another variable for it, so it ought
to be 2), so they still work. I confirm that with 3.0.0 custom
constructors are still called, so this must be something else. I'll try
to distill a test case for this.

** Changed in: pygobject (Ubuntu Oneiric)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject 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:
  In Progress
Status in “ubiquity” package in Ubuntu:
  Invalid
Status in “pygobject” source package in Oneiric:
  In Progress
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