Bug 501424 - Settings: Exiftool is not found in Metadata
Summary: Settings: Exiftool is not found in Metadata
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-12 18:22 UTC by juergen.barnert@gmx.de
Modified: 2025-07-04 10:01 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juergen.barnert@gmx.de 2025-03-12 18:22:01 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Location of exiftools not found

STEPS TO REPRODUCE
1. In 'settings' > 'digikam einrichten' > 'Metadata' > 'Exiftool'  exiftool is not found. Exiftool is installed in /usr/local/bin. But only the folder /usr/bin is shown in the menu. I can not change to /usr/local/bin
2. An error message is shown at the start of digikam that exiftool is not found
3. Exiftool is correctly installed and works in the terminal


OBSERVED RESULT
Exiftool is not working in digikam

EXPECTED RESULT
I would expect that exiftool is recognized by digikam

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Displayserver: Wayland

ADDITIONAL INFORMATION
Comment 1 Clay Weber 2025-03-13 10:47:05 UTC
Was this installed as a Snap, Flatpak, or using a PPA?
Comment 2 juergen.barnert@gmx.de 2025-03-13 11:05:37 UTC
It was installed on snap. I have reinstalled digikam using deb repository. Now it works. Snap was the problem.

Von meinem iPhone gesendet

> Am 13.03.2025 um 11:47 schrieb Clay Weber <bugzilla_noreply@kde.org>:
> 
> https://bugs.kde.org/show_bug.cgi?id=501424
> 
> Clay Weber <clay@claydoh.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |clay@claydoh.com
> 
> --- Comment #1 from Clay Weber <clay@claydoh.com> ---
> Was this installed as a Snap, Flatpak, or using a PPA?
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 3 John Kizer 2025-05-29 14:46:50 UTC
Reopening and moving to the Snap component since this appears to be an issue specific to the Snap packaging of Digikam. Thanks!
Comment 4 John Kizer 2025-05-29 14:47:27 UTC
Messed up the reassignment the first time, sorry for the double emails!
Comment 5 Maik Qualmann 2025-05-29 15:44:52 UTC
Delete the Snap digiKam package; it's unusable, and we can't fix it. Snap uses a sandbox; you can only access files within your home directory. Use our AppImage or request a native digiKam package from your distribution.

Maik
Comment 6 ba68zf0c 2025-05-30 06:57:23 UTC
(In reply to Maik Qualmann from comment #5)
> Delete the Snap digiKam package; it's unusable, and we can't fix it. Snap
> uses a sandbox; you can only access files within your home directory. Use
> our AppImage or request a native digiKam package from your distribution.
> 
> Maik

Can't digikam be removed from snap store to prevent new users from stumpling across this issue in future?
Comment 7 Scarlett Moore 2025-05-31 08:59:14 UTC
Alright, I have been fighting with this. I added exiftool to the snap. Snap usr/bin is in PATH and digikam still refuses to find it because it is looking for a hard coded path of /usr/bin/exiftool . Does digikam not use PATH for binary search path?? I am trying very hard here, I would appreciate some effort to help and not throw away all my hard work, thanks.
Comment 8 ba68zf0c 2025-06-02 05:26:48 UTC
I'm not a programmer, so I don't think I can help here.
Perhaps consider looking at the Flatpak version and copying their solution, as it works without the need to install ExifTool. 

I hope you can fix this! New users will inevitably come across Ubuntu and Digikam when they start using Linux. It would be great to have all the Digikam features available in the Snap package.

Keep up your work! Thank you!
Comment 9 Scarlett Moore 2025-06-25 15:48:03 UTC
Well I am getting closer, it now finds exiftool but 'the binary found isn't working as intended'. I have a theory... crossing fingers.
Comment 10 Sergio Schvezov 2025-07-01 23:40:00 UTC
This merge request should do the trick https://invent.kde.org/graphics/digikam/-/merge_requests/360

```
❯ snap install digikam_8.6.0_amd64.snap --dangerous
digikam 8.6.0 installed

❯ snap run --shell digikam
sergiusens@cuivienen:/home/sergiusens/Source/Snaps/digikam$ exiftool
Syntax:  exiftool [OPTIONS] FILE

Consult the exiftool documentation for a full list of options.
sergiusens@cuivienen:/home/sergiusens/Source/Snaps/digikam$ which exiftool
/snap/digikam/x10/usr/bin/exiftool
```

digikam when run, also finds it
Comment 11 Scarlett Moore 2025-07-04 10:01:36 UTC
This is now fixed in latest stable. Thank you Sergio