marta-issues icon indicating copy to clipboard operation
marta-issues copied to clipboard

Marta crashes while run executable gadgets

Open programus opened this issue 3 years ago • 0 comments

I am configuring a gadget and it worked at the first time. Marta then crash once while I run the gadget, after that Marta always crash while I run the gadget.

I tried to change the command, but it still crashes. I wrote the following script to check whether it is the problem of my executable script or the problem of invocation from Marta.

My test script

echo "$@" > ~/bin/test.log

My gadgets config

gadgets [
...
    {
        id "gadget.action.test"
        name "Test Action"
        type "executable"
        executable "~/bin/test.sh"
        args ["${current.file.name}"]
        workingDirectory "${current.file.path}"
    }
]

Marta still crashes, and no output in ~/bin/test.log.

How can I solve this problem? Since it worked at the first time, maybe a reset of Marta would help, but I don't know how to reset this either.

programus avatar Nov 07 '22 12:11 programus