I have just upgraded to darktable 3.5.0~git2655.737515330b-1
I seem to have trouble with lua support. there’s a bunch of errors at start and from the script_manager I’m unable to activate scripts:
(base) 23:41:00 aadm@psion:~/.config/darktable$ darktable -d lua
1,525931 LUA ERROR: script_manager.lua: activate: 208: Error loading contrib/CollectHelper
1,526004 LUA ERROR: script_manager.lua: activate: 209: Error message: bad argument #2 to '?' (string expected, got function)
1,526601 LUA ERROR: script_manager.lua: activate: 208: Error loading contrib/autostyle
1,526646 LUA ERROR: script_manager.lua: activate: 209: Error message: /home/aadm/.config/darktable/lua/contrib/autostyle.lua:155: bad argument #2 to 'register_event' (string expected, got function)
1,712476 LUA ERROR: script_manager.lua: activate: 208: Error loading contrib/copy_attach_detach_tags
1,712552 LUA ERROR: script_manager.lua: activate: 209: Error message: ...config/darktable/lua/contrib/copy_attach_detach_tags.lua:250: bad argument #2 to 'register_event' (string expected, got function)
2,029086 LUA ERROR: script_manager.lua: activate: 208: Error loading contrib/quicktag
2,029126 LUA ERROR: script_manager.lua: activate: 209: Error message: /home/aadm/.config/darktable/lua/contrib/quicktag.lua:273: bad argument #2 to 'register_event' (string expected, got function)
2,082331 LUA ERROR API Version: 7.0.0
2,082968 LUA ERROR: script_manager.lua: activate: 208: Error loading official/copy_paste_metadata
2,082994 LUA ERROR: script_manager.lua: activate: 209: Error message: bad argument #2 to '?' (string expected, got function)
2,160943 LUA ERROR: script_manager.lua: activate: 208: Error loading official/image_path_in_ui
2,160973 LUA ERROR: script_manager.lua: activate: 209: Error message: ...aadm/.config/darktable/lua/official/image_path_in_ui.lua:88: bad argument #2 to 'register_event' (string expected, got function)
From the github repo I can see that there’s a branch called “API-7.0.0-dev” – probably I should change to that branch since 3.5.0 has Lua 7.0 support? But how to do that?