<div dir="ltr">Yay, I&#39;ve just reported a bug! <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 5, 2013 at 5:13 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In the Help menu, click on &quot;Report a bug&quot;.  :-)<br>
<span class="HOEnZb"><font color="#888888"><br>
.hc<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 02/05/2013 11:08 AM, ̉scar Martínez Carmona wrote:<br>
&gt; Never done that before, excuse my idiocy and tell me how!<br>
&gt; Thanx!<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Feb 5, 2013 at 4:59 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; On 02/05/2013 04:30 AM, Roman Haefeli wrote:<br>
&gt;&gt;&gt; On Mon, 2013-02-04 at 19:58 +0100, ̉scar Martínez Carmona wrote:<br>
&gt;&gt;&gt;&gt; hey, still having problems with that, by now I&#39;m doing it with the<br>
&gt;&gt;&gt;&gt; absolute filepath... maybe the solution it&#39;ll be making the main<br>
&gt;&gt;&gt;&gt; applicattion finding out the f*cking path and sending the whole thing<br>
&gt;&gt;&gt;&gt; to pd via OSC, or maybe trying it another day!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If I am not mistaken, it hasn&#39;t been mentioned yet (though IOhannes<br>
&gt;&gt;&gt; assumed it very early) in this thread that [oggread~ ] oddly reads<br>
&gt;&gt;&gt; relative to Pd&#39;s start location (unlike many other classes like<br>
&gt;&gt;&gt; [textfile] or [readsf~ ] which read relative to the patch&#39;s location).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; IMHO, this makes it very difficult for a patch writer to use relative<br>
&gt;&gt;&gt; paths as the patch doesn&#39;t have any notion of where Pd was started from.<br>
&gt;&gt;&gt; I consider the whole idea of reading relative to Pd&#39;s start location<br>
&gt;&gt;&gt; flawed. A similar case is the &#39;open patch.pd path&#39; message to [s pd].<br>
&gt;&gt;&gt; Also this one reads relative to Pd&#39;s start location. However,<br>
&gt;&gt;&gt; considering that it was implemented this way, because it probably<br>
&gt;&gt;&gt; originates from the &#39;-open&#39; commandline flag, where it makes sense to<br>
&gt;&gt;&gt; use a path relative to the current working directory for loading a<br>
&gt;&gt;&gt; patch, this one is excused.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; For you, this means if your OSC application knows where Pd was started<br>
&gt;&gt;&gt; from, you need to make it use a path relative to that location.<br>
&gt;&gt;&gt; Otherwise you you&#39;re left with using absolute paths. When dealing with<br>
&gt;&gt;&gt; objects like [oggread~], I&#39;d go for absolute paths, it&#39;s just seems<br>
&gt;&gt;&gt; safer and saner to deal with.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; (or someone fixes [oggread~ ], which I even wouldn&#39;t consider to break<br>
&gt;&gt;&gt; backwards compatibility as the current implementation doesn&#39;t really<br>
&gt;&gt;&gt; allow to use relativ paths in meaningful way)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Roman<br>
&gt;&gt;<br>
&gt;&gt; I agree, relative should be relative to the patch. Please file a bug<br>
&gt;&gt; report on<br>
&gt;&gt; that.<br>
&gt;&gt;<br>
&gt;&gt; .hc<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>̉scar Martínez Carmona<br>
</div>