keplerproject/luarocks — Issue #52: Improve diagnostics in path.lua
Author: agladysh
Created: 2011-12-06 19:49:03+00:00
State: open

We've just got this stacktrace from LuaRocks 2.0.6:

/usr/bin/luajit2: /usr/share/lua/5.1/luarocks/path.lua:242: assertion failed!
stack traceback:
[C]: in function 'assert'
/usr/share/lua/5.1/luarocks/path.lua:242: in function 'path_to_module'
/usr/share/lua/5.1/luarocks/loader.lua:142: in function 'filter_module_name'
/usr/share/lua/5.1/luarocks/loader.lua:119: in function 'pick_module'
/usr/share/lua/5.1/luarocks/loader.lua:177: in function
[C]: in function 'require'
<...>

While it is most likely our fault, I would like to see a better diagnostics here.