FYI, I’ve been trying but can’t get this working. It might be a Mac thing. I installed darktable with the dmg, not via the command line, and I can’t figure out how to get darktable working properly from the Mac unix Terminal app.
For a start, my Terminal doesn’t recognize darktable
as a command.
-bash: darktable: command not found
Not deterred, I then went and found the app inside the darktable app package in my Applications folder and ran that in my Terminal using
/Applications/darktable.app/Contents/MacOS/darktable --library "~/.config/darktable/my libraries/2016/library.db"
That tries to open the darktable GUI but gives the following error.
[init] error opening the database lock file for reading
[init] database is locked, probably another process is already using it
I checked in .config and there are no library.db.lock files present.
It does try to open the darktable app GUI but instead displays the following window and I’m forced to close darktable.
If I just run /Applications/darktable.app/Contents/MacOS/darktable
in Terminal, it does open the darktable GUI (using my default library.db) but also produces the following errors and the Terminal cursor vanishes.
(darktable-bin:28710): GLib-GObject-WARNING **: invalid cast from ‘GtkMenuBar’ to ‘GtkWindow’
(darktable-bin:28710): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion ‘GTK_IS_WINDOW (window)’ failed
(darktable-bin:28710): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs
I’m going to stop now before I break something. Any hints?