lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hey,

I had the same problem and you are facing a problem adressed in this commit:

https://github.com/keplerproject/wsapi/commit/5c5a6aa6ee2e47da25016c3436e1425bc8cb3623

Probably you have installed orbit (with WSAPI dependency) via luarocks which has not the current version because rockspecs were not provided yet, I pointed this out here:

https://github.com/keplerproject/wsapi/issues/32

Either get the code directly from github or change the few lines by hand. That should fix the problem.


On Sat, Feb 15, 2014 at 7:06 AM, David Crayford <dcrayford@gmail.com> wrote:
I'm getting the following error when running any of the Orbit pages samples. Any pointers to how I can resolve this would be much appreciated.

There was an error in the specified application. The full error message follows:

attempt to yield across metamethod/C-call boundary
stack traceback:
        [C]: in function 'yield'
        [string "  local app_name, bootstrap_code, is_file =..."]:29: in function 'read'
        /usr/local/share/lua/5.1/wsapi/request.lua:130: in function 'parse_post_data'
        /usr/local/share/lua/5.1/wsapi/request.lua:225: in function 'new'
        /usr/local/share/lua/5.1/orbit.lua:503: in function 'make_web_object'
        /usr/local/share/lua/5.1/orbit.lua:537: in function
        (tail call): ?
        (tail call): ?
        [C]: in function 'xpcall'
        /usr/local/share/lua/5.1/wsapi/common.lua:264: in function 'run_app'
        [string "  local app_name, bootstrap_code, is_file =..."]:67: in function <[string "  local app_name, bootstrap_code, is_file =..."]:64>