<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/bugs/1229/">[bugs:#1229]</a> Tcl error when saving an abstraction inside another one with top turned on</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> v0.46<br/>
<strong>Created:</strong> Wed Jan 27, 2016 04:03 PM UTC by Anonymous<br/>
<strong>Last Updated:</strong> Wed Jan 27, 2016 04:03 PM UTC<br/>
<strong>Owner:</strong> nobody<br/>
<strong>Attachments:</strong></p>
<ul>
<li><a class="" href="http://sourceforge.net/p/pure-data/bugs/1229/attachment/PD_bug.zip">PD_bug.zip</a> (679 Bytes; application/zip)</li>
</ul>
<p>I'm using Pd vanilla .46-7 on Mac OS X 10.9.5/Intel with built-in sound.</p>
<p>This bug appears under certain circonstances when saving an abstraction (with it's patch window open) whitin another abstraction with gop turned on. It create a tcl error as follow :</p>
<p>(Tcl) UNHANDLED ERROR: bad window path name ".x359020.c"<br/>
    while executing<br/>
"winfo toplevel $tkcanvas"<br/>
    (procedure "pdtk_canvas_getscroll" line 2)<br/>
    invoked from within<br/>
"pdtk_canvas_getscroll .x359020.c"<br/>
    ("uplevel" body line 10)<br/>
    invoked from within<br/>
"uplevel #0 $docmds"</p>
<p>To recreate, use the attached patch. Open BUG_click_on_me.pd, then right-click->open one of the two GOP abstraction, then right-click->open the ABS abstraction and save it.</p>
<p>The bug stop appearing when :<br/>
1. the number box is moved out of the gop canvas in GOP.pd (after GOP.pd has been saved that way)<br/>
2. the gop option in GOP.pd properties is turned off<br/>
3. one of the two GOP.pd object is removed in BUG_click_on_me.pd</p>
<p>This bug has been observed on two different computer. It doesn't occur on pd-extended 43.4.</p>
<p>Thank you!</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>