← Back to team overview

gtg team mailing list archive

[Bug 445640] Re: Traceback when launching GTG

 

This bug is caused by this code snippets:

if c_node_path:
    c_node_iter = self.get_iter(c_node_path)
    #self.row_inserted(c_node_path, c_node_iter)

As you can see, c_node_iter is actually not needed anymore since the
following line is commented (I don't know who did this, and I don't
remember doing it). As such, we can safely comment the previous two
lines out without changing the behavior. That should stop this traceback
from showing.

-- 
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!: Fix Committed

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