<div dir="ltr">im really just firing emails off too quick this morn without really knowing whats going on.... <div><br></div><div>permission denied error. i assume because it is trying to export to ~/Applications/Pd.app/Content/Resources with the [; pd plugin-dispatch ::patch2svg::exportall{ message</div><div><br></div><div>anyway to save to patch directory with message?<br><div><br></div><div>exporting to SVG: svg-export.pd.x10045eb00.svg<br>(Tcl) UNHANDLED ERROR: couldn't open "svg-export.pd.x10045eb00.svg": permission denied<br>    while executing<br>"open $path w"<br>    (procedure "can2svg::canvas2file" line 14)<br>    invoked from within<br>"can2svg::canvas2file [tkcanvas_name $mytoplevel] $filename"<br>    (procedure "export" line 2)<br>    invoked from within<br>"export $w $name"<br>    (procedure "::patch2svg::exportall" line 16)<br>    invoked from within<br>"$callback [ lrange $args 1 end ]"<br>    ("foreach" body line 2)<br>    invoked from within<br>"foreach callback $::pd_connect::plugin_dispatch_receivers($receiver) {<br>               $callback [ lrange $args 1 end ]<br>       }"<br>    invoked from within<br>"if [ info exists ::pd_connect::plugin_dispatch_receivers($receiver) ] {<br>       foreach callback $::pd_connect::plugin_dispatch_receivers($receiver) {<br>..."<br>    (procedure "pdtk_plugin_dispatch" line 3)<br>    invoked from within<br>"pdtk_plugin_dispatch ::patch2svg::exportall"<br>    ("uplevel" body line 1)<br>    invoked from within<br>"uplevel #0 $docmds"<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 5, 2019 at 8:23 AM me.grimm <<a href="mailto:megrimm@gmail.com">megrimm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">>> couple of .svg files in your directory.<div><br></div><div>I assume in the patch2svg-plugin directory? And no... no *.svg's</div><div><br></div><div>>> that it shuts down Pd without a warning</div><div><br></div><div>ha tricky... :) yeah i didnt see that.</div><div><br></div><div>I was though getting a tcl error that I got a screen shot of but am no longer able to reproduce for some reason. i think the flash of pink before closing led me to believe pd crashed rather than the [; pd quit{ message.</div><div><br></div><div>attached.</div><div><br></div><div><br></div><div>m</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 4, 2019 at 6:01 PM IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/4/19 9:25 PM, me.grimm wrote:<br>
>>> IOhannes patch2svg exporter.<br>
> <br>
> <br>
> btw the autoexport.pd patch crashes pd when I open it (macOs 10.14.5 pd<br>
> 0.49.1). <br>
l<br>
are you sure it crashes?<br>
<br>
> <br>
> here is output running from cli with -verbose:<br>
> <br>
> <br>
> w .x100330c60<br>
> <br>
> wname autoexport.pd<br>
> <br>
> name autoexport.pd.x100330c60.svg<br>
> <br>
> template %s%x.svg<br>
<br>
which looks good to me.<br>
you might notice that after opening the patch, you suddenly have a<br>
couple of .svg files in your directory.<br>
<br>
the autoexport.pd patch is just a demonstration on how one could use the<br>
patch2svg plugin to fully automate the conversion of Pd patches to SVGs<br>
(without user interaction; e.g. from a script).<br>
<br>
i admit that it is somewhat unexpected (and undocumented) for a patch,<br>
that it shuts down Pd without a warning<br>
<br>
gfmasdr<br>
IOhannes<br>
<br>
_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-8708261196419807002gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>____________________<br>m.e.grimm, m.f.a, ed.m.</div><div>cornell u., tc3</div><div><a href="http://megrimm.net" target="_blank">megrimm.net</a><br>____________________</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>____________________<br>m.e.grimm, m.f.a, ed.m.</div><div>cornell u., tc3</div><div><a href="http://megrimm.net" target="_blank">megrimm.net</a><br>____________________</div></div></div></div></div>