Actually the purpose of the script was to get away from the luarc file.
You had to write a piece of code, i.e. the luarc file, in order to use the
scripts.  Also, if you had a misbehaving script that crashed, then the rest
of the scripts specified in the file wouldn't load.  script_manager solved
all of that along with letting you turn on scripts on the fly.  The loading
and updating was an additional feature to lower the bar of entry.  I had
originally envisioned it shipping as part of darktable and replacing the
supplied luarc file.  I did a pull request for that, but it was declined.
After that I offered it as a standalone script for a couple of years before
adding it to the repository.

David, since you're running a development version of darktable, did you
create a new configuration directory and forget to install the lua
scripts?  You can fix it with

cd ~/.config/<my new darktable config dir>;git clone
https://github.com/darktable-org/lua-scripts lua;ln -s
lua/tools/script_manager.lua luarc

On Fri, Jan 10, 2020 at 5:30 PM August Schwerdfeger <
[email protected]> wrote:

> The idea of a Lua script that one manually installs in order to avoid the
> manual Lua-script-installation process does seem a little counterintuitive.
>
> But if the script manager is already installed in the '.config/darktable'
> directory and was working with a previous version of Darktable, there is
> likely a Lua error someplace -- try running Darktable with the '-d lua'
> switch and see what comes up in the terminal.
>
> --
> August Schwerdfeger
> [email protected]
>
> On Fri, Jan 10, 2020 at 3:51 PM jys <[email protected]> wrote:
>
>> On Fri, Jan 10, 2020, at 13:12, David Vincent-Jones wrote:
>> >
>> > Yes ... the script manager .... am I overlooking something? It was
>> > there in earlier versions but not currently.
>>
>> Apologies if I'm pointing out the obvious here, but the script manager is
>> itself a Lua script, which must be added by the user. It's not part of the
>> darktable core.
>>
>> --
>> jys
>>
>> ___________________________________________________________________________
>> darktable developer mailing list
>> to unsubscribe send a mail to
>> [email protected]
>>
>>
> ___________________________________________________________________________
> darktable developer mailing list to unsubscribe send a mail to
> [email protected]
>

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]

Reply via email to