← Back to team overview

desktop-packages team mailing list archive

[Bug 846204] Re: software-center crashed with ValueError in get_iter(): invalid tree path '0:0'

 

i have personally never seen this crash.  it could be the model is
altered without the AppTreeView.clear_model being called which would
reset the 'expanded_path' ...

My lazy solution is to catch any exceptions from the offending code with
a 'try:' (see linked branch)

Not ideal.  There is a gtk_tree_model_iter_is_valid method but the docs
warn it is slow.  not sure if try is much better...

** Branch linked: lp:~mmcg069/software-center/Bug846204

-- 
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/846204

Title:
  software-center crashed with ValueError in get_iter(): invalid tree
  path '0:0'

Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  ?

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: software-center 4.1.22
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: amd64
  Date: Fri Sep  9 22:54:34 2011
  ExecutablePath: /usr/share/software-center/software-center
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110904)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/software-center /tmp/skype-ubuntu_2.2.0.35-1_amd64.deb
  PythonArgs: ['/usr/bin/software-center', '/tmp/skype-ubuntu_2.2.0.35-1_amd64.deb']
  SourcePackage: software-center
  Title: software-center crashed with ValueError in get_iter(): invalid tree path '0:0'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/846204/+subscriptions