← Back to team overview

gtg team mailing list archive

[Bug 592611] Re: TypeError: unknown type (null) when expanding a task in tasklist

 

** Attachment added: "Stdout and stderr of gtg."
   http://launchpadlibrarian.net/50127915/out-2010-06-11_13%3A01%3A03_r801.gz

-- 
TypeError: unknown type (null) when expanding a task in tasklist
https://bugs.launchpad.net/bugs/592611
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:
Revs 799-801 (at least).

Traceback (most recent call last):
  File "/home/liori/Studia/Projekty/gtg/gtg/GTG/taskbrowser/tasktree.py", line 459, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
  File "/usr/lib/python2.5/warnings.py", line 62, in warn
    globals)
  File "/usr/lib/python2.5/warnings.py", line 83, in warn_explicit
    for item in filters:
TypeError: unknown type (null)

Task X -- a specific root task with subtasks which trigger bug (the problems don't happen for other tasks).

Scenario 1:
- Start `gtg`, which loads all tasks view by default. (~5 secs of CPU burning)
- Expand X
Outcome: traceback as above. Attached log is from this case, when I repeatedly click "Ignore".

Scenario 2:
- Start `gtg`, which loads all tasks view by default. (~5 secs)
- Click on 'All tasks' on the left. (~20 secs)
Outcome: some tasks gets duplicated (randomly): sometimes this includes task X, sometimes not.
Sometimes when other (non-X) task with subtasks gets duplicated, one of the instances has subtasks, and the other does not.

Scenario 2a (when task X is not duplicated):
Expanding X gives no problems, no tracebacks.

Scenario 2b (when task X is duplicated):
Expanding first instance of X gives traceback as above.
Expanding second instance of X works correctly.

Rev 801. At least scenario 1 happens for at least 799 and 800, I haven't checked other.





References