lua-users home
lua-l archive

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


I was totally stuck on this issue. Any updates guys? Can someone update the .rockspec?

--
Regards,
Ryan


On Sat, Feb 15, 2014 at 9:05 AM, David Crayford <dcrayford@gmail.com> wrote:
Cheers Ben! That did the trick...

On 15/02/2014 8:25 PM, Benjamin von Ardenne wrote:
Hey,

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


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:


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>