[Bug 911834] Re: software-properties-gtk crashed with AttributeError in on_treeview_sources_cursor_changed(): 'NoneType' object has no attribute 'get_selected'

Martin Pitt martin.pitt at ubuntu.com
Fri Jan 6 17:00:04 UTC 2012


Do you have some steps how to reproduce this? Can you still reproduce it
with today's python-gi update?

Thanks!

pygobject (3.0.3-2) unstable; urgency=medium

  * Urgency medium as the previous release with the regression already made it
    into testing and is causing quite a few unexpected breakages.
  * Add 01_revert_tree_model_unicode_conversion.patch: Revert "Convert all
    strings to utf-8 encoding when retrieving from TreeModel" change from
    previous release. This changes existing behaviour (model values being str
    instead of unicode) and also makes tree model behaviour incompatible to
    the rest of Gtk behaviour (which always returns UTF-8 encoded str objects,
    not unicode). The original bug description was a bug in the test case
    code, you cannot mix str and unicode objects in interpolation.
    (LP: #905602)

 -- Martin Pitt <martin.pitt at ubuntu.com>   Fri, 06 Jan 2012 16:38:51
+0100

** Visibility changed to: Public

** Changed in: software-properties (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  software-properties-gtk crashed with AttributeError in
  on_treeview_sources_cursor_changed(): 'NoneType' object has no
  attribute 'get_selected'

Status in “software-properties” package in Ubuntu:
  Incomplete

Bug description:
  Description:	Ubuntu precise (development branch)
  Release:	12.04
  software-properties-gtk:
    Installed: 0.82
    Candidate: 0.82
    Version table:
   *** 0.82 0
          500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-properties-gtk 0.82
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Uname: Linux 3.2.0-7-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  CheckboxSubmission: fc038fbbc6dcc038ea950e9a3aece7e1
  CheckboxSystem: b8f3ec504801f13fc208edb5c785b099
  Date: Wed Jan  4 19:54:09 2012
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk
  PythonArgs: ['/usr/bin/software-properties-gtk']
  SourcePackage: software-properties
  Title: software-properties-gtk crashed with AttributeError in on_treeview_sources_cursor_changed(): 'NoneType' object has no attribute 'get_selected'
  Traceback:
   Traceback (most recent call last):
     File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 820, in on_treeview_sources_cursor_changed
       (model, iter) = sel.get_selected()
   AttributeError: 'NoneType' object has no attribute 'get_selected'
  UpgradeStatus: Upgraded to precise on 2011-12-21 (13 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/911834/+subscriptions




More information about the foundations-bugs mailing list