Cannot open a task after that task is marked as not to be done anymore from Closed Tasks Pane

Bug #1218708 reported by Chenxiong Qi on 2013-08-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
Undecided
Chenxiong Qi

Bug Description

Steps:
1. Select a task in the task browser, and click button to mark it as not to be done anymore
2. Open Closed Tasks Pane, then select above task and click the button again to mark it as not to be done anymore
3. Double click the task in task browser, then an error is raised in terminal.

Traceback (most recent call last):
  File "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/browser/browser.py", line 1000, in on_edit_active_task
    self.vmanager.open_task(tid)
  File "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/manager.py", line 180, in open_task
    clipboard=self.clipboard)
  File "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/editor/editor.py", line 180, in __init__
    pos_x, pos_y = self.config.get(tid, "position")
ValueError: need more than 1 value to unpack

Related branches

Chenxiong Qi (qcxhome) wrote :

This happens in current development version.

Chenxiong Qi (qcxhome) wrote :

Sometimes, the task can be opened by double-clicking just after it comes back from the Closed Tasks Pane for only once. And then the error mentioned above occurs.

Also, other tasks, which is not marked as not to be done anymore before, have same problem after closing and reopening GTG.

Chenxiong Qi (qcxhome) on 2013-08-30
Changed in gtg:
status: New → In Progress
assignee: nobody → Chenxiong Qi (qcxhome)
Xuan (Sean) Hu (huxuan) wrote :

Hi, Chenxiong Qi.

Thx for your bug reporting, can you provide more information about the `tasks.conf` when this bug happens.
The directory should be `tmp/default/xdg/config/gtg/` when using `\scripts\debug.sh`

On Fri, Aug 30, 2013 at 2:16 PM, Xuan (Sean) Hu
<email address hidden>wrote:

> Hi, Chenxiong Qi.
>
> Thx for your bug reporting, can you provide more information about the
> `tasks.conf` when this bug happens.
> The directory should be `tmp/default/xdg/config/gtg/` when using
> `\scripts\debug.sh`
>
> Hi Xuan,

This is due the problem fixed in patch we are discussing.

Regards,
Chenxiong Qi

> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1218708
>
> Title:
> Cannot open a task after that task is marked as not to be done anymore
> from Closed Tasks Pane
>
> Status in Getting Things GNOME!:
> In Progress
>
> Bug description:
> Steps:
> 1. Select a task in the task browser, and click button to mark it as not
> to be done anymore
> 2. Open Closed Tasks Pane, then select above task and click the button
> again to mark it as not to be done anymore
> 3. Double click the task in task browser, then an error is raised in
> terminal.
>
> Traceback (most recent call last):
> File
> "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/browser/browser.py",
> line 1000, in on_edit_active_task
> self.vmanager.open_task(tid)
> File
> "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/manager.py", line
> 180, in open_task
> clipboard=self.clipboard)
> File
> "/home/chen/projects/gtg/postpone-toolbar-button/GTG/gtk/editor/editor.py",
> line 180, in __init__
> pos_x, pos_y = self.config.get(tid, "position")
> ValueError: need more than 1 value to unpack
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gtg/+bug/1218708/+subscriptions
>

--
A Python developer living in Beijing
http://about.me

Parin Porecha (parinporecha) wrote :

This bug has been patched in revision 1309.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers