software-properties-gtk crashed with AttributeError in _decode_value(): 'NoneType' object has no attribute 'decode'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Precise |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Tried to set the apt mirrir to "other".
TEST CASE:
1. Launch software-
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/
uri = server_
File "/usr/lib/
return self._decode_
File "/usr/lib/
value = value.decode(
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-
ProcVersionSign
Uname: Linux 3.2.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Sat Dec 17 00:02:57 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111216.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-properties
Title: software-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
tags: | removed: need-duplicate-check |
visibility: | private → public |
tags: | added: rls-mgr-p-tracking |
description: | updated |
I was able to recreate this using the same steps.