darktable-org / darktable-org/lua-scripts
Tempfiles exported for use by a lua script (e.g. `hugin`) disappear immediately after export
オープン
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 219
- フォーク
- 142
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Steps to reproduce:
- enable
contrib/huginscript, and ensure paths are configured correctly and hugin is installed - select images you want to stitch into a panorama
- in export dialog, select "hugin panorama" as "target storage"
- select file format (e.g. TIFF)
- (optionally, makes no difference) tick "launch hugin gui"
- run
inotifywait -m /tmp -e create --format '%w%f' | while read f; echo "$f"; end(or similar) in terminal - press "start export"
- wait for export to finish, see toast message "launching hugin"
- nothing happens
- check inotify and see that all images were created at one point (i.e. one log line per image in the form of
/tmp/DSCF0721.tif) - check dartable log and see:
sh: line 1: '/path/to/hugin' '/tmp/DSCF0720.tif' '/tmp/DSCF0713.tif' '/tmp/DSCF0721.tif' '/tmp/DSCF0715.tif' '/tmp/DSCF0718.tif' '/tmp/DSCF0717.tif' '/tmp/DSCF0716.tif' '/tmp/DSCF0714.tif' '/tmp/DSCF0719.tif' : No such file or directory - note:
/path/to/huginDOES exist and is the hugin executable ls /tmpshows images are gone
I assume they somehow get cleaned from /tmp after the darktable export process (?) exits and the files are essentially orphaned.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
contrib/hugin スクリプトから始め、/tmp と darktable のログを監視しながらエクスポートを再現します。hugin の起動との相対的なタイミングで、エクスポートされた画像がいつ削除されるかを追跡します。完了の条件は、hugin を呼び出した時点で生成された画像が利用可能なままであり、報告されたエクスポートワークフローが正常に開くことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100