[PD-dev] [ pure-data-Bugs-3413012 ] pdlua: error loading `pd.lua': canvas_open() failed

SourceForge.net noreply at sourceforge.net
Thu Sep 22 20:52:50 CEST 2011


Bugs item #3413012, was opened at 2011-09-22 14:52
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3413012&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: externals
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Martin Peach (mrpeach)
Summary: pdlua: error loading `pd.lua': canvas_open() failed

Initial Comment:
In Pd-extended 0.43 20110919 on Mac OS X 10.5, when I do [import pdlua], I get:

pdlua 0.6 (GPL) 2011 Martin Peach, based on
lua 0.6~svn (GPL) 2008 Claude Heiland-Allen <claudiusmaximus at goto10.org>
pdlua: compiled for pd-0.43 on Sep 19 2011 03:29:53
lua: error loading `pd.lua': canvas_open() failed
lua: loader will not be registered!

I think this is a good place to use c_externdir as the path to load.  pdlua_class->c_externdir->s_name will give you the path where pdlua.pd_linux was loaded, so you could just use that in the C code to load pd.lua


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

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



More information about the Pd-dev mailing list