← Back to team overview

gtg team mailing list archive

[Bug 445640] Re: Traceback when launching GTG

 

it seems that this bug is caused by the function _path_for_node(self,
node) in core/tree.py (line 119).

Unfortunatly, I can't reproduce this issue and thus debugging it out. If
you have time, could you make some debugging to be sure about what is
returned by the function ? It should be a path.

The question is wheter the path is invalid because it's not a path
object or because the tree doesn't have such a path (because the tree
has changed)

-- 
Traceback when launching GTG
https://bugs.launchpad.net/bugs/445640
You received this bug notification because you are a member of Gtg
developers, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Confirmed

Bug description:
This seems to have been introduced by r344 and is still present as of r347

GTG continues to run despite the traceback in the terminal

Traceback (most recent call last):
  File "/home/kevin/temporary/gtg/trunk/GTG/taskbrowser/browser.py", line 1373, in on_task_added
    self.task_tree_model.add_task(tid)
  File "/home/kevin/temporary/gtg/trunk/GTG/taskbrowser/tasktree.py", line 253, in add_task
    self._add_all_subtasks(node, task)
  File "/home/kevin/temporary/gtg/trunk/GTG/taskbrowser/tasktree.py", line 79, in _add_all_subtasks
    self._add_all_subtasks(c_node, c_task)
  File "/home/kevin/temporary/gtg/trunk/GTG/taskbrowser/tasktree.py", line 79, in _add_all_subtasks
    self._add_all_subtasks(c_node, c_task)
  File "/home/kevin/temporary/gtg/trunk/GTG/taskbrowser/tasktree.py", line 77, in _add_all_subtasks
    c_node_iter = self.get_iter(c_node_path)
ValueError: invalid tree path


Python 2.6.2 and pygtk 2.14.1-1ubuntu1 on Ubuntu 9.04



References