GothenburgBitFactory / GothenburgBitFactory/task-timewarrior-hook
Hook Error: Expected 1 JSON task(s), found 0, in hook script: on-modify.timewarrior, if a task description are large
Open
bug
- Dominant language
- Python
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
on-modify.timewarrior hook are fault on large (10kB+) task description (redminedescription in my case, but I think it does not matter).
Adding a flush option to the output of the task fixes the problem:
`print(json.dumps(new), flush=True)`
Versions:
timewarrior - 1.4.2
OS - Debian 11
python - 3.9.1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.