[PD-dev] iemlib/any vs. hexloader fix

Hans-Christoph Steiner hans at eds.org
Fri Jun 20 02:20:25 CEST 2008


On Jun 19, 2008, at 2:33 PM, IOhannes m zmoelnig wrote:

> Luke Iannini wrote:
>> Hey, I saw this instead:
>> libdir_loader: added 'pdsvn' to the canvas-local objectclass path
>> libdir_loader: added 'pdsvn' to the canvas-local objectclass path
>> libdir_loader: added 'pdsvn' to the canvas-local objectclass path
>> error: maximum object loading depth 1000 reached
>> after trying [import pdsvn]
>> then [pdsvn].
>
>
> hmm, when i do [import pdsvn] i get:
>
> tried /tmp/pdx/20080619/usr/bin/pdsvn.l_i386 and failed
> tried /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn.l_i386 and failed
> tried /tmp/pdx/20080619/usr/bin/pdsvn.pd_linux and failed
> tried /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn.pd_linux and failed
> tried /tmp/pdx/20080619/usr/bin/pdsvn/pdsvn.l_i386 and failed
> tried /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn/pdsvn.l_i386 and failed
> tried /tmp/pdx/20080619/usr/bin/pdsvn/pdsvn.pd_linux and failed
> tried /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn/pdsvn.pd_linux and  
> failed
> error: [import]: ERROR: can't load library in 'pdsvn'
> ... you might be able to track this down from the Find menu.
> [import] $Revision: 1.2 $
> 	WARNING! this is alpha, the interface could change!
> 	compiled against Pd version 0.40.3
>
>
> the same goes with all libdirs i try to [import]; there surely is  
> a /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn/pdsvn-meta.pd
>
> unfortunately [import] is rather silent even with increased  
> verbosity so it is hard to find out where it is looking for the  
> pdsvn-meta.pd
>
> but after doing an strace i noticed that these are the only files  
> containing "pdsvn" that are opened by the process:
> /tmp/pdx/20080619/usr/bin/pdsvn.l_i386
> /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn.l_i386
> /tmp/pdx/20080619/usr/bin/pdsvn.pd_linux
> /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn.pd_linux
> /tmp/pdx/20080619/usr/bin/pdsvn/pdsvn.l_i386
> /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn/pdsvn.l_i386
> /tmp/pdx/20080619/usr/bin/pdsvn/pdsvn.pd_linux
> /tmp/pdx/20080619/usr/lib/pd/extra/pdsvn/pdsvn.pd_linux
>
>
> is there something wrong with [import] as well?


Sounds like you don't have the libdir loaded loaded.  [import] just  
calls the standard lib loading function with the arguments as the names.

.hc


------------------------------------------------------------------------ 
----

News is what people want to keep hidden and everything else is  
publicity.          - Bill Moyers






More information about the Pd-dev mailing list