umläute wrote:
@Ant1r https://github.com/Ant1r you could check out the |intellipatch2| branch from https://git.iem.at/pd/pure-data (which contains the supposed fix, and some merges with |master| and |updates/0.50|)
but anyhow, I already know that the example that i gave https://github.com/pure-data/pure-data/issues/578#issuecomment-501293126 triggers /some/ bug, and that my commit will fix that. the question i'm really interested in is: is this the bug that @oliverstotz https://github.com/oliverstotz reported or something else?
hi, just to give a little update on this issue after some tryouts ...
======================================================================
along with IOhannes recipe, attached patches (open "tcltk_error_A.pd") will reliably produce a "non-fatal" TCL/TK error with this error message:
(Tcl) UNHANDLED ERROR: bad window path name ".x248ccc0" while executing "wm title $mytoplevel "$name$dirtychar$arguments - $path"" (procedure "pdtk_canvas_reflecttitle" line 15) invoked from within "pdtk_canvas_reflecttitle .x248ccc0 {D:/pd_0.48/extra/ol_lib/GUI} {ol_radio_inside} { [edit]} 0" ("uplevel" body line 940) invoked from within "uplevel #0 $docmds"
======================================================================
while working on this very simple patch, the "fatal" TCL/TK error (where the GUI disappears and patches can't be saved anymore) occured once. unfortunately (still) i can't reliably reproduce it, but i wrote a short description of what i did, when this error occured.
while the error message seems similar to the "non-fatal" error, the difference here are the ".x2596028: no such object" lines in the PD console. The error-log will write this line anytime the mouse is moved, after the error was triggered.
(Tcl) UNHANDLED ERROR: bad window path name ".x3b212c8" while executing "wm title $mytoplevel "$name$dirtychar$arguments - $path"" (procedure "pdtk_canvas_reflecttitle" line 15) invoked from within "pdtk_canvas_reflecttitle .x3b212c8 {D:/pd_0.48/extra/ol_lib/GUI} {ol_radio_inside} { [edit]} 0" ("uplevel" body line 718) invoked from within "uplevel #0 $docmds".x2596028: no such object .x2596028: no such object .x2596028: no such object .x2596028: no such object
======================================================================
best
oliver