Public bug reported:
Hi!
I'm using GTG! 3.0 from trunk (rev 709).
When I have only one 'parent' task with a sub-tasks marked as "done" and I
marking it as "undone" an error occurs:
Traceback (most recent call last):
File "/home/prmtl/gtg/GTG/taskbrowser/tasktree.py", line 191, in update_task
node_path = self.tree.get_path_for_node(my_node)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 240, in
get_path_for_node
child = self.node_children(par)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 306, in node_children
child = self.virtual_root[0]
IndexError: list index out of range
Traceback (most recent call last):
File "/home/prmtl/gtg/GTG/taskbrowser/tasktree.py", line 191, in update_task
node_path = self.tree.get_path_for_node(my_node)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 240, in
get_path_for_node
child = self.node_children(par)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 306, in node_children
child = self.virtual_root[0]
IndexError: list index out of range
When I change the code of filteredtree.py (patch in attachment) it works
again, but in terminal:
*** Node 1...@1 not in vr and no path for parent
*** please report a bug against FilteredTree
** Affects: gtg
Importance: Undecided
Status: New
--
Error when marking task as undone
https://bugs.launchpad.net/bugs/549895
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:
Hi!
I'm using GTG! 3.0 from trunk (rev 709).
When I have only one 'parent' task with a sub-tasks marked as "done" and I
marking it as "undone" an error occurs:
Traceback (most recent call last):
File "/home/prmtl/gtg/GTG/taskbrowser/tasktree.py", line 191, in update_task
node_path = self.tree.get_path_for_node(my_node)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 240, in
get_path_for_node
child = self.node_children(par)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 306, in node_children
child = self.virtual_root[0]
IndexError: list index out of range
Traceback (most recent call last):
File "/home/prmtl/gtg/GTG/taskbrowser/tasktree.py", line 191, in update_task
node_path = self.tree.get_path_for_node(my_node)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 240, in
get_path_for_node
child = self.node_children(par)
File "/home/prmtl/gtg/GTG/core/filteredtree.py", line 306, in node_children
child = self.virtual_root[0]
IndexError: list index out of range
When I change the code of filteredtree.py (patch in attachment) it works again,
but in terminal:
*** Node 1...@1 not in vr and no path for parent
*** please report a bug against FilteredTree
_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help : https://help.launchpad.net/ListHelp