Looking at the code, I think this error message is coming out when it really shouldn't be (ie. when the macro is not null it can still be printed).
Can you please use report a bug in troubleshooting on this macro and I will try and rectify whatever is going on here.
Hello,
I think I have a very similar issue. Basically I'm using some action blocks to:
1. increase volume to a given global variable value
2. play sound / TTS
3. revert the volume back to previous value
Sound TTS is played correctly, but the volume is not set back to the original value.
This is the log I had testing one of my actions blocks.
12-02-23 14:02:07 - Testing Action Block: TTS
TTS
12-02-23 14:02:07 - A: If (no_ring = False)
12-02-23 14:02:07 - A: Set Variable (vol_ring_before: {vol_music})
12-02-23 14:02:07 - Updated value from 0 to 100
12-02-23 14:02:07 - A: Volume Change (Media / Music = vol_ring_high)
12-02-23 14:02:07 - A: Wait 20 ms
12-02-23 14:02:07 - Set volume failed - the macro was null
12-02-23 14:02:07 - A: Speak Text (test message)
12-02-23 14:02:09 - A: Wait 20 ms
12-02-23 14:02:09 - A: Volume Change (Media / Music = vol_ring_before)
12-02-23 14:02:09 - Set volume failed - the macro was null
The strange thing is:
first time the volume is increased
second time volume is not changed to the original value
Could it be related or is it a different problem, depending on the "action block"?
Thanks