[PD-dev] [ pure-data-Bugs-2803641 ] [import] not working when .pdsettings is present

SourceForge.net noreply at sourceforge.net
Tue Jun 9 18:57:31 CEST 2009


Bugs item #2803641, was opened at 2009-06-09 12:47
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2803641&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: v0.41
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: [import] not working when .pdsettings is present

Initial Comment:
i am unable to use [import] with the latest Pd-extended  ( 0.41.4-extended ) on my debian box.
i had an old .pdsettings lying around in my home directory, which seems to have caused the problem (deleting this file loads all the libraries coming with PdX)
(i have deleted the .pdsettings so i cannot give it here...)

i get: something like:
[import] $Revision: 1.2 $
	[import] is still in development, the interface could change!
	compiled against Pd version 0.41.4
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 2, output channels = 2
audio buffer set to 50
opened input device name hw:0
configuring sound input...
Sample width set to 2 bytes
configuring sound output...
Sample width set to 2 bytes
tried /Net/iem/Benutzer/zmoelnig/zexy.l_i386 and failed
tried /Net/iem/Benutzer/zmoelnig/pd-externals/zexy.l_i386 and failed
tried /Net/iem/Benutzer/zmoelnig/zexy/zexy.pd_linux and failed
tried /Net/iem/Benutzer/zmoelnig/pd-externals/zexy/zexy.pd_linux and failed
tried /usr/local/lib/pd-externals/zexy/zexy.pd_linux and failed
tried /usr/lib/pd/extra/zexy/zexy.pd_linux and failed
error: [import]: can't load library in 'zexy'
... you might be able to track this down from the Find menu.

so as you can see, "import" is loaded but no "-meta" files are searched for...



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

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-06-09 12:57

Message:
[import] just loads libraries, it knows nothing about how those libraries
are implemented.  It uses the standard loaders mechanism to load libraries,
so it relies on the loaders to tell it what is a library.  

In your case, your .pdsettings file probably did not load the libdir
loader.  The libdir loader looks for mylib/mylib-meta.pd and if it find it,
it calls that folder a library and loads it.

This makes me think that loaders should be loaded separately than
libraries.  I am thinking of a special folder where pd loads all files from
that folder.  Something like the Debian-style /etc/apache/sites-enabled

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2803641&group_id=55736




More information about the Pd-dev mailing list