← Back to team overview

gtg team mailing list archive

[Bug 445640] Re: Traceback when launching GTG

 

Paths are supposed to just be tuples, right?

I added "print self._path_for_node(parent) + (index, ); import sys;
sys.stdout.flush()" before line 125

It looks like all the return values are tuples, and the one that causes
the traceback has been used several times before. It's also not the same
path that causes the failure each time

I attached a log of the paths returned, with the traceback included (the
output of running ./gtg 2>&1 > /tmp/gtg1.txt)

** Attachment added: "gtg1.txt"
   http://launchpadlibrarian.net/33246089/gtg1.txt

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