Sorry, this is an old bug fixed in github... I have decided to release WSAPI 1.4, which includes this fix. Please see the announcement email.
-- Fabio Mascarenhas On Fri, Nov 19, 2010 at 2:50 PM, jseb <gmane2...@finiderire.com> wrote: > Hello, > > I've installed wsapi and orbit, and use them with nginx. > wsapi and orbit have been installed with luarocks. No error occured. > > The wsapi test works, so i assume nginx configuration is ok (it uses > "spawn-fcgi", for launching wsapi.fcgi when nginx gets a request). > > The orbit test doesn't work. > I use as test script the "hello world" given on main page of Orbit. > (here: http://keplerproject.github.com/orbit/ ) > > > I got this error in the web browser: > > > There was an error in the specified application. The full error message > follows: > > /usr/share/lua/5.1//wsapi/ringer.lua:123: attempt to index upvalue 'state' > (a nil value) > stack traceback: > /usr/share/lua/5.1//wsapi/ringer.lua:123: in function 'app' > /usr/share/lua/5.1//wsapi/common.lua:548: in function > 'load_wsapi_isolated' > /usr/share/lua/5.1//wsapi/common.lua:525: in function > (tail call): ? > (tail call): ? > [C]: in function 'xpcall' > /usr/share/lua/5.1//wsapi/common.lua:254: in function 'run_app' > /usr/share/lua/5.1//wsapi/common.lua:281: in function 'run' > /usr/share/lua/5.1//wsapi/fastcgi.lua:40: in function 'run' > ...lib/luarocks/rocks/wsapi-fcgi/1.3.4-1/bin/wsapi.fcgi:28: in main > chunk > [C]: ? > > > > Do you have any suggestions ? > Thank you. > > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/