Maybe a ‘very old’ design issue… It occurs when we “run” a gramplet a second time after having a list stored as “self.text” (GtkTextView) on the first run.
- self.text.set_text(_('Parsing file...'))
+ if isinstance(self.text, list):
+ pass
+ else:
+ self.text.set_text(_('Parsing file...'))
An other solution might be to make the run button inactive after the first run. If there is a simple way for cleaning the TextBuffer (GtkTextView), like a purge, then this might be better (for ressources, memory leaks & co).