[Bug 1101881] Re: software-properties-gtk crashed with TypeError in __new__(): object of type 'NoneType' has no len()
Brian Murray
brian at ubuntu.com
Tue Jun 21 20:31:23 UTC 2016
** Description changed:
+ [ Impact ]
+ Users on architectures other than amd64 of i386 trying to use software-properties to choose a server from which to download software will receive a crash after closing the "Choose a Download Server" dialog.
+
+ [ Test Case ]
+ 1) Be on a not i386 or amd64 system (or be on amd64 and use a hack found in comment #11)
+ 2) Launch software-properties-gtk
+ 3) In the Download from: drop-down choose "Other..."
+ 4) Observe an empty list of download servers
+ 5) Click "Cancel"
+ 6) Observe a traceback in the terminal which you launched software-properties-gtk
+
+ Wit the version of software-properties-gtk from -proposed you will not
+ receive a crash.
+
+ -----------------------------------------------------------------------
+
on nexus 7
- ProblemType: Crash
- DistroRelease: Ubuntu 13.04
+ ProblemType: CrashDistroRelease: Ubuntu 13.04
Package: software-properties-gtk 0.92.13
Uname: Linux 3.1.10-8-nexus7 armv7l
ApportVersion: 2.8-0ubuntu2
Architecture: armhf
CrashCounter: 1
Date: Sat Jan 19 14:44:31 2013
ExecutablePath: /usr/bin/software-properties-gtk
InstallationDate: Installed on 2013-01-16 (3 days ago)
InstallationMedia: Ubuntu Raring Ringtail (development branch) - armhf (20130115-15:18)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/software-properties-gtk --open-tab 2
ProcEnviron:
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=<set>
- LANG=en_US.UTF-8
- SHELL=/bin/bash
- PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']
- SourcePackage: software-properties
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
+ PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']SourcePackage: software-properties
Title: software-properties-gtk crashed with TypeError in __new__(): object of type 'NoneType' has no len()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
--
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/1101881
Title:
software-properties-gtk crashed with TypeError in __new__(): object of
type 'NoneType' has no len()
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Wily:
Triaged
Status in software-properties source package in Xenial:
Triaged
Bug description:
[ Impact ]
Users on architectures other than amd64 of i386 trying to use software-properties to choose a server from which to download software will receive a crash after closing the "Choose a Download Server" dialog.
[ Test Case ]
1) Be on a not i386 or amd64 system (or be on amd64 and use a hack found in comment #11)
2) Launch software-properties-gtk
3) In the Download from: drop-down choose "Other..."
4) Observe an empty list of download servers
5) Click "Cancel"
6) Observe a traceback in the terminal which you launched software-properties-gtk
Wit the version of software-properties-gtk from -proposed you will not
receive a crash.
-----------------------------------------------------------------------
on nexus 7
ProblemType: CrashDistroRelease: Ubuntu 13.04
Package: software-properties-gtk 0.92.13
Uname: Linux 3.1.10-8-nexus7 armv7l
ApportVersion: 2.8-0ubuntu2
Architecture: armhf
CrashCounter: 1
Date: Sat Jan 19 14:44:31 2013
ExecutablePath: /usr/bin/software-properties-gtk
InstallationDate: Installed on 2013-01-16 (3 days ago)
InstallationMedia: Ubuntu Raring Ringtail (development branch) - armhf (20130115-15:18)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/software-properties-gtk --open-tab 2
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']SourcePackage: software-properties
Title: software-properties-gtk crashed with TypeError in __new__(): object of type 'NoneType' has no len()
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/software-properties/+bug/1101881/+subscriptions
More information about the foundations-bugs
mailing list