<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/bugs/1214/">[bugs:#1214]</a> (Tcl) ERROR ... while executing... : no such object</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> v0.46<br/>
<strong>Labels:</strong> Tcl ERROR .x10698a0: no such object <br/>
<strong>Created:</strong> Fri Aug 07, 2015 09:28 PM UTC by Anonymous<br/>
<strong>Last Updated:</strong> Fri Aug 07, 2015 09:28 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>This problem has been frustrating me since Pd-extended v.43-4 came. The error renders Pd unusable, the only option being to kill the program and restart it after its occurrence. As no corrections or updates came after Pd-extended v.43.4, a solution is still pending and desired.</p>
<p>I have tried to look for errors in the code of the external object connected to the problem, which simply implements a GUI using tcl/tk, but in fact this code has always worked without problems in the v.42.x and nothing was modified after that. The problem is likely to be connected somehow to tcl/tk flags generation/interception in the Pd-extended v.43.4.</p>
<p>The error comes when a patch window having the GUI object is closed. What follows is that the GUI object is in fact deleted in the window, but the window itself never goes away: it remains open, with just a few text objects on it. </p>
<p>The following error message (in red) appears on the console:</p>
<p>(Tcl) ERRO NÃO TRATADO: image "1081750SPEAKER0" doesn't exist<br/>
    while executing<br/>
"image delete 1081750SPEAKER0"<br/>
    ("uplevel" body line 618)<br/>
    invoked from within<br/>
"uplevel #0 $cmds_from_pd".x10698a0: no such object<br/>
.x10698a0: no such object<br/>
.x10698a0: no such object<br/>
.x10698a0: no such object<br/>
.x10698a0: no such object<br/>
...<br/>
...</p>
<p>The last lines shown above keep coming in dozens as I move the mouse.<br/>
After that, the only option is to kill Pd and restart it.</p>
<p>The line in the original c code containing the "image delete" command is shown below, within a "for" loop:<br/>
...<br/>
 for ( ei=0; ei<x->x_num_src; ei++ )<br/>
    {<br/>
        sys_vgui(".x%x.c delete %xOUT%d\n", canvas, x, ei );<br/>
        sys_vgui(".x%x.c delete %xISPEAKER%d\n", canvas, x, ei );<br/>
        sys_vgui(".x%x.c delete %xSPEAKERNUM%d\n", canvas, x, ei );<br/>
        sys_vgui("image delete %xSPEAKER%d\n", x, ei );<br/>
    }<br/>
...</p>
<p>I would appreciate any help to provide means to turn off Tcl messaging mechanisms in Pd, or suggestions of flags and additional code that I could insert into the external code so to fix it, or even suggestions to change order of things in the code that could lead to a solution.</p>
<p>Thanks a lot in advance!</p>
<p>Problem reported in Pd-extended v.43.4<br/>
MAC OS 10.8.5/Intel</p>
<hr/>
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="http://sourceforge.net/p/pure-data/bugs/">http://sourceforge.net/p/pure-data/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="http://sourceforge.net/p/pure-data/admin/bugs/options.">http://sourceforge.net/p/pure-data/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>