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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/846204 Title: software-center crashed with ValueError in get_iter(): invalid tree path '0:0' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/846204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs