Hello,
I had problems with the Lua scripts and thought, if I disable and re-enable them I could solve the problems. Unfortunately I have achieved exactly the opposite, because now I do not manage to get the script manager displayed. I have DT 4.42. At the place where the script manager should be displayed is yawning emptiness. The settings for the LUA scripts are such that the script manager should be displayed. I have uninstalled DT and the LUA scripts and reinstalled them, but unfortunately without success. The script manager remains invisible.
Does anyone have any idea what I can do? I would be grateful for any help.
P.S.: I am a Linux newbie.
Greetings
Thomas
To add: I wanted to use the EnfuseAdvanced. I selected three images, set the parameters in the export and DT exported, in the further process DT crashed and as a result the parameter settings of the EnfuseAdvanced were gone. I will try this again now.
Hello @wpferguson … I have just encountered a similar problem since my last package update - is it possible some change in lua now doesn’t like the script_manager.lua?
/opt/darktable/bin/darktable -d lua
darktable 4.5.0+828~g13c3c99e8
Copyright (C) 2012-2023 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Debug -> DISABLED
SSE2 optimizations -> ENABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.2.0
Colord -> ENABLED
gPhoto2 -> ENABLED
GMIC -> DISABLED - Compressed LUTs NOT supported
GraphicsMagick -> ENABLED
ImageMagick -> DISABLED
libavif -> DISABLED
libheif -> ENABLED
libjxl -> ENABLED
OpenJPEG -> ENABLED
OpenEXR -> ENABLED
WebP -> ENABLED
See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.
1.7576 LUA ERROR : error loading module 'tools/script_manager' from file '/home/martin/.config/darktable/lua/tools/script_manager.lua':
/home/martin/.config/darktable/lua/tools/script_manager.lua:516: invalid escape sequence near '"dir /b/s \s'
Line 516 seems innocuous - I haven’t been editing the file, so I don’t know why it would change. Here’s the line from my script_manager.lua
Just recently the same problem appeared on my installation (Windows 10, darktable 4.4.2). This has appeared out of nowhere - no installation change, no driver change, no options change in darktable, not even a system (Windows) restart, just regular quit of darktable (ctrl+q) and start again.
I tried restarting darktable, restarting Windows, uninstalling&reinstalling datrktable with no effect. The script manager is invisible and configured scripts unavailable …
Any ideas, how to tackle the problem?
@wpferguson : Thank you for the info! I did this, git successfully finished, but after starting darktable, the script manger is still not showing - so, no effect.
@wpferguson: I also did this for the folder %LOCALAPPDATA%\darktable\lua-scripts, also successful git command, but no effect (i. e. no script manager) in darktable.
Both Windows folders concerned are:
C:\Users\MyUserName\AppData\Local\darktable\lua
C:\Users\MyUserName\AppData\Local\darktable\lua-scripts
You’re on the right commit, 867c49b, so that’s not the problem.
in your darktablerc file look for the line plugins/lighttable/1/script_manager_visible=TRUE. If it’s set to FALSE then script manager will run but not show up. If it is false, set it to TRUE.
EDIT: The visibility issue is fixed in master, but wont show up until December.
In my darktablerc there are the following lines in the “scripts_install”:
lua/_scripts_install/dont_show=FALSE
lua/_scripts_install/initialized=TRUE
lua/_scripts_install/remind=TRUE
lua/_scripts_install/restarts=4