I just tried to install lua scripts in actual master and can reproduce too. On Linux, I have that error when launching darktable with -d lua option:
0,958272 LUA ERROR : /home/nilvus/.config/darktable/lua/tools/script_manager.lua:213: attempt to concatenate a nil value (local ‘branch’). I always compile in master branch (git status is same as MeisterKaos)
I’ve checked my darktable config dir and I have luarc with line "require “tools/script_manager”
To reproduce:
don’t have lua installed but of course darktable compiled with support
launch darktable
execute installer to install lua scripts
wait a little to see lua scripts installed message shown
nothing else happen then
when relaunching darktable, see no lua scripts in darktable windows nor script installer
But luarc file and lua folder are there in darktable config dir.
I just pushed a possible fix. Go to your lua directory and do a git pull which should give you the fix. If it crashes, it should dump some data so I can see what’s going on.
0,978626 LUA ERROR: script_manager.lua: get_current_repo_branch: 214: no branch detected in repo_data
repo_data:
Sur la branche master
Votre branche est à jour avec ‘origin/master’.
Thanks for the effort! I expected it to be a problem on my side^^
Same output for me:
5,731021 LUA ERROR: script_manager.lua: get_current_repo_branch: 214: no branch detected in repo_data
repo_data:
But the script manager now appears as expected and i can load the gimp plugin for example. enfuseAdvanced on the other hand fails with the following message:
121,019851 LUA ERROR: script_manager.lua: activate: 334: Error loading contrib/enfuseAdvanced
121,019983 LUA ERROR: script_manager.lua: activate: 335: Error message: …_Exchange\XX_darktable_db/lua/contrib/enfuseAdvanced.lua:873: attempt to index a nil value (field ‘?’)
If I remember correctly I have to specify the enfuse, align_image_stack and exiftool location in the Lua-options menu, but only after I started the script. Now loading fails and I cannot choose anything in options.
Hmm, in the executable manager I can only choose “git” as the executable to configure. Also enfuseAdvanced still fails to load. And I am very sure that there was a menu option before, right? Something still seems wrong
Hi.
I am having problems with lua since I upgraded to 3.6 too (windows 10 machine).
I cannot see the lua script manager any more. I have made git pull and lua is up to date.
When i try -d lua option there is no output at all.
I am using --configdir to change the default directory of the config and database.
I have tried to put lua and luarc in the same dir as configdir and also tried in %localappdata%\darktable to see if that was the problem, with identical results.
Ok, you were right, I had installed 3.6.0 version, now I have installed 3.6.0.1.
Now I can see the script manager interface at the bottom left of light table.
But when I choose install script and execute, it runs some commands (I can see the cmd windows) in the background and then it says script are installed, but nothing happens.
I continue seeing the install scripts/remind me later… prompts.
Click the drop down where it says install/update scripts and select start/stop scripts. The interface will change to a list of scripts and you can stop and start them from there.
Yes I have git installed and working, I have updated it just in case.
After running install scripts using execute, I have no start/stop option.
I have tried it in another PC with default install and it works.
I suspect the problem may be with the location of the lua scripts.
I have used --configdir to change the directory were database and config files reside to another dir protected by backups (and in order to separate it from the 3.7 beta testing).
I have installed lua scripts in the same dir.
Where should be lua scripts installed in this case?
I have tried several ways, with lua and luarc in the config directory, with lua and luarc int %LOCALAPPDATA% and with luarc in configdir and lua scripts in %LOCALAPPDATA%