Skip to content

lightningmdb serpent #4

@vstath

Description

@vstath

Hello,

I'm trying to familiarize with your software (found it via an openldap email of yours) but I hit a wall. Any pointers?

I've done:

export LUA_PATH=/root/lbdm/lua-persist/?.lua";;"

Cloned, compiled and installed LMDB libraries https://github.com/LMDB/lmdb.git
Installed luarocks as mentioned in the README (lfs = luafilesystem, I assume?)

luarocks install luafilesystem lightningmdb serpent

and run your tests:

root@blog:~/lbdm/lua-persist/test# lua db-test.lua 
lua: /root/lbdm/lua-persist/persist.lua:177: attempt to index upvalue 'lightningmdb' (a boolean value)
stack traceback:
	/root/lbdm/lua-persist/persist.lua:177: in function </root/lbdm/lua-persist/persist.lua:167>
	(tail call): ?
	db-test.lua:16: in main chunk
	[C]: ?
root@blog:~/lbdm/lua-persist/test# lua insert-random-data.lua 
lua: /root/lbdm/lua-persist/persist.lua:177: attempt to index upvalue 'lightningmdb' (a boolean value)
stack traceback:
	/root/lbdm/lua-persist/persist.lua:177: in function </root/lbdm/lua-persist/persist.lua:167>
	(tail call): ?
	insert-random-data.lua:7: in main chunk
	[C]: ?
root@blog:~/lbdm/lua-persist/test# 

My version of Lua is

Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions