Bug 30002 - Regression in Gimp RAW image loading after update to darktable-3.8.0-1.mga8.x86_64
Summary: Regression in Gimp RAW image loading after update to darktable-3.8.0-1.mga8.x...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-02-04 20:20 CET by sturmvogel
Modified: 2022-02-09 21:46 CET (History)
6 users (show)

See Also:
Source RPM: darktable-3.8.0-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description sturmvogel 2022-02-04 20:20:34 CET
Description of problem:
GIMP (an open-source photo editing program) can open camera RAW image files with the help of Darktable integration. Darktable only needs to be installed beside GIMP on a system to interact and make GIMP able to open camera RAW image files.

After update of Darktable to version 3.8 #29812 there is a major regression. GIMP can't load RAW image files anymore because it can't see the darktable installation.


Version-Release number of selected component (if applicable):
darktable-3.8.0-1.mga8.x86_64.rpm

How reproducible:
You need a raw image file as example from this site: http://www.rawsamples.ch/index.php/en/


Working conditions (as it should be):
1. Install actual GIMP and Darktable 3.6.1-1 (last working version).
2 In GIMP File->Open->*yourrawimagehere*
3. Darktable opens and offers to overhand the image to GIMP
4. Close Darktable and GIMP will open the RAW image

Not working conditions (as it is now with newest Darktable):
1. Now update Darktable to 3.8.0-1 (not working version)
2. In GIMP File->Open->*yourrawimagehere*
3. Gimp throws following error:

"Opening '/home/test/Downloads/SPC_8978.NEF' failed:
There is no RAW loader installed to open 'Raw Nikon' files.

GIMP currently supports these RAW loaders:
- darktable (http://www.darktable.org/), at least 1.7
- RawTherapee (http://rawtherapee.com/), at least 5.2

Please install one of them in order to load RAW files."


This error message is independed from the raw file type. RawTherapee is not affected.
Comment 1 sturmvogel 2022-02-04 20:22:56 CET
Bug #29812 did update Darktable to 3.8.0-1
Comment 2 sturmvogel 2022-02-04 20:29:52 CET
The problem was discovered by a german user in https://forums.mageia.org/de/viewtopic.php?f=16&t=3899&p=40331#p40331 and i nailed it down to Darktable 3.8.0-1
Comment 3 Morgan Leijström 2022-02-05 10:07:19 CET
Thank you for the detailed report

Assigning to registered maintainer, who also performed last update

@sturmvogel
If you have the rights you can edit fields yourself
maintainer can be found though https://madb.mageia.org/

CC: (none) => fri
Assignee: bugsquad => rverschelde

Comment 4 Rémi Verschelde 2022-02-07 19:20:52 CET
It seems to work fine in Cauldron with darktable-3.8.0-3.mga9 and gimp-2.10.30-2.mga9.

I suspect that Mageia 8's gimp 2.10.24 might not be compatible with darktable 3.8.0. I'll see if we can update it, or if there is another option.
Comment 5 sturmvogel 2022-02-07 19:31:44 CET
Please doublecheck if this problem is related to the lua version maybe. As mentioned in Bug #29812 Darktable 3.8 requires lua 5.4 for proper building. We have lua 5.4 in cauldron but only lua 5.2 in Mag 8.
Comment 6 Rémi Verschelde 2022-02-07 19:39:18 CET
Yeah that's what I'm thinking now.

I've pushed a new version built against darktable's internal lua 5.4, could you test it?

It's darktable-3.8.0-1.1.mga8 in Core Updates Testing.

Status: NEW => ASSIGNED

Comment 7 sturmvogel 2022-02-07 20:08:37 CET
darktable-3.8.0-1.1.mga8 from Core Updates Testing fixes the problem on Mga8 x86_64 Plasma with Gimp gimp-2.10.24-1.mga8

Mga 8 64bit OK
Comment 8 Rémi Verschelde 2022-02-07 21:06:00 CET
Awesome, thanks for testing! Assigning to QA.
Adding OK for comment 7.

Advisory:
=========

Updated darktable packages fixes Lua API and GIMP support

  This update enables darktable to build against its own Lua 5.4 version instead
  of Mageia 8's Lua 5.2. This should fix compatibility issues in the darktable
  Lua API, among which the support for GIMP importing RAW pictures via darktable.

RPMs in core/updates_testing:
=============================

darktable-3.8.0-1.1.mga8

SRPMs in core/updates_testing:
==============================

darktable-3.8.0-1.1.mga8

CC: (none) => rverschelde
Whiteboard: (none) => MGA8-64-OK
Assignee: rverschelde => qa-bugs

Comment 9 Jose Manuel López 2022-02-08 07:15:40 CET
Updated from the last version of Darktable in Mageia VBox X86_64 and real installation, now gimp open Darktable for open Raw photo.

Greetings!!

CC: (none) => joselpddj

Comment 10 Thomas Andrews 2022-02-08 17:01:17 CET
I'm glad you could confirm this, Jose. None of my inexpensive point-and-shoot cameras offer RAW as an option.

Validating. Advisory in Comment 8.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 11 sturmvogel 2022-02-08 17:30:13 CET
Thomas, thats why i pointed to a site where you can download a vast amount of different camera raw files in my first post ;)
Dave Hodgins 2022-02-09 21:01:36 CET

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 12 Mageia Robot 2022-02-09 21:46:57 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0022.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.