lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Feb 25, 2010 at 1:58 PM, RJP Computing <rjpcomputing@gmail.com> wrote:

lua: /usr/local/share/lua/5.1/nixio/fs.lua:140: attempt to call a nil value
stack traceback:
/usr/local/share/lua/5.1/nixio/fs.lua:140: in function '_recurse'
/usr/local/share/lua/5.1/nixio/fs.lua:142: in function </usr/local/share/lua/5.1/nixio/fs.lua:129>
(tail call): ?
example.lua:89: in function 'main'
example.lua:105: in main chunk
[C]: ?

nixio/lua/nixio/fs.lua:140 looks like this: "for e in nixio.fs.dir(src) do"...
and nixio.fs.dir is a C function from nixio/src/fs.c...

So it looks like you don't have the module loaded properly. Make sure nixio.so is on your Lua C path.