Thanks for the bugreport.
I can reproduce this here, Olivier hinted that something like this: === modified file 'softwarecenter/view/channelpane.py' --- softwarecenter/view/channelpane.py 2010-04-27 14:11:04 +0000 +++ softwarecenter/view/channelpane.py 2010-05-09 22:37:25 +0000 @@ -101,6 +101,9 @@ if old_model is not None: old_model.active = False self.app_view.set_model(None) + print "clear" + old_model.clear() + del old_model gobject.idle_add(self._make_new_model, query, self.refresh_seq_nr) return False
should fix it (for all the places where we use this contruct). And without the "print" ;)
We should also SRU it.
Thanks, Michael
Thanks for the bugreport.
I can reproduce this here, Olivier hinted that something like this: /view/channelpa ne.py' view/channelpan e.py 2010-04-27 14:11:04 +0000 view/channelpan e.py 2010-05-09 22:37:25 +0000
old_ model.active = False
self. app_view. set_model( None)
gobject. idle_add( self._make_ new_model, query, self.refresh_ seq_nr)
=== modified file 'softwarecenter
--- softwarecenter/
+++ softwarecenter/
@@ -101,6 +101,9 @@
if old_model is not None:
+ print "clear"
+ old_model.clear()
+ del old_model
return False
should fix it (for all the places where we use this contruct). And without the "print" ;)
We should also SRU it.
Thanks,
Michael