[Natty] New software-properties breaks the application

Bug #718811 reported by Harry on 2011-02-14
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Martin Pitt
Martin Pitt

Bug Description

The newest upgrade to the software-properties breaks the application "software-properties".
This can easily be reproduced by opening Synaptic, selecting "Settings" and "repositories".
Also, you can test this from terminal.
Downgrading this version (0.80) to the previous version (0.78.1) solves this issue.

Harry (harry33) on 2011-02-14
description: updated
Martin Pitt (pitti) wrote :

Ah, I get that, too, when running from synaptics (but not from terminal):

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 111, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 106, in __init__
    toplevel = Gdk.window_foreign_new(int(options.toplevel))
  File "/usr/lib/pymodules/python2.7/gi/module.py", line 263, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/pymodules/python2.7/gi/module.py", line 98, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gdk' object has no attribute 'window_foreign_new'

Changed in software-properties (Ubuntu):
importance: Undecided → High
status: New → In Progress
Changed in software-properties (Ubuntu Natty):
assignee: nobody → Martin Pitt (pitti)
milestone: none → natty-alpha-3
Martin Pitt (pitti) on 2011-02-15
Changed in software-properties (Ubuntu Natty):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-properties - 0.80.2

software-properties (0.80.2) natty; urgency=low

  * softwareproperties/gtk/SoftwarePropertiesGtk.py: Gdk.window_foreign_new()
    is currently not introspectable (and went away entirely in Gtk 3), so
    don't crash if it is not available. (LP: #718811)
 -- Martin Pitt <email address hidden> Tue, 15 Feb 2011 09:26:12 +0100

Changed in software-properties (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers