On Tue, Sep 14, 2010 at 9:24 AM, Alexander Gladysh <[email protected]> wrote: > On Mon, Sep 13, 2010 at 21:59, Hisham <[email protected]> wrote: >> On Mon, Sep 13, 2010 at 2:12 PM, Hisham <[email protected]> wrote: > >>> I'm about ready to release LuaRocks 2.0.3, but I'd like some feedback >>> from the LuaRocks community before releasing it to lua-l: > >> http://luarocks.org/releases/luarocks-2.0.3-rc2.tar.gz > > A problem: LR asks user to report a bug if CTRL+C is pressed during > some operation: > > $ sudo luarocks install luaposix 5.1.2-1 > ^C > Error: LuaRocks 2.0.3 bug (please report at > [email protected]). > /usr/local/lib/luarocks/share/lua/5.1//socket.lua:102: interrupted!
I could not reproduce this -- perhaps LuaSocket catches Ctrl-C by raising an error? That would be odd, but in this case then what can we do? >From my attempts, depending on what external command was running when you press Ctrl-C, LuaRocks fails with various errors: Error: Failed extracting luaposix-5.1.2.tar.gz Error: Build error: Failed compiling object lposix.o Error: Failed unpacking rock file: /System/Variable/tmp/luarocks_luarocks-rock-luaposix-5.1.2-1-920/luaposix-5.1.2-1.src.rock I'm leaving this behavior as is for LR 2.0.3, but does anyone have any idea on how to improve this? Thanks, -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
