Cabbage Logo
Back to Cabbage Site

Cabbage CLI args not working?

I’m trying to update my Csound/Cabbage workflow but I can’t seem to get the Cabbage CLI options to work like they used to. Everything I try just ends up opening the Cabbage app instead of exporting the plugin via the command line. Is it broken?

Does anybody else use the Cabbage CLI options and can confirm if they work or not?

I cracked open the debugger and it’s hitting a JUCE assert in juce_Component.c at:

**void** Component::internalRepaintUnchecked (Rectangle< **int** > area, **bool** isEntireComponent)


// if component methods are being called from threads other than the message

// thread, you'll need to use a MessageManagerLock object to make sure it's thread-safe.


This is using the CLIConverter utility.

Sorry Andy, I’ll take a look when i get a chance, it should still work? The CLIConvertor was added so people had a way of doing this without a UI. But it has not been extensively tested.

It’s all good. I’ll help where I can but I have no idea what that assert means or why a function named internalRepaintUnchecked is even being called in a non-gui CLI app.

It’s being called because I lifted some routines that I use in Cabbage, almost verbatim. If we follow the guidelines in the asset we should be fine.