Lua for darktable on Windows


(Bill Ferguson) #21


Try this

open a command prompt
type in
set PATH=%PATH%;C:\Program Files\Hugin\bin
and hit enter

logout and then login. Open a command prompt and type path and make sure the path to hugin is there. Start darktable and try your panorama again. Please post whether it worked or not.

In the meantime, I’ll go find a panorama that I did and try and get it running on windows.

I think what is happening is that there are a lot of executables in the hugin directory, such as align_image_stack which I think are being called from the hugin process, but since they aren’t in the path they don’t execute.


(Kevin E) #22

Doesn’t seem to have fixed things.

I confirmed that it got added to my path through the environment variables editor:

I then restarted and tried exporting to hugin. Still getting the same error:
LUA ERROR hugin not found

I also tried adding a \ after “bin” so that the new path variable looked like so:
C:\Program Files\Hugin\bin\

That was not successful either.

(Bill Ferguson) #23

It appears I was incorrect about contrib/hugin working. I thought the changes had been made and merged, but when I just tried it, the old script is still present.


(Kevin E) #24

Ok, that might explain a lot then. I’ll watch for the new commits and report back once I’ve tested.

(Tobias) #25

Bill, do we have a PR for the hugin script?

(Bill Ferguson) #26

I believe that it’s 111, hugin plugin improvements

(Tobias) #27

The pr is merged. Please test the new version of the hugin script on windows.

(Kevin E) #28

Will do. I’ve been working with Bill directly on some other scripts, so if there are issues I can work with him to resolve. I’ll report back here with status once I’ve had a chance to test.