When darktable is started in darkroom mode (i.e. open a single image) all scripts that register a library install an event trigger to load the GUI after darktable returns to lighttable mode.
If a library module was running and visible when darktable shuts down, script_manager tries to set it's visibility when darktable starts. If darktable is in darkroom mode, then the library doesn't exist yet so the visibility can't be set. This results in a crash in script_manager and the remaining scripts aren't restarted.
When darktable is started in darkroom mode (i.e. open a single image) all scripts that register a library install an event trigger to load the GUI after darktable returns to lighttable mode.
If a library module was running and visible when darktable shuts down, script_manager tries to set it's visibility when darktable starts. If darktable is in darkroom mode, then the library doesn't exist yet so the visibility can't be set. This results in a crash in script_manager and the remaining scripts aren't restarted.