Intermittent Error: "Changes cannot be triggered by notifications"

lovecapacitor's icon

I'm getting intermittent errors enabling/disabling the mute on track 0 while setting up my first patch.
Does anyone know what is going on with this?

Thanks!

lc

ScreenCapture.png
png
lovecapacitor's icon

The error message is:

live.object: Changes cannot be triggered by notifications. You will need to defer your response.

lc

Lee's icon

This error occurs when you are trying to make a change to live whilst processing a notification from live, which is not possible. its indicating the you need to defer the update to live and let the processing finish (or it's a bug in your code)

I can't see how this can happen from the patch you've posted above - is that it or is there more?

gavspav's icon

defer/deferlow may help

queglay's icon

im having the same trouble.  but defer/deferlow doesn't help.

this creates problems with push and control surfaces.  because i have to use live.object to watch the buttons, and they then drive downstream interations with the api- like enter notes into clips.

does anyone know how to get around this problem?

Lee's icon

can you post the portion of the patch causing the issue?