Menu

#415 [import] not working when .pdsettings is present

v0.41
closed-invalid
5
2009-06-09
2009-06-09
No

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...

Discussion

  • Hans-Christoph Steiner

    [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

     
  • Hans-Christoph Steiner

    • status: open --> closed-invalid
     

Anonymous
Anonymous

Add attachments
Cancel