← Back to team overview

desktop-packages team mailing list archive

[Bug 905605] Re: software-center crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

 

** Branch linked: lp:~kiwinote/software-center/bug905605

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/905605

Title:
  software-center crashed with AttributeError in _decode_value():
  'NoneType' object has no attribute 'decode'

Status in “software-center” package in Ubuntu:
  Fix Committed
Status in “software-center” source package in Precise:
  Fix Committed

Bug description:
  TEST CASE
  1. Launch software-center
  2. Click on the button 'Installed' on the toolbar

  ACTUAL RESULT:
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/oneconfviews.py", line 87, in on_cursor_changed
      hostid = model[path][self.COL_HOSTID]
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1050, in __getitem__
      return self.model.get_value(self.iter, key)
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 977, in get_value
      return self._decode_value(treeiter, column, value)
    File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 803, in _decode_value
      value = value.decode('UTF-8')
  AttributeError: 'NoneType' object has no attribute 'decode'

  EXPECTED RESULT:
  SC proceed to the list of installed softwares without error

  === original description ===
  intentaba desinstalar un programa (Orca) y aparecio el error

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: software-center 5.1.3.1
  ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
  Uname: Linux 3.2.0-5-generic i686
  ApportVersion: 1.90-0ubuntu1
  Architecture: i386
  CrashCounter: 1
  Date: Fri Dec 16 21:51:31 2011
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center
  ProcEnviron:
   LANGUAGE=es_MX:es
   PATH=(custom, no user)
   LANG=es_MX.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-center']
  SourcePackage: software-center
  Title: software-center crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'
  UpgradeStatus: Upgraded to precise on 2011-12-14 (3 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-center/+bug/905605/+subscriptions