oopsie, I sent the wrong error, sorry! That last one was me trying to debug it...

this is the actual error

-----------
UNHANDLED ERROR: invalid command name ".menubar.apple.preferences"
    while executing
"$mymenu add separator"
    (procedure "::completion::init_options_menu" line 10)
    invoked from within
"::completion::init_options_menu"
    (procedure "::completion::init" line 19)
    invoked from within
"::completion::init"
    ("uplevel" body line 1537)
    invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD /Users/alexandreporres/Documents/Pd/externals/completion-plugin/completion-plugin.tcl
-----------


Em dom., 16 de nov. de 2025 às 01:25, Alexandre Torres Porres <porres@gmail.com> escreveu:
Hi, the completion-plugin used to work fine until 0.55, but now it's failing, at least on macOS, and the error below is given

-----------
UNHANDLED ERROR: can't read "mymenu": no such variable
    while executing
"$mymenu add separator"
    (procedure "::completion::init_options_menu" line 10)
    invoked from within
"::completion::init_options_menu"
    (procedure "::completion::init" line 19)
    invoked from within
"::completion::init"
    ("uplevel" body line 1537)
    invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD /Users/alexandreporres/Documents/Pd/externals/completion-plugin/completion-plugin.tcl
-----------

Any idea on what might have changed in Pd 0.56 to affect this plugin?

I simply have no idea how to fix it...

thanks