Hi,
I'm trying to learn how to use spore with lua.
I get the following output:
404
lua5.1: (error object is not a string)
With spore.debug enabled i get:
lua5.1: /usr/share/lua/5.1/Spore/Protocols.lua:130: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/share/lua/5.1/Spore/Protocols.lua:130: in function 'request'
/usr/share/lua/5.1/Spore/Protocols.lua:42: in function 'slurp'
/usr/share/lua/5.1/Spore.lua:246: in function 'new_from_spec'
/.../.../.../.../githubvaihttp.lua:4: in main chunk
[C]: ?
Also, is it possible to use spore with lua5.2?
I created the folder /usr/lib/lua/5.2 and copied all the lua5.1 luarock files, but i still get the following error msg:
lua: error loading module 'mine.core' from file '/usr/lib/lua/5.2/mime/core.so':
/usr/lib/lua/5.2/mime/core.so: undefined symbol: luaL_prepbuffer
Any help will be appreciated.