lua scripts doesn't work with darktable 4.8.0 for windows

Then, I guess, that debug log will be needed.

Thank you very much for your help. I don’t know how to make such a file by going through the command lines. I’m not experienced enough in computers.

Right-click the icon you use to launch darktable, it will tell you where your reliable is installed. For example, C:\Program Files\darktable\bin\darktable.exe.

Copy that to the clipboard.

Click on the Windows Start button. Type:

command

That will give you an icon in the menu to launch a command-line.

Click on it, then paste the path of darktable.exe, but be sure to surround it with double quotation marks, for example:

"C:\Program Files\darktable\bin\darktable.exe"

Add -d lua to the end:

"C:\Program Files\darktable\bin\darktable.exe" -d lua

Press Enter. This should run darktable. Try to launch Gimp from darktable, then close the application.

Attach the log file here (I’ve already posted where it should be located). Note that some of the directories will be hidden, so you’ll have to set Explorer to show them. You can search the web or this forum, the instructions have been posted several times. This thread is an example:

The issue may be due to the spaces in the path to the GIMP executable not being properly sanitized. I just ran into another issue on github that I traced back to a sanitization problem on windows.

So, it looks like I’m going to have to revisit properly sanitizing strings on Windows once again :frowning_with_open_mouth:.

Progress can be tracked here, Problems sanitizing strings on Windows · Issue #492 · darktable-org/lua-scripts · GitHub

3 Likes