Skip to content

Prevent endless loops if luarc requires script_manager - #689

Merged
wpferguson merged 1 commit into
darktable-org:masterfrom
masterpiga:patch-1
Jun 22, 2026
Merged

Prevent endless loops if luarc requires script_manager#689
wpferguson merged 1 commit into
darktable-org:masterfrom
masterpiga:patch-1

Conversation

@masterpiga

Copy link
Copy Markdown
Contributor

if the luarc in the configdir requires the script manager, this will cause an endless loop and crash the lua interpreter. I know it because it just happened to me after deleting the lua subdir in my config dir 😄

@masterpiga

Copy link
Copy Markdown
Contributor Author

@wpferguson

@wpferguson

Copy link
Copy Markdown
Member

I worried about that happening but I was never able to find a scenario where it would :-/

@masterpiga

Copy link
Copy Markdown
Contributor Author

For me it was very easy to hit that scenario 😅 I just deleted the <config_dir>/lua without deleting <config_dir>/luarc and kaboom!

@wpferguson wpferguson added the bug label Jun 22, 2026
@wpferguson

Copy link
Copy Markdown
Member

Works for me, thanks

@wpferguson
wpferguson merged commit 54f0974 into darktable-org:master Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants