[Natty] New software-properties breaks the application

Bug #718811 reported by Harry
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
High
Martin Pitt
Natty
Fix Released
High
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)
description: updated
Revision history for this message
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)
Changed in software-properties (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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