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.
Thanks
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.
Thanks
@wpferguson: I just found a way to fix that error (so probably some update not taken correctly when installing lua scripts).
I just go to configdir/darktable/lua folder and then make a git pull. Then I have that:
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 3), reused 4 (delta 3), pack-reused 0
DĆ©paquetage des objets: 100% (5/5), 1.06 Kio | 362.00 Kio/s, fait.
Depuis https://github.com/darktable-org/lua-scripts
ecdc74b..c96c523 master -> origin/master
Mise Ć jour ecdc74b..c96c523
Fast-forward
tools/script_manager.lua | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Just posted same time, so that explain why that works. Just a good synchro ! Thanks for the quick fix.
Try running with -d lua and see if it spits out an error and dumps some data please
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ā.
rien Ć valider, la copie de travail est propre
Another really great idea sabotaged by I18N . Didnāt take translation into account when parsing the output. Time for a rethinkā¦
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.
You can start tools->executable_manager and specify them in there.
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
Iāll try on my windows systems and see what happens
Any news here? Shall I open an issue on github?
I actually tried every script in contrib/ now and all started fine except enfuseAdvanced
Yes, please open an issue in Issues Ā· darktable-org/lua-scripts Ā· GitHub just so I donāt forget about it.
And thanks for testing the other scripts.
Iāve been busy with windows installer issues, but Iāll try and get to this in the next day or two.
Bill
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.
Did you install 3.6.0.1. 3.6.0 was mistakenly built without lua
thank you, i will check that.
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.
What am I doing wrong?
do you have git installed on your system?
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%
Thank you
This is may luarc
require 'tools/script_manager'
And these my lua options in darktablerc
lua/_scripts_install/dont_show=FALSE
lua/_scripts_install/initialized=TRUE
lua/_scripts_install/remind=FALSE
lua/_scripts_install/restarts=0
lua/_scripts_install/retries=0
lua/dtutils.file/use_old_check_if_bin_exists=FALSE
lua/executable_paths/git=C:\Program Files\Git\cmd\git.exe
lua/script_manager/category_selector=1
lua/script_manager/contrib/AutoGrouper=
lua/script_manager/contrib/CollectHelper=
lua/script_manager/contrib/HDRMerge=
lua/script_manager/contrib/LabelsToTags=
lua/script_manager/contrib/OpenInExplorer=
lua/script_manager/contrib/RL_out_sharp=
lua/script_manager/contrib/autostyle=
lua/script_manager/contrib/clear_GPS=
lua/script_manager/contrib/copy_attach_detach_tags=
lua/script_manager/contrib/cr2hdr=
lua/script_manager/contrib/enfuseAdvanced=
lua/script_manager/contrib/exportLUT=
lua/script_manager/contrib/ext_editor=
lua/script_manager/contrib/face_recognition=
lua/script_manager/contrib/fujifilm_dynamic_range=
lua/script_manager/contrib/fujifilm_ratings=
lua/script_manager/contrib/geoJSON_export=
lua/script_manager/contrib/geoToolbox=
lua/script_manager/contrib/gimp=
lua/script_manager/contrib/gpx_export=
lua/script_manager/contrib/hugin=
lua/script_manager/contrib/image_stack=
lua/script_manager/contrib/image_time=
lua/script_manager/contrib/kml_export=
lua/script_manager/contrib/passport_guide=
lua/script_manager/contrib/pdf_slideshow=
lua/script_manager/contrib/photils=
lua/script_manager/contrib/quicktag=
lua/script_manager/contrib/rate_group=
lua/script_manager/contrib/rename-tags=
lua/script_manager/contrib/select_untagged=
lua/script_manager/contrib/slideshowMusic=
lua/script_manager/contrib/transfer_hierarchy=
lua/script_manager/contrib/video_ffmpeg=
lua/script_manager/examples/api_version=
lua/script_manager/examples/darkroom_demo=
lua/script_manager/examples/gettextExample=
lua/script_manager/examples/hello_world=
lua/script_manager/examples/lighttable_demo=
lua/script_manager/examples/moduleExample=
lua/script_manager/examples/multi_os=
lua/script_manager/examples/panels_demo=
lua/script_manager/examples/preferenceExamples=
lua/script_manager/examples/printExamples=
lua/script_manager/examples/running_os=
lua/script_manager/installed_repos=1,lua-scripts
lua/script_manager/main_menu_action=3
lua/script_manager/num_buttons=10
lua/script_manager/official/check_for_updates=
lua/script_manager/official/copy_paste_metadata=
lua/script_manager/official/delete_long_tags=
lua/script_manager/official/delete_unused_tags=
lua/script_manager/official/enfuse=
lua/script_manager/official/generate_image_txt=
lua/script_manager/official/image_path_in_ui=
lua/script_manager/official/import_filter_manager=
lua/script_manager/official/import_filters=
lua/script_manager/official/save_selection=
lua/script_manager/official/selection_to_pdf=
lua/script_manager/tools/executable_manager=
lua/script_manager/tools/gen_i18n_mo=
lua/script_manager/tools/get_lib_manpages=
lua/script_manager/tools/get_libdoc=
lua/script_manager/update_script_choices=1
the lua scripts should be installed in whatever you specify as your configdir, in a directory named lua. The luarc file should be in the same configdir.
When you open darktable, at the lower left, is the module called āscript managerā or āscripts installerā?
If things are there and not running correctly, you can rename or delete the luarc file and the lua directory and the next time you start darktable the scripts installer should appear and you can just have it reinstall the scripts and set up your luarc file for you.