Skip to content

Can't load scripts on macOS #596

@kkjj5566123

Description

@kkjj5566123

Running on macOS 15.5
Luarocks 3.12.2
LuaSec 1.3.2-1

Pretty much every scripts are fail to load, Is path changed or something else?

/Applications/darktable.app/Contents/MacOS/darktable -d lua
darktable 5.2.0
Copyright (C) 2012-2025 Johannes Hanika and other contributors.

Compile options:
Bit depth -> 64 bit
Debug -> DISABLED
SSE2 optimizations -> DISABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.5.0
Colord -> DISABLED
gPhoto2 -> ENABLED
OSMGpsMap -> ENABLED - map view is available
GMIC -> ENABLED - Compressed LUTs are supported
GraphicsMagick -> DISABLED
ImageMagick -> ENABLED
libavif -> ENABLED
libheif -> ENABLED
libjxl -> ENABLED
LibRaw -> ENABLED - Version 0.22.0-Devel202502
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.

 0.0014 [dt starting]

/Applications/darktable.app/Contents/MacOS/darktable -d lua

(darktable:60985): Gtk-CRITICAL **: 20:52:19.584: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
4.0890 LUA ERROR: dtutils.lua: prequire: 223: Error loading official/check_for_updates
4.0890 LUA ERROR: dtutils.lua: prequire: 224: Error returned is /opt/homebrew/share/lua/5.4/ssl/https.lua:10: module 'socket' not found:
no field package.preload['socket']
no file '/opt/homebrew/share/lua/5.4/socket.lua'
no file '/opt/homebrew/share/lua/5.4/socket/init.lua'
no file '/opt/homebrew/lib/lua/5.4/socket.lua'
no file '/opt/homebrew/lib/lua/5.4/socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
no file '/Applications/darktable.app/Contents/Resources/share/darktable/lua/socket.lua'
no file '/Users/smalllemon/.config/darktable/lua/socket.lua'
no file '/opt/homebrew/lib/lua/5.4/socket.so'
no file '/opt/homebrew/lib/lua/5.4/loadall.so'
no file './socket.so'
4.0891 LUA ERROR: script_manager.lua: activate: 541: error loading official/check_for_updates
4.0891 LUA ERROR: script_manager.lua: activate: 542: error message: /opt/homebrew/share/lua/5.4/ssl/https.lua:10: module 'socket' not found:
no field package.preload['socket']
no file '/opt/homebrew/share/lua/5.4/socket.lua'
no file '/opt/homebrew/share/lua/5.4/socket/init.lua'
no file '/opt/homebrew/lib/lua/5.4/socket.lua'
no file '/opt/homebrew/lib/lua/5.4/socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
no file '/Applications/darktable.app/Contents/Resources/share/darktable/lua/socket.lua'
no file '/Users/smalllemon/.config/darktable/lua/socket.lua'
no file '/opt/homebrew/lib/lua/5.4/socket.so'
no file '/opt/homebrew/lib/lua/5.4/loadall.so'
no file './socket.so'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions