Am Mon, 21 May 2018 14:41:41 -0400
schrieb Šarūnas <saru...@mail.saabnet.com>:

> On 2018-05-21 14:11, Аl Воgnеr wrote:
> > ...
> > If you think, it makes sense, I can purge lensfun and darktable and
> > install again.  
> 
> That shouldn't hurt, but I don't know why would that affect reading
> settings in ~/.local.

I have no idea too, maybe something is misconfigured, I never did
something else than apt-get install in a terminal.

> > Do you have files in /var/lib/lensfun-updates/version_1/ or in other
> > words, did you execute lensfun-update-data as root?   
> 
> Yes, I did and files are there.
> 
> > Maybe if the update
> > is done as root, files in ~/.local/share/lensfun are ignored?  
> 
> Should not, unless files in ~/.local/share/lensfun happened somehow to
> be owned by root (or some other different user) with no read
> permission for others.

The .local files are always owned by the user, but I want to add, that
it is a link to another partition. This worked perfect with Ubuntu
16.04. IMHO it should be enough permission, so a user can read it. But
in this case, the user can write it too. With 16.04 another user could
use it too.

> > On the other hand, there is a file with cropfactor 1 for this lens
> > in the lensfun-database, but this is a lensfun-configuration
> > problem IMHO. The posted configuration works for me, if the other
> > similar lens corrections are removed.
> > 
> > I also wonder which lensfun correction is used, if there is a 2nd
> > correction in the file.  
> 
> I don't see a second entry, only 'alias'. Are you referring to the
> 'alias' comment in 1.53 cropfactor entry for
> 'Sigma 70-300mm f/4-5.6 DG OS'?:
> 
> <!-- This is an alias of Sigma 70-300mm f/4-5.6 DL Macro.
> According to da...@corr.eu.org, they are optically equivalent. -->

No this was my suggestion for APS-C, but ther is one for cropfactor 1,
which I posted earlier in this thread.

> It is probably true then that the two lenses are equivalent, but
> unless you select the Macro lens manually, the corrections from its
> entry won't be applied.

At the moment I am talking only of automatic correction.

>There is no correction data for Sigma 70-300mm F4-5.6 DG OS on a
> "full-frame" sensor in lensfun (not in github calibration repository).

Yes, and therefore I added a line:

    <lens>
        <maker>Sigma</maker>
        <model>Sigma 70-300mm f/4-5.6 DG Macro</model>

        <model lang="en">Sigma 70-300mm F4-5.6 DG OS</model>

        <mount>Sony Alpha</mount>
        <mount>Sigma SA</mount>
        <mount>Pentax KAF2</mount>
        <mount>Canon EF</mount>
        <mount>Nikon F AF</mount>
        <cropfactor>1</cropfactor>

This works, if I remove all other Sigma 70-300mm entries.

BTW I have another lens, which is not recognized, but was with
Ubuntu 16.04.

Tamron SP AF 28-75mm F2.8 XR Di LD Aspherical [IF] Macro

I can provide a sample tomorrow, if you want.



Al

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to