I’ve built from source and installed from the ppa provided from the OBS and I don’t have the option to install the Lua Script Manager in the release version of 3.2.1. I had it running fine in my previous installation of 3.0.1 and I haven’t changed anything. When I run darktable -d lua I get:
dave@dave-desktop:~/darktable$ darktable -d lua
1.027476 LUA LUA_DIR is /home/dave/.config/darktable/lua
1.027500 LUA ERROR : .../.config/darktable/lua/script-manager/script_manager.lua:645: Module script-manager/script_manager is not compatible with API 6.0.0
I don’t know what I’m missing. I’m still new to building from source so I had hoped the package from the ppa would have sorted me out.
I just removed all lua related files and folders from ~/.config/darktable and reinstalled following instructions from @wpferguson git hub. I recreated my luarc and copy/pasted the contents of script_manager.lua to it. When I run darktable -d lua I still get:
dave@dave-desktop:~/.config/darktable$ darktable -d lua
0.968297 LUA LUA_DIR is /home/dave/.config/darktable/lua
0.968321 LUA ERROR : /home/dave/.config/darktable/luarc:645: Module <unnamed module> is not compatible with API 6.0.0
And I’m still confused why it wasn’t part of my regular install of 3.2.1?
@David_LaCivita, looking at the error message
I’m guessing that you might have pasted it twice. The API check is usually occurs within the first 10 lines of code, not at line 645.
OK, I’ve got it now.
I copied script_manager.lua to my lua directory though the instructions say:
“copy script_manager.lua to $HOME/.config/darktable/luarc”. It sounded like I needed my luarc to contain the contents of script_manager.lua.
Still, back at the beginning, without changing anything I still got an error after updating to 3.2.1. If it’s just me then we can carry on. Hopefully no one else has a problem.
I can’t say it enough, this forum is the best. Thanks everyone!
Luckily, I know enough to understand all of that just not enough to do it like that. Ultimately, that’s exactly what I did but with the GUI.
Your instructions don’t mention what to add to the luarc and that was the detail I was missing.
I’ll look at the instructions and update them. When I first wrote them I had one mind set, but I’ve come around to the require statement in the luarc as the easiest and most reliable across all operating systems.
Now, I have installed it totally new from the Github and now it seems to work fine without the error message. The found LUA Script are loaded. But where can I find der “Script Manager” ? I do not see the Modul at the Lighttable.