custom preset failure with DT 5.0 (Linux)

(Edited to clarify query: I’d added a collection filter, not directly defining a script per se.)

Some versions back, I created a simple preset which added a collection filter for photos taken during the last week, which worked as desired. Its name still appears in my pulldown collection filters menu. At one point, it started to fail, selecting no images. Now in 5.0, I see that darktable - d lua tells me: 2.2031 LUA ERROR : /home/xxxx/.config/darktable/lua/tools/script_manager.lua:63: attempt to index a function value (local ‘gettext’) when executed. Since I haven’t (at least intentionally) made changes to the preset, I’m guessing that there’s something I need to do to restore its environment. Can anyone offer suggestions? Thanks.

Did you update your lua scripts when you updated to 5.0?

Thanks; I hadn’t thought to update the scripts, which restored my script manager. Having done that, my collection preset no longer triggered the error as described, but also didn’t select any images. I just re-created it, and now it works again as desired.

1 Like