← Back to team overview

desktop-packages team mailing list archive

[Bug 905602] [NEW] software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'

 

You have been subscribed to a public bug:

Tried to set the apt mirrir to "other".

TEST CASE:
1. Launch software-properties-gtk from a console
2. Switch to first tab 'Ubuntu Software' if not already selected
3. On the combobox 'Download from' select 'Other ...'

ACTUAL RESULT:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 477, in on_combobox_server_changed
    uri = server_store.get_value(iter, 1)
  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
The user can proceed with the selection of another mirror.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-properties-gtk 0.82
ProcVersionSignature: Ubuntu 3.2.0-5.11-generic 3.2.0-rc5
Uname: Linux 3.2.0-5-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Sat Dec 17 00:02:57 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/software-properties-gtk
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111216.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 0
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '0']
SourcePackage: software-properties
Title: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Affects: pygobject (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress

** Affects: pygobject (Ubuntu Precise)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress


** Tags: amd64 apport-crash precise rls-mgr-p-tracking running-unity
-- 
software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'
https://bugs.launchpad.net/bugs/905602
You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygobject in Ubuntu.