darktable-org / darktable-org/lua-scripts

The `select_non_existing` lua script selects existing images

オープン
#684 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

os: windows
主要言語
Lua
スター
219
フォーク
142
PR マージ指標
30日以内にマージされた PR はありません

説明

When Darktable's library contains images with cyrillic characters in the file path, the select_non_existing lua script selects those images in the library even though they exist on disk and display correctly in Darktable. It is a very similar to my earlier purge_nonexistent_images.bat issue.
It seems like the problem appears only on Windows, because when I tested on MacOS it worked fine.

Here's what gets selected after I click the "select non existing" button:

Image

The expected selection would be:

Image

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず select_non_existing Lua スクリプトを見つけ、Windows でファイルパスをどのようにチェックしているかを確認します。パスにキリル文字を含む既存の画像で問題を再現し、その後、不足している画像だけが選択されることを確認します。可能であれば macOS での動作と比較します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。