Hi Robert,
Is the script calling the correct Python? There may be a homebrew Python
and a system Python - only one of which knows about hugin-tools.
-Adam
On Fri, Jun 22, 2018 at 15:49 Robert Lounsberry
wrote:
> No, I can not run tca_correct from the command line. I've tried removing
> hugin and re-installing several times but to no avail. I got a new script a
> few days ago and it had all sorts of indention errors and some syntax
> issues... after I fixed that I ran it and was presented with this
> hugin-tools not found problem.
>
> On Fri, Jun 22, 2018 at 3:45 PM, jys wrote:
>
>>
>>
>> On Fri, Jun 22, 2018, at 11:20, Robert Lounsberry wrote:
>> > I get the following error when running the calibrate.py script.
>> >
>> > The following packages are missing (Ubuntu packages, names may differ on
>> > other systems):
>> >
>> > hugin-tools
>> >
>> > Abort.
>> >
>> > I have hugin-tools installed. I installed it from their site. I also
>> tried
>> > installing it via homebrew. I still get this error stating that it's
>> > uninstalled.
>>
>> Can you run tca_correct from a terminal? That's the only part of hugin
>> needed by the script, AFAIK. If you can, then the package is probably
>> installed ok, and the issue is with the script.
>>
>> > I am working on Mac. Is there some path that I don't have hugin-tools
>> > installed into that it should be?
>>
>> I can't help with the Mac paths, but there was some work done on the
>> script to get it running on Windows, still lingering in a PR here:
>> https://github.com/lensfun/lensfun/pull/291
>>
>> Diffing that with the old version might give you a good idea of where
>> paths would need to be changed for a Mac environment; I'm not aware of
>> anyone trying to do this previously.
>>
>> Ultimately, the script is really only *essential* for vignetting
>> correction, but it does make running tca_correct on multiple files and
>> inserting the values into the profile more convenient than using it
>> manually. I often end up making the corrections manually in darktable
>> anyway while checking the results of tca_correct, YMMV.
>>
>> --
>> jys
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Lensfun-users mailing list
>> Lensfun-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lensfun-users
>>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Lensfun-users mailing list
> Lensfun-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lensfun-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Lensfun-users mailing list
Lensfun-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lensfun-users