Open Baa14453 opened 2 years ago
I have reproduced this on v7.6.0 and my previous version.
On startup, with export QT_LOGGING_RULES="digikam*=true"
, i get this output as the default image is loaded. But the exiftool tab under metadata is empty.
Exactly the same as Baa14453, the settings cannot find exiftool (even though it exists in -rwxr-xr-x 1 root root 289K Jun 10 2021 /snap/digikam/52/usr/bin/exiftool*
). When I add my own binary to my home folder I can select it but the settings still shows exiftool missing and the exiftool tab is empty, as Baa reported (see the log dump below).
digikam.metaengine: Path to ExifTool: "/home/myself/bin/exiftool-debug//exiftool" digikam.metaengine: ExifToolProcess::start(): create new ExifTool instance: "/home/myself/bin/exiftool-debug//exiftool" ("-stay_open", "true", "-@", "-", "-common_args", "-charset", "filename=UTF8", "-charset", "iptc=UTF8") digikam.metaengine: ExifTool process started digikam.metaengine: ExifTool "Load Metadata" "-json -G:0:1:2:4:6 -l /home/myself/IMagES/CKP50_Jon36/f0017280.jpg" digikam.metaengine: Loading metadata with "Exiv2" backend from "/home/myself/IMagES/CKP50_Jon36/f0017280.jpg" digikam.general: Metadata loading with Exiv2 took 386 ms ( true ) digikam.general: "Standard Exif Tags" decoding took 2 ms ( false ) digikam.general: "MakerNote Exif Tags" decoding took 1 ms ( false ) digikam.general: "IPTC Records" decoding took 0 ms ( true ) digikam.general: "XMP Schema" decoding took 0 ms ( false ) digikam.metaengine: ExifTool process finished 2 QProcess::NormalExit digikam.metaengine: ExifTool process for action "Load Metadata" finished with code: 2 and status QProcess::NormalExit digikam.general: One job is done digikam.general: Cancel Main Thread
Any news on this?
🤞
Under Settings > Metadata > Exiftool you can set the path to the exiftool binary.
The snap can't see /bin where Exiftool is installed but I've copied a binary into the Snap folder under /home/baa/snap/digikam/48. Digikam can see this in the file selection dialogue:![image](https://user-images.githubusercontent.com/9057997/141684378-744831d9-0282-4822-bc38-31dc3a02ca67.png)
But if I click Open nothing changes, Digikam still can't use the file:![image](https://user-images.githubusercontent.com/9057997/141684404-beaee595-3e35-40ac-93c1-646b1b331be2.png)
I've checked the permissions on the file are also fine:![image](https://user-images.githubusercontent.com/9057997/141684420-0c94df51-a8ce-4582-a835-272b30ef5bcb.png)
I haven't tested it, but the mailing list claims the App Package from Digikam's website works fine so I think something about the Snap is preventing it from working, there's no debug information in the terminal though I don't know if I can turn it on somehow to diagnose