Hi Thomas,<br><br>Here's what PD says when I start it with the -verbose flag and open a pyext example patch:<br><br>tried C:\\Program Files\\pd\\doc\\examples\\py\\examples\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\pyext.dll and failed
<br>tried C:\\Program Files\\pd\\patches\\library\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\granules\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\bp-beats\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\analog-synth\\pyext.dll and failed
<br>tried C:\\Program Files\\pd\\patches\\looper\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\scripts\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\extra\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\examples\\pyext\\pyext.dll and failed
<br>tried C:\\Program Files\\pd\\patches\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\library\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\granules\\pyext\\pyext.dll and failed
<br>tried C:\\Program Files\\pd\\patches\\bp-beats\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\analog-synth\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\patches\\looper\\pyext\\pyext.dll and failed
<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\scripts\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\extra\\pyext\\pyext.dll and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\examples\\pyext.pd and failed
<br>tried C:\\Program Files\\pd\\patches\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\patches\\library\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\patches\\granules\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\patches\\bp-beats\\pyext.pd and failed
<br>tried C:\\Program Files\\pd\\patches\\analog-synth\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\patches\\looper\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\scripts\\pyext.pd and failed
<br>tried C:\\Program Files\\pd\\extra\\pyext.pd and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\examples\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\patches\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\patches\\library\\pyext.pat and failed
<br>tried C:\\Program Files\\pd\\patches\\granules\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\patches\\bp-beats\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\patches\\analog-synth\\pyext.pat and failed<br>
tried C:\\Program Files\\pd\\patches\\looper\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\doc\\examples\\py\\scripts\\pyext.pat and failed<br>tried C:\\Program Files\\pd\\extra\\pyext.pat and failed<br>&nbsp;pyext simple ex3
<br>... couldn't create<br><br>By &quot;couldn't create&quot;, it means the [pyext] object fails to start, and has a dashed border around it - pd doesn't recognize the name.<br><br>A search of my directory tree couldn't find any files called pyext.*, so not only are they not in the correct path, they don't exist at all on my machine.&nbsp; However, there is a 
py.dll binary in pd/extra/, and pd sees it just fine.&nbsp; Could it be that pyext.dll failed to compile from the CVS sources?<br><br>As far as &quot;doesn't work correctly,&quot; when I use an example patch with [py], changing the input to the [py] object doesn't have any effect on the output.&nbsp; Quite simply, it does nothing - it doesn't work.
<br><br>Thanks again for all your help!<br><br>David<br><br>ps Yes, I'm trying to get this set up on my WinXP partition - I've had too many Linux headaches for the past couple of weeks and am taking a break before plunging back in...
<br><br><div><span class="gmail_quote">On 2/17/06, <b class="gmail_sendername">Thomas Grill</b> &lt;<a href="mailto:gr@grrrr.org">gr@grrrr.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi David,<br>i'm cc'ing this to the list - there might be others having the same<br>problem or people who can help you better than me.<br><br>&gt; Hm, I tried adding the script directory to my PD paths, and it didn't<br>&gt; work, then I restarted PD and it didn't work, then I tried copying all
<br>&gt; the scripts to the &quot;examples&quot; directory (where the example patches I<br>&gt; was trying are located) and it still didn't work.<br>It would be helpful to have more detailed information, like what exactly
<br>doesn't work under which circumstances. Try starting PD with the<br>-verbose flag and try to provide a walk-through so that i can reproduce<br>your situation.<br>&gt; Again, [py] will load as an object but [pyext] will not, not even
<br>&gt; typed in an object box by itself - it's like pd doesn't recognize the<br>&gt; symbol I typed, like I just typed junk.<br>According to the error output you sent me, this doesn't seem to be the<br>case. The pyext object is created ok, only the Python scripts can't be
<br>found.<br>&gt; The [py] object never complained about finding the scripts before, but<br>&gt; they didn't seem to be working correctly either...<br>What exactly isn't working correctly?<br>&gt;<br>&gt; I'm actually using 
0.2.1 from the pd-extended dist, copied into the<br>&gt; appropriate folders of my 0.39-2 release.&nbsp;&nbsp;But all of these things<br>&gt; happen exactly this way using pd-extended as well.<br>&gt;<br>The console output says that you are using version 
0.2.0. So, if you are<br>really having 0.2.1 in your PD package, then there's obviously another<br>py/pyext binary somewhere in the path which is loaded beforehand.<br><br>best greetings,<br>Thomas<br><br>&gt;<br>&gt; On 2/16/06, *Thomas Grill* &lt;
<a href="mailto:gr@grrrr.org">gr@grrrr.org</a> &lt;mailto:<a href="mailto:gr@grrrr.org">gr@grrrr.org</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hi David,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; pyext seems to run fine on your machine, only the Python scripts can't
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; be found.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; They have to be either in the same directory as the current patcher or<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; in the PD load path (where also the externals are found) which can be<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; set in the &quot;Path...&quot; menu dialog.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; What i find a bit strange is that according to your console printout<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [pym] wants to be loaded and gives an error. If i'm not mistaken this<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; is only included in pyext &gt;= 0.2.1
 which is the cvs version, not the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; packaged one that you a using. Do you have a mixup of versions? Well,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; first try to fix the path and let's see if pym is ok, or not.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; best greetings,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Thomas<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Am 16.02.2006 um 06:52 schrieb david golightly:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi Thomas,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hope I'm not bothering you here, just wanted to make sure I'm doing
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; things correctly... are you still maintaining py/pyext? I got the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; most recent WinXP binaries from your website as well as the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; pd-extended distro &amp; there doesn't seem to be any 
pyext.dll or<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; pyext.py file - although the example patches use [pyext], this<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; module/object fails to load - same with [pym] (although [py]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; will at<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; least load, but doesn't work at all). Am I missing something here?
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Using PD 0.39-2 and Python 2.4.2, I get messages like this in the pd<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; console when I load the example patches:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ------------------------------------------------
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; py/pyext 0.2.0 - python script objects<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; (C)2002-2005 Thomas Grill - <a href="http://grrrr.org/ext">http://grrrr.org/ext</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; using Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC 
v.1310 32 bit<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; (Intel)]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ------------------------------------------------<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ImportError: No module named simple<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; pyext simple ex1<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ... couldn't create
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ImportError: No module named sendrecv<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; pyext sendrecv ex1 he hu<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ... couldn't create<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; pym 2 *<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; ... couldn't create<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; By the way, thanks for doing all this work! These patches are<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; brilliant. Once I get these externs running this'll be fantastic<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; addition to my pd arsenal. A pity more pd'ers don't bother to
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; learn a<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; bit of python - using these modules, externs are much easier &amp;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; quicker<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; to write than either using C or native pd abstractions.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Thanks,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; David<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;<br>&gt;<br><br>--<br>Thomas Grill<br><a href="http://grrrr.org">http://grrrr.org</a><br><br><br></blockquote></div><br>