tasklib crashes/hangs when parsing historical dates from Taskwarrior 3.x (SQLite backend)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
調査の方向性
まず、SQLiteバックエンドで過去の作成日時を使用して Taskwarrior 3.x の失敗を再現し、その後、タスクの初期化中に tasklib が日付を解析する処理を追跡します。古いタイムスタンプが例外やハングを発生させずに解析され、現代のタイムスタンプは引き続き正常に動作することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Hey guys,
Ran into an edge case where tasklib completely fails to parse a task if it contains an older historical creation date.
How it happens:
If you manually force an old date on a task using task edit (for example, setting Created: 1979-07-14 00:00:00), Taskwarrior 3.x saves it to the SQLite database just fine.
However, when a frontend library like vit tries to initialize and read the tasks via tasklib, it throws this validation error and gets stuck in an infinite loop:
Plaintext
'300769200' is not a valid date in the '' format.
It looks like the internal date parser chokes on the smaller Unix timestamp integer (300769200) coming out of the modern Taskwarrior 3 SQLite backend, treating it as malformed text.
Changing the date back to a modern timestamp via the standard CLI (task modify entry:2026-07-01) fixes the issue immediately, but it would be great if tasklib had a defensive check or fallback format handler here to stop the parser from completely dying on older dates.
- 主要言語
- Python
- スター
- 158
- フォーク
- 29
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GothenburgBitFactory/tasklib のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
GothenburgBitFactory/tasklib#135 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
GothenburgBitFactory/tasklib#133 · コメント 1 件 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
GothenburgBitFactory/tasklib#132 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
GothenburgBitFactory/tasklib#131 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
GothenburgBitFactory/tasklib#129 ·
GothenburgBitFactory/tasklib の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·