On Tue, Jun 15, 2010 at 10:28:42AM -0000, Lionel Dricot wrote:
> Please try rev. 808. I added a check for that.

With version 810 it now crashes on startup:

$ ./gtg
PROBLEM: child 5...@1 have the path [(1,)] but parent has (4,)
/home/bryce/src/gtg/gtg/GTG/gtk/browser/browser.py:900: GtkWarning: 
gtk_tree_model_sort_ref_node: assertion `VALID_ITER (iter, tree_model_sort)' 
failed
  self.task_tv.expand_row(path, False)
/home/bryce/src/gtg/gtg/GTG/gtk/browser/browser.py:900: GtkWarning: 
gtk_tree_model_sort_iter_has_child: assertion `VALID_ITER (iter, 
tree_model_sort)' failed
  self.task_tv.expand_row(path, False)
/home/bryce/src/gtg/gtg/GTG/gtk/browser/browser.py:900: GtkWarning: 
gtk_tree_model_sort_iter_next: assertion `tree_model_sort->stamp == 
iter->stamp' failed
  self.task_tv.expand_row(path, False)
PROBLEM: child 1...@1 have the path [(0,)] but parent has (96,)
/home/bryce/src/gtg/gtg/GTG/gtk/manager.py:209: GtkWarning: 
/build/buildd/gtk+2.0-2.18.3/gtk/gtktreemodelsort.c:2334: There is a 
discrepancy between the sort model and the child model.  The child model is 
advertising a wrong length for the root level.
  gtk.main()
PROBLEM: child 5...@1 have the path [(1,)] but parent has (4,)
/home/bryce/src/gtg/gtg/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/gtg/GTG/gtk/manager.py:209: Warning: g_object_set_property: 
assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/gtg/GTG/gtk/manager.py:209: Warning: g_value_unset: 
assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/gtg/GTG/gtk/browser/tasktree.py:473: 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/gtg/GTG/gtk/browser/tasktree.py", line 473, in 
_celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)


Could the tasks have gotten corrupted by the earlier crashes?

-- 
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)



_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to