On 13/07/14 11:11, Jack via Pd-list wrote:
and used the code below to create a file 'mysql.pd_lua'.
But when i tried to create [mysql] object in Pd, i got in the pd console :
maximum object loading depth 1000 reached
mysql
... couldn't create
Did I miss something ?
local M = pd.Class:new():register("lsql")
The file should register a class with the same name, otherwise you get a
"can't create". The other classes registered should work after that,
similar to loading with -lib.
Not sure where the maximum loading depth error happens, but I could
reproduce it with an empty nonsense.pd_lua and trying to create [nonsense].
I'm using these versions:
$ pd -version
Pd-0.45.5 ("") compiled 18:50:42 Jun 18 2014
lua 0.8 (GPL) 2013 Claude Heiland-Allen, merging
pdlua 0.7.1 (GPL) 2011 Martin Peach, based on
lua 0.6~svn (GPL) 2008 Claude Heiland-Allen
lua: compiled for pd-0.45 on Jun 18 2014 19:11:04
compiled against Debian's lua5.1
(I merged Martin Peach's bugfixes into my gitorious repo, because I had
trouble building the version from svn)
Claude
--
http://mathr.co.uk
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list