← Back to team overview

gtg team mailing list archive

Re: [Bug 590447] Re: Crash toggling off WorkView

 

On Tue, Jun 15, 2010 at 07:32:58AM -0000, Lionel Dricot wrote:
> Bryce : could it be related to a changing date ?
> 
> One explanation would be that, as the day as changed, the workview
> content is not the same. But because no task were changed, it was not
> refreshed.
> 
> Do you think it's a possible explanaiton ?

That is a really good guess.

Unfortunately, today after updating to latest I learned that it now
crashes 100% of the time when I untoggle WorkView.

(Or I guess 'fortunately' in the sense that it's now much more easy to
reproduce... if it is indeed the same bug.)  Now I get the following
crash error when untoggling:

$ ./gtg
/home/bryce/src/gtg/0.3-main/GTG/gtk/browser/tasktree.py:370:
GtkWarning: gtk_tree_model_sort_row_inserted: assertion `elt != NULL'
failed
  self.row_inserted(node_path, node_iter)
/home/bryce/src/gtg/0.3-main/GTG/gtk/manager.py:209: GtkWarning:
gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter,
tree_model_sort)' failed
  gtk.main()
/home/bryce/src/gtg/0.3-main/GTG/gtk/manager.py:209: Warning:
g_object_set_property: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/0.3-main/GTG/gtk/manager.py:209: Warning:
g_value_unset: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/0.3-main/GTG/gtk/browser/tasktree.py:466:
GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter,
tree_model_sort)' failed
  value = model.get_value(iter, COL_TAGS)
Traceback (most recent call last):
  File "/home/bryce/src/gtg/0.3-main/GTG/gtk/browser/tasktree.py", line
  466, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)

Perhaps model or iter needs to be checked for null values before
calling?

Bryce

-- 
Crash toggling off WorkView
https://bugs.launchpad.net/bugs/590447
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
I ran gtg 0.3+bzr (from yesterday) on my (large) set of tasks ported from 0.2, and left it running overnight (no other changes to tasks had been done).  WorkView had been turned on.  Next morning I clicked WorkView and it crashed:

/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: GtkWarning: file /build/buildd/gtk+2.0-2.18.3/gtk/gtktreeview.c: line 5928 (validate_visible_area): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py:377: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  value = model.get_value(iter, COL_TAGS)
Traceback (most recent call last):
  File "/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py", line 377, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)

/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: GtkWarning: file /build/buildd/gtk+2.0-2.18.3/gtk/gtktreeview.c: line 5928 (validate_visible_area): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  res = dialog.run()
Traceback (most recent call last):
  File "/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py", line 377, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)





References