Error when compiling brainstorm

Indeed, I introduced this bug when allowing the execution of scripts on local databases. It was not possible anymore to execute scripts with command-line parameters in a "standard" context (database in $HOME/.brainstorm).
I tried to fix this with this commit: Bugfix: Allow compiled execution with script parameters · brainstorm-tools/brainstorm3@1afea7d · GitHub

Please update Brainstorm and try re-running the compilation of your modified version of Brainstorm.
Let me know how it goes.