** Changed in: software-center (Ubuntu)
Status: Triaged => In Progress
** Branch linked: lp:~gary-lasker/software-center/fix-crash-lp885726
--
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/885726
Title:
software-center crashed with TypeError in _get_combo_children():
object of type 'NoneType' has no len()
Status in “software-center” package in Ubuntu:
In Progress
Bug description:
Hi!
Well, when I closed the Sofware Center, Apport launches.
Here is the repport, hoping Apport’s information could be useful.
Note that during my upgrade to Oneiric, I got several problems and
some of my packages might not be very well set.
Martin.
---
Note that this bug still occurs in final Precise version 5.2, as shown
in the following traceback from duplicate bug 992452:
Traceback (most recent call last):
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py",
line 577, in on_db_reopen
self.refresh_apps()
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py",
line 788, in refresh_apps
SoftwarePane.refresh_apps(self, query)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line
432, in refresh_apps
self._refresh_apps_with_apt_cache(query)
File "/usr/share/software-center/softwarecenter/utils.py", line 118, in
wrapper
f(*args, **kwargs)
File
"/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line
451, in _refresh_apps_with_apt_cache
self.app_view.configure_sort_method(self._is_in_search_mode())
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py",
line 223, in configure_sort_method
self._use_combobox_without_sort_by_search_ranking()
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py",
line 155, in _use_combobox_without_sort_by_search_ranking
if self._get_combo_children() == 3:
File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py",
line 147, in _get_combo_children
return len(self.sort_methods_combobox.get_model())
TypeError: object of type 'NoneType' has no len()
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.2
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 01a18e0a74cbde3d34a62f62830ed079
CheckboxSystem: f134069bba098730d27f59b402920826
Date: Thu Nov 3 16:05:36 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
PATH=(custom, no user)
LANG=fr_FR.utf8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with TypeError in _get_combo_children():
object of type 'NoneType' has no len()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev
sambashare tape video
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/885726/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp