← Back to team overview

gtg-win team mailing list archive

[Bug 567954] Re: Deleting a task from within the task editor causes a crash

 

** Changed in: gtg-win
    Milestone: None => 0.3

-- 
Deleting a task from within the task editor causes a crash
https://bugs.launchpad.net/bugs/567954
You received this bug notification because you are a member of Gtg-win
developers, which is the registrant for Getting Things GNOME! Windows.

Status in Getting Things GNOME! Windows: Confirmed

Bug description:
details to reproduce error:

Create 'main' task.
Add new sub task
Open sub task aka task editor
Click 'delete' button
Confirm delete

output from the program

Traceback (most recent call last):
  File "S:\Documents\gtg-win\GTG\taskeditor\editor.py", line 527, in delete_task
    self.vmanager.ask_delete_tasks([self.task.get_id()])
  File "S:\Documents\gtg-win\GTG\viewmanager\manager.py", line 192, in ask_delete_tasks
    self.close_task(t)
  File "S:\Documents\gtg-win\GTG\viewmanager\manager.py", line 176, in close_task
    del self.opened_task[tid]
KeyError: '25@1'





References