I have a problem with den enfuse plugin in darktable.
I use Ubuntu 20.04 and installed darktable as a snap package. Then I tried to manage a image stacking of a few test shoots. So I installed and activated the enfuse and the hugin scripts.
The new entry appeared and I selected my pics and started the process. Then I got the message align_image_stack failed .
That’s what I tried till now. I installed darktable as an ubuntu package, cloned the git repo of the addons. Same message.
Then I tried the flatpack, but if I understood right the lua scripts doesn’t work with flatpack.
And I tried to install the snap package and cloned the scripts with git.
Always the same problem.
@paperdigits Yes enfuse is installed. And the snap package has an other installation path in the home folder : ~/snap/darktable …
There I installed all lua scripts and the script manager can find them.
And with the version of the ubuntu repos I’ve the same problem.
@rvietor Hugin is installed and it’s working with my test pics.
I gave hugin, and on the command line align_image_stack and enfuse a chance.
Hugin is working.
align_image_stack is working.
enfuse is working, but I get the failure message picture has no alpha channel.
I have trouble installing the enfuse lua scripts in darktable 3.1.
anna@anna-hppavilionlaptop14ce3xxx:~$ darktable -d lua
0,909456 LUA ERROR : /home/anna/.config/darktable/luarc:1: module 'official/enfu
no field package.preload[‘official/enfuse.lua’]
no file ‘/usr/local/share/lua/5.3/official/enfuse/lua.lua’
no file ‘/usr/local/share/lua/5.3/official/enfuse/lua/init.lua’
no file ‘/usr/local/lib/lua/5.3/official/enfuse/lua.lua’
no file ‘/usr/local/lib/lua/5.3/official/enfuse/lua/init.lua’
no file ‘/usr/share/lua/5.3/official/enfuse/lua.lua’
no file ‘/usr/share/lua/5.3/official/enfuse/lua/init.lua’
no file ‘./official/enfuse/lua.lua’
no file ‘./official/enfuse/lua/init.lua’
no file ‘/usr/share/darktable/lua/official/enfuse/lua.lua’
no file ‘/home/anna/.config/darktable/lua/official/enfuse/lua.lua’
no file ‘/usr/local/lib/lua/5.3/official/enfuse/lua.so’
no file ‘/usr/lib/x86_64-linux-gnu/lua/5.3/official/enfuse/lua.so’
no file ‘/usr/lib/lua/5.3/official/enfuse/lua.so’
no file ‘/usr/local/lib/lua/5.3/loadall.so’
no file ‘./official/enfuse/lua.so’
no file ‘/usr/local/lib/lua/5.3/official/enfuse.so’
no file ‘/usr/lib/x86_64-linux-gnu/lua/5.3/official/enfuse.so’
no file ‘/usr/lib/lua/5.3/official/enfuse.so’
no file ‘/usr/local/lib/lua/5.3/loadall.so’
no file ‘./official/enfuse.so’
Did you try the luarc script from the lua package? On my system darktable found my scripts with that script after I renamed it. The self created luarc didn’t work on my system, neither the .deb version nor the snap.
The addons you installed are all combined in a collection named lua. I got this package by cloneing it from a git repo.
In this package is the script manager included. In the cloned files is a folder named tools, and there is a file named script_manager.lua .
If you cp this file to $HOME/.config/darktable/ and rename it to luarc the script manager will integrate all scripts to darktable.
Thanks, that was the missing info. Howerver, I get this now when I am trying to run enfuseAdvanced:
sh: 1: /home/anna: Permission denied
rm: cannot remove ‘/tmp/aligned_0000.tif’: No such file or directory
rm: cannot remove ‘/tmp/aligned_0001.tif’: No such file or directory
rm: cannot remove ‘/tmp/aligned_0002.tif’: No such file or directory
168,110520 LUA ERROR align_image_stack failed
I don’t like that “permission denied”. Usually that means that either a file cannot be written or a script cannot be executed. And that might explain the messages about non-existing files.
Not afaik, but /tmp should be writable for everyone (that’s the default afaik). But not seeing the files appear in /tmp doesn’t automatically mean that write access is the problem, if one of the scripts can’t execute (not marked as executable?) the files won’t be written either.
In script_manager go to the tools category and enable executable manager
executable_manager will start in the bottom left. Open it and select align_image_stack from the drop down. I’m going to guess that it shows /home/anna for the executable path. Click the clear button to clear it out. You should probably do the same for enfuse.
I did what you suggested but the result is the same. Well it seems to me that the clear path button does not do anything. The path that is shown does not change anyway.