Hi All,

I just tried xavante and sajax example. I found out that there is either a bug 
or the example is not up to date.
I tried what is described here : 
http://keplerproject.github.com/xavante/manual.html#running
I had to modify xavante.cgihandler.makeHandler :
      -params = setmetatable({ modname = params.modname or "wsapi.sapi", 
bootstrap = bootstrap }, { __index = params or {} })
      +params = setmetatable({ modname = params and params.modname or 
"wsapi.sapi", bootstrap = bootstrap }, { __index = params or {} })

Then I tried to tun sajax example from here: 
http://keplerproject.github.com/xavante/sajax.html
Well it does not work neither giving the output:
There was an error in the specified application. The full error message follows:

./wsapi/common.lua:624: attempt to call field 'new' (a nil value)
stack traceback:
        ./wsapi/common.lua:624: in function 'bootstrap_app'
        ./wsapi/common.lua:650: in function 'load_isolated_launcher'
        ./wsapi/common.lua:665: in function <./wsapi/common.lua:662>
        (tail call): ?
stack traceback:
        ./coxpcall.lua:24: in function <./coxpcall.lua:22>
        (tail call): ?
        (tail call): ?
        (tail call): ?
        ./wsapi/xavante.lua:129: in function <./wsapi/xavante.lua:92>
        (tail call): ?
        (tail call): ?
        (tail call): ?
        ./xavante/httpd.lua:58: in function <./xavante/httpd.lua:36>

This certainly would require more investigation since it is more WSAPI 
internals...

Any idea ?

Thx
Cuero

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

Reply via email to