Bug 445216 - Cannot use Darktable for raw image import on Mac
Summary: Cannot use Darktable for raw image import on Mac
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Darktable (show other bugs)
Version: 7.3.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-09 17:21 UTC by miivo
Modified: 2022-01-26 04:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments
attachment-30197-0.html (5.27 KB, text/html)
2021-11-10 16:04 UTC, miivo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miivo 2021-11-09 17:21:53 UTC
SUMMARY
On Mac OS Catalina and Digikam 7.3, cannot use Darktable as the default raw image import tool. 

STEPS TO REPRODUCE
1. Settings > Configure Digikam > Image editor > Raw behavior, and select "Raw import using Darktable." 
2. Double-click any .Dng raw file in my Digikam database to edit it. 

OBSERVED RESULT
The image editor opens up empty and never loads the image. 

EXPECTED RESULT
The selected .dng file in Digikam should be opened up in Darktable.

SOFTWARE/OS VERSIONS
macOS: 10.15.7 (Catalina)
Darktable: 3.6.1

ADDITIONAL INFORMATION
If I use the default "libraw" raw image handler in Digikam, it works fine.
I have tried to add /Applications/digiKam.org/digikam.app/Contents/libexec/qt5/plugins/digikam/rawimport/ to PATH, but no success. The RawImport_DarkTable_Plugin.so is found from this path.
Comment 1 Maik Qualmann 2021-11-09 17:51:27 UTC
Start digiKam with the debug variable active in a terminal and post the log when you try to load a RAW image. The procedure for creating the log is also described here for MacOS: 

https://www.digikam.org/contribute/

Maik
Comment 2 miivo 2021-11-10 16:04:42 UTC
Created attachment 143413 [details]
attachment-30197-0.html

Here is the part of the log where DT editor is opened.
>>
digikam.rawengine: LibRaw: setup internal DNG SDK
digikam.rawengine: Using reduced RAW picture extraction for "/Volumes/Vol1/Photos/2020/20200321-untitled shoot-027.DNG"
digikam.metaengine: Loading metadata with "Exiv2" backend from "/Volumes/Vol1/Photos/2020/20200321-untitled shoot-027.DNG"
kf.windowsystem: Could not find any platform plugin
digikam.geoiface: ----
digikam.general: DarkTable arguments: ("--library", ":memory:", "--luacmd", "dofile('/private/var/folders/0h/qmss28zs0zg18tt2ybvrdw_w0000gp/T/digikam.huYqMV')", "--conf", "plugins/lighttable/export/icctype=3", "--conf", "lua/export_on_exit/export_filename=/private/var/folders/0h/qmss28zs0zg18tt2ybvrdw_w0000gp/T/digikam.Edxier", "/Volumes/Vol1/Photos/2020/20200322-untitled shoot-001.DNG")
digikam.general: DarkTable :: Process has failed to start
digikam.rawengine: LibRaw: loadEmbeddedPreview from "/Volumes/Vol1/Photos/2020/20200322-untitled shoot-003.DNG"
digikam.rawengine: Preview data size: 131343
>>

DarkTable doesn't start, but the created file exists
-rw-------     1 "user"  staff    1246 Nov 10 17:46 digikam.huYqMV

but the export file is not found "digikam.Edxier"


PS. I have similar problem in my Windows environment, but there DarkTable opens, but Digikam cannot import the file back, as the export file is not created.




________________________________
From: Maik Qualmann <bugzilla_noreply@kde.org>
Sent: Tuesday, November 9, 2021 19:51
To: miivo@hotmail.com <miivo@hotmail.com>
Subject: [digikam] [Bug 445216] Cannot use Darktable for raw image import on Mac

https://bugs.kde.org/show_bug.cgi?id=445216

Maik Qualmann <metzpinguin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |metzpinguin@gmail.com

--- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
Start digiKam with the debug variable active in a terminal and post the log
when you try to load a RAW image. The procedure for creating the log is also
described here for MacOS:

https://www.digikam.org/contribute/

Maik

--
You are receiving this mail because:
You reported the bug.
Comment 3 caulier.gilles 2022-01-26 04:14:05 UTC
Fixed with bug #449170