← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1791138] Re: Cannot edit RAW files in GIMP under Lubuntu 18.04

 

Thanks to @launch-faygate's analysis in this bug, I came to a workaround
on Ubuntu 18.04, and nufraw.

First, note that `nufraw` has also this option:

  nufraw --out-type=jpg --lensfun=none mypic.DNG

... however, it still causes the same "Procedure 'file-nufraw-load'
returned no return values".

So I decided to try the old version of liblensfun0 (0.2.8), which
luckily is still online:

---
wget http://mirrors.kernel.org/ubuntu/pool/universe/l/lensfun/liblensfun0_0.2.8-1_amd64.deb
dpkg --contents liblensfun0_0.2.8-1_amd64.deb
mkdir liblensfun0_0.2.8-1
cd liblensfun0_0.2.8-1
dpkg -x ../liblensfun0_0.2.8-1_amd64.deb .
readlink -f usr/lib/liblensfun.so.0.2.8
---

Once you get the absolute path to liblensfun.so.0.2.8, note that used
like this:

---
LD_PRELOAD=/path/to/liblensfun0_0.2.8-1/usr/lib/liblensfun.so.0.2.8 nufraw --out-type=jpg --lensfun=none mypic.DNG
---

... when you click the Gimp button, Gimp will open, there will be no
report of error - but no image imported inside Gimp either!

However, this works:

---
LD_PRELOAD=/path/to/liblensfun0_0.2.8-1/usr/lib/liblensfun.so.0.2.8 gimp mypic.DNG
---

This will auto-open `nufraw` for importing the .DNG image, and once you
click the "check" button, the image will finally be imported into Gimp.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to ufraw in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1791138

Title:
  Cannot edit RAW files in GIMP under Lubuntu 18.04

Status in ufraw package in Ubuntu:
  Confirmed

Bug description:
  Since Lubuntu 18.04 I've had problems editing RAW files (.pef) with
  GIMP.

  When opening a RAW file, gimp-ufraw displays/edits the image OK. But
  but when I press "OK" I get a GIMP error message:-

   Opening '/home/steve/Pictures/RAW/DAWN1384.pef' failed:

   Procedure 'file-ufraw-load' returned no return values

  
  This worked fine on earlier versions of Lubuntu.

  
  Current versions:-

  GIMP: v2.8.22-1

  gimp-ufraw: 0.22-3

  uname -a output: 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  lsb_release -rd
  Description:	Ubuntu 18.04.1 LTS
  Release:	18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufraw/+bug/1791138/+subscriptions


References