Error reading configfile, invalid flie

Hello,

I am not really sure what is going wrong,
when running a config.empty.json file from /udata/config_empty.json everything works fine and I have a clean pass-through.
But when using a different file:

sushi -r -c /udata/config_play_vst3_desktop.json &
[1] 263
....
Error reading config file, invalid file: /udata/config_play_vst3_desktop.json

I get this error when everything else seems identical.
looking here I noticed I need to add the full path but I believe I am doing this already.

Can anyone help me with this problem?

-Wouter

1 Like

Hi @wabbywouter,
seems like there’s nothing wrong with SUSHI’s invocation.

Maybe a corrupted file or similar?

Could you share here the contents of the config file itself and the output of /tmp/sushi.log which should contain more information about what went wrong while parsing the JSON?

1 Like

Hi @Stefano how can i read the contents of /tmp/sushi.log

below is the config file:

{
    "host_config" : {
        "samplerate" : 48000
    },
    "tracks" : [
        {
            "name" : "main",
            "mode" : "stereo",
            "inputs" : [],
            "outputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "plugins" : [
                {
                    "path" : "/usr/lib/lxvst/mda-vst3.vst3",
                    "name" : "jx10",
                    "type" : "vst3x",
                    "uid" : "mda JX10"
                }
            ]
        }
    ],
    "midi" : {
        "track_connections": [
            {
                "port": 0,
                "channel": "all",
                "track": "main",
                "raw_midi": false
            }
        ],
        "program_change_connections": [
            {
                "port": 0,
                "channel": "all",
                "plugin": "jx10"
            }
        ]
    }
}

thanks for replying

hmm actually now i’m getting a different error:

Failed to load tracks from Json config file.

Hi @wabbywouter,
it seems that you have the path to the VST wrong in your config file.

Are you sure you have a valid plugin in:
/usr/lib/lxvst/mda-vst3.vst3
?

Those paths in our examples are for SUSHI running in a conventional Linux desktop.

1 Like