On Mon, Nov 9, 2009 at 19:27, Alexander Gladysh <[email protected]> wrote:
>> After this, my wsapi installation seems to be broken:
>
>> $ /usr/local/lib/luarocks/bin/wsapi.fcgi
>> /usr/bin/lua5.1: /usr//share/lua/5.1//luarocks/loader.lua:59: attempt
>> to index field '?' (a nil value)
>> stack traceback:
>>        /usr//share/lua/5.1//luarocks/loader.lua:59: in function 'add_context'
>>        /usr//share/lua/5.1//luarocks/loader.lua:178: in function
>> </usr//share/lua/5.1//luarocks/loader.lua:173>
>>        [C]: in function 'require'
>>        ...s/lib/luarocks/rocks/wsapi-fcgi/cvs-2/bin/wsapi.fcgi:10: in main 
>> chunk
>>        [C]: ?
>
> The same error now occurs even if I remove wsapi-fcgi and wsapi, and
> reinstall them from normal LuaRocks repo.
>
> If I run spawn-fcgi, I get this error message:
>
> $ sudo /usr/bin/spawn-fcgi -f /usr/local/lib/luarocks/bin/wsapi.fcgi
> -a 127.0.0.1 -p 9000 -u www-data -g www-data -P
> /var/run/spawn-fcgi.pid
> spawn-fcgi.c.230: child exited with: 1
>
> It used to work :-)
>
> Probably I've broken something...

Ah, it seems to be a problem with LuaRocks...

Before that error, I've accidentally added and removed wsapi.fcgi as
my user (not as root).

When I've removed ~/.luarocks/ the problem disappeared.

Alexander.

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to