Closed gour closed 3 years ago
This turns out to be a problem with how taskwiki
obtains ID references to newly added tasks. In particular, the above script fails to add annotation if and only if one runs a task done
or task delete
command prior to running it.
This happens because the mechanism for enforcing recurrence causes the TW to run a next
report, which triggers GC and possibly invalidates the ID reference.
Hello,
I'm trying to integrate Taskwarrior with Claws-mail client and for the purpose I've modified the mutt2task script as follows (my Python skills are very rusty):
which I try to use as Claws-mail's User Action.
The problem is that the script does not work all the time, iow. sometimes when invoked as:
it produces the following output:
and sometimes it simply works correctly and creates a task with appropriate annotatation - I plan to add custom
.desktop
file to be able to usexdg-open
to open annotated link withclaws-mail --select somemsg
.Do you have any idea why the script does not work reliably?
Sincerely, Gour