Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load tracks from Json config file #36

Closed
matdave opened this issue Dec 6, 2023 · 5 comments
Closed

Failed to load tracks from Json config file #36

matdave opened this issue Dec 6, 2023 · 5 comments

Comments

@matdave
Copy link

matdave commented Dec 6, 2023

Not sure what I'm doing wrong. I followed the guide and have everything where it should be, but when I run sushi -r --multicore-processing=2 -c ~/config_files/config_neuralpi_fx.json I get the error Failed to load tracks from Json config file.

@razerbeans
Copy link
Contributor

Having the same issue and, from what I can tell, it looks like the schema of the json file is not correct. Try checking the contents of /tmp/sushi.log and see if you get more detail.

@razerbeans
Copy link
Contributor

Created a pull request as it looks like the schema for the configuration files has changed: #37

@GuitarML
Copy link
Owner

@razerbeans thanks so much for tracking this down! Will merge and close shortly.

@GuitarML
Copy link
Owner

@matdave this should be fixed now thanks to @razerbeans, updated to latest standard, thanks all, closing issue.

@Max-Bld
Copy link

Max-Bld commented Oct 17, 2024

Hi, I come across the same error.

Here are the sushi.logs:

[2024-10-17 17:43:20.364] [warning] #############################
[2024-10-17 17:43:20.364] [warning]    Started Sushi Logger!
[2024-10-17 17:43:20.364] [warning] #############################
[2024-10-17 17:43:20.436] [info] [plugin_library] Setting base plugin path to: /home/mind/plugins
[2024-10-17 17:43:20.437] [info] [jsonconfig] Setting engine sample rate to 44100.0
[2024-10-17 17:43:20.437] [info] [main] Setting up Xenomai RASPA frontend
[2024-10-17 17:43:20.438] [warning] [raspa audio] Sample rate mismatch between engine (44100.0) and Raspa (48000.0), setting to 48000.0
[2024-10-17 17:43:20.439] [error] [jsonconfig] Schema validation failure at /tracks/0
[2024-10-17 17:43:20.439] [error] [jsonconfig] Config file /home/mind/config_files/config_neuralpi.json does not follow schema: 1

Two errors, one concerning the sample rate, which seems to be auto-corrected.
However, even if I manually set it to 48000, there's still the schema error:

[2024-10-17 17:50:01.527] [warning]    Started Sushi Logger!
[2024-10-17 17:50:01.527] [warning] #############################
[2024-10-17 17:50:01.603] [info] [plugin_library] Setting base plugin path to: /home/mind/plugins
[2024-10-17 17:50:01.604] [info] [jsonconfig] Setting engine sample rate to 48000.0
[2024-10-17 17:50:01.604] [info] [main] Setting up Xenomai RASPA frontend
[2024-10-17 17:50:01.607] [error] [jsonconfig] Schema validation failure at /tracks/0
[2024-10-17 17:50:01.607] [error] [jsonconfig] Config file /home/mind/config_files/config_neuralpi.json does not follow schema: 1

Any idea?

Here is my config_neuralpi.json:

{
    "host_config" : {
        "samplerate" : 44100
    },
    "tracks" : [
        {
            "name" : "main",
            "mode" : "stereo",
            "inputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "outputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "plugins" : [
                            {
                                    "uid"  : "sushi.testing.mono_summing",
                                        "name" : "mono_summing",
                                        "type" : "internal"
                                },
                {
                    "uid"  : "NeuralPi",
                    "path" : "/home/mind/plugins/NeuralPi.vst3",
                    "name" : "NeuralPi",
                    "type" : "vst3x"
                }
            ]
        }
    ],
    "midi" : {
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants