New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiled Lens Correction (Lensfun) DB missing #5622
Comments
Same issue here. It's related to the directory of the lens database. For my own build this is:
i.e. one
|
Thanks for the quick revert! Fix helped. |
@longos08 I reopen this issue, because the underlying problem of a wrong directory being set is not fixed |
DATADIR is also prepended to relative LENSFUNDBDIR in rtengine::init. This removal in CMakeLists.txt keeps the cmake argument LENSFUNDBDIR unmodified in the ~/.config/RawTherapee*/options file.
DATADIR is also prepended to a relative LENSFUNDBDIR in rtengine::init. This removal in CMakeLists.txt keeps the cmake argument LENSFUNDBDIR unmodified in the ~/.config/RawTherapee*/options file. This fixes a path like ../../Resources/../../Resources/./share/lensfun for LENSFUNDBDIR=./share/lensfun under macOS.
Same problem (no camera list, no lens list) with
|
Thank you for the info. I had not tried the snap installation under Linux, but it sounds reasonable that a Linux AppImage has the same issue as a Mac App. |
Prepend DATADIR only once to LENSFUNDBDIR, see #5622
Here is a new build with lensfun installed to test: |
On |
@ronanM Thanks |
@Benitoite Congrats that you finally made it!
How did you configure |
5.8 was built thusly: https://github.com/Benitoite/RTdeps/blob/209288ea5093478864a70bb32b008b1142928e50/macbuildRT.sh#L232
So, that lensfun directory is in the Application Bundle under The RawTherapee options are in its macOS designated area, |
OK, even though you configure
This results in twice Did you apply this commit (#5622) that should fix it? |
2cc8918 did make it into the 5.8 tag.
This bit now gone: Lines 255 to 257 in 364fe35
used to apply to all three platforms, but we probably only didn't need the lines on macOS. See #5639 Also, the prepending If you are on |
Yes, it works after removal of an old |
For Linux, replace the value (set by a previous version ?) in from
to
|
@ronanM does it mean that there is nothing to be fixed in the AppImage, and it is only a configuration problem? |
I think the case |
@aferrero2707 the appimage works fine on my system. |
Hi,
On MAC OS Catalina 10.15.2 and RT 5.7 I don't see any values in lens correction camera/lenses dropdown boxes. I checked the lensfun folder within RT application and it's populated with different xml files for various cameras including Canon. I updated lensfun DB and restarted RT - no help.
#This is where I checked the lens profiles
/Applications/RawTherapee.app/Contents/Resources/share/lensfun
#OS
19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: