Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: luarocks, luaflock, lua-sql-sqlite3
Some useful packages that a user might want available to their Lua scripts: - `luaflock`: BSD-style flock - `lua-sql-sqlite3`: SQLite bindings for Lua Also print the lua error code and error message string in the error handler. It seems like not all Lua errors have stack traces/tracebacks, e.g. requiring a non-existent module: before: ``` lua runtime error: terminate called after throwing an instance of 'OsmLuaProcessing::luaProcessingException' what(): std::exception ``` after: ``` lua runtime error 2: ./file_append.lua:7: module 'flock' not found: no field package.preload['flock'] no file './flock.lua' no file '/usr/local/share/lua/5.1/flock.lua' no file '/usr/local/share/lua/5.1/flock/init.lua' no file '/usr/local/lib/lua/5.1/flock.lua' no file '/usr/local/lib/lua/5.1/flock/init.lua' no file '/usr/share/lua/5.1/flock.lua' no file '/usr/share/lua/5.1/flock/init.lua' no file './flock.so' no file '/usr/local/lib/lua/5.1/flock.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/flock.so' no file '/usr/lib/lua/5.1/flock.so' no file '/usr/local/lib/lua/5.1/loadall.so' terminate called after throwing an instance of 'OsmLuaProcessing::luaProcessingException' what(): std::exception ```
- Loading branch information