desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #63092
[Bug 905602] Re: software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'
introduced in https://bugzilla.gnome.org/show_bug.cgi?id=663610
** Package changed: software-properties (Ubuntu Precise) => pygobject
(Ubuntu Precise)
** Changed in: pygobject (Ubuntu Precise)
Status: Triaged => In Progress
** Changed in: pygobject (Ubuntu Precise)
Assignee: Canonical Foundations Team (canonical-foundations) => Martin Pitt (pitti)
** Bug watch added: GNOME Bug Tracker #663610
https://bugzilla.gnome.org/show_bug.cgi?id=663610
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/905602
Title:
software-properties-gtk crashed with AttributeError in
_decode_value(): 'NoneType' object has no attribute 'decode'
Status in “pygobject” package in Ubuntu:
In Progress
Status in “pygobject” source package in Precise:
In Progress
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/905602/+subscriptions