Bug 414401 - RawTherapee does not work as Raw Import Tool if both are AppImages
Summary: RawTherapee does not work as Raw Import Tool if both are AppImages
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Rawtherapee (show other bugs)
Version: 6.4.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-22 18:58 UTC by herbert
Modified: 2022-01-26 04:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herbert 2019-11-22 18:58:31 UTC
SUMMARY
I am using RawTherapee and Digikam, both as AppImages under Ubuntu 19.10.
Openening RawTherapee as a ImageEditor does not work, the ImageEditor stays more or less empty.
The tools itself work, but the connection using the new option in Digikam 6.4 seems not to be able to find the RawTherapee AppImage.
I even allowed RawTherapee at first start to register itself as an Application within the Launching App of Gnome.

STEPS TO REPRODUCE
1. Install RawTherapee and Digikam as AppImage
2. Choose RawTherapee as Raw Import Tool
3. Open the Editor

OBSERVED RESULT
Nothing happens, RawTherapee does not get triggered.

EXPECTED RESULT
It should open RawTherapee to do my RAW File adjustments.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 19.10 Gnome

ADDITIONAL INFORMATION
Discussed this issue already on https://discuss.pixls.us/t/make-digikam-work-with-rawtherapee-both-appimages/14956
And it seems there is something similar with Windows and RawTherapee https://bugs.kde.org/show_bug.cgi?id=414340
Comment 1 Maik Qualmann 2019-11-22 19:20:25 UTC
Both programs in AppImage format - nice. That too works. DigiKam looks only for the program "rawtherapee". So a symbolic link has to be created, in the way:

ln -s /path/to/appimage/RawTherapee-releases-5.7-20190910.AppImage /usr/bin/rawtherapee

Maik
Comment 2 Andrius 2019-11-23 17:14:22 UTC
Just wanted to add that there is help offered here in case you need it:

https://discuss.pixls.us/t/make-digikam-work-with-rawtherapee-both-appimages/14956/6?u=andrius

Apparently Dr Raw has figured out how to call one appimage from within another.
Comment 3 Maik Qualmann 2019-11-23 17:26:28 UTC
The digiKam AppImage can call external programs, we already adjust the environment variables. My solution from comment 1 works here under openSUSE with 2 AppImages without problems. It would be nice if someone tested it on Ubuntu.

Maik
Comment 4 herbert 2019-11-24 19:37:17 UTC
I tried crating the symlink.
But it is not opening RawTherapee, even though the symlink itself works if executed from command line.

I installed RawTherapee from the repo and with the one from the repo everythin worked.

Anyohow in /user/bin the installed repo RawTherapee version created two entries

rawtherapee
rawtherapee-cli

Or Digikam uses another binary link on ubuntu to execute RawTherapee.

But yes AppImages do have the benefit of being up to date, otherwise I would still be using digikam 5.9 on my ubuntu 19.10 installation ;) and rawtherapee 5.6

Thanks for any help.
Comment 5 Maik Qualmann 2019-11-24 20:26:33 UTC
The output from the console could be of interest when digiKam AppImage tries to launch RawTherapee AppImage (the symbolic link must exist).

Maik
Comment 6 herbert 2019-11-25 09:07:34 UTC
I tested it today once again, and magically it worked.

I have no clue if installing RawTherapee from the repo made some changes, but after I removed it, and recreated the symlink it works.

If I have time I am trying the setup again with an VM and a clean Ubuntu, but on my machine RawTherapee gets triggered by Digikam using the symlink in /usr/bin/