gtg team mailing list archive
-
gtg team
-
Mailing list archive
-
Message #01975
[Bug 549895] Re: Error when marking task as undone
** Changed in: gtg
Status: Confirmed => Triaged
--
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!: Triaged
Bug description:
Hi!
I'm using GTG! 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 17@1 not in vr and no path for parent
*** please report a bug against FilteredTree
References