[PD] Lua and PD : couldn't create

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Jul 21 17:44:32 CEST 2008


Jack wrote:
> i have duplicated the file 'hello.pd_lua' in the 'lua' folder and  
> renamed it 'testjack.pd_lua'.

Did you also change (inside the file):

   pd.Class:new():register("hello")

to:

   pd.Class:new():register("testjack")

In short, a file "foo.pd_lua" should register a class called "foo", 
unless you want to load it like:

   pd -lib lua -lib foo

(eg, for multi-class libraries in one file).

> Now, when i restart Pd and create a new patch and put a new object  
> [testjack], after 10 seconds Pd output :
> error: maximum object loading depth 1000 reached
>   testjack
> ... couldn't create
> 
> Any idea about this problem.

Some libdir/hexloader/pd-extended issue, nothing to do with pdlua...


Claude
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list