Darktable 5.2.1 - lens correction error for OM 5 (& work around)

If this has been covered elsewhere please direct me there, I didn’t find an answer.
In the lens correction module, It gives me the standard “camera/lens not found” error message. It does show the correct lens, but the camera is blank. I scrolled through the choices and there is no OM5 listed.
But there is listed the EM-5 MK II. I chose that camera, then chose the correct lens (12-40 f2.8 pro) and it worked.
Is there a better workaround?
How can I get the OM5 entered into the list?
Thanks!

Also - how do I get the change to stick?
I need to re-enter the information for each image.
Thanks

Have you updated your lensfun database lately?

1 Like

I have no idea.

So, no.

what version of darktable on what OS?

thankd for the help
DT 5.1
Pop_Os (

Wrong
DT 5.2.1
Pop_OS

I looked in Synaptic, and it looks like I have lensfun-data-v1 0.3.2-6 installed on my computer

I tried the command sudo lensfun-update-data
and received the error: command not found
My version of DT is not a flatpak version. I downloaded the repository and installed from there. I could not get the flatpak version to run properly.

went back to synaptic and installed:
liblensfun-bin
which also installed
pythhon3-lensfun.
then ran command sudo lensfun-update-data
and this time I got
Successfully updated the database in /var/lib/lensfun-updates/version_1.
lens correction is working properly
Bottom Line;
Pop_OS is ubuntu related
All four packages look to be needed to get lensfun to run in Darktable in this instance:
liblensfun-bin
libelensfun-data-v1
libelensfun1
python3-lensfun
Bruce

Are you sure you’re not using the flatpak?

positive. I deleted the flatpak version and downloaded thru the PPA.
With the changes I’ve made everything is working fine now.
thanks for the questions, they got me thinking!

2 Likes