lua-users home
lua-l archive

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


You need to install rings, sorry: http://keplerproject.github.com/rings

--
Fabio Mascarenhas


On Thu, Mar 4, 2010 at 4:53 PM, Rory Toma <rory@ooma.com> wrote:
> OK, I've installed the latest wsapi from there, and here is what I get now
> when trying to execute a lua page:
>
> There was an error in the specified application. The full error message
> follows:
>
> /usr/share/lua/wsapi/common.lua:569: attempt to call field 'new' (a nil
> value)
> stack traceback:
>     /usr/share/lua/wsapi/common.lua:569: in function 'bootstrap_app'
>     /usr/share/lua/wsapi/common.lua:588: in function
> 'load_isolated_launcher'
>     /usr/share/lua/wsapi/common.lua:603: in function
>     (tail call): ?
>     [C]: in function 'xpcall'
>     /usr/share/lua/wsapi/common.lua:223: in function 'run_app'
>     /usr/share/lua/wsapi/common.lua:250: in function 'run'
>     /usr/share/lua/wsapi/fastcgi.lua:40: in function 'run'
>     /usr/bin/cgilua.fcgi:36: in main chunk
>     [C]: ?
>
>
> It's possible I have something misconfigured, as I do not have a working
> reference to check against, so I'm mostly guessing at how things should look
> at this point.
>
> thx
>
> On 3/1/10 2:25 PM, Fabio Mascarenhas wrote:
>
> Make sure you are using the latest version of WSAPI, get it here:
> http://github.com/keplerproject/wsapi/archives/master
> I didn't have time to do a proper release 1.3 yet...
> --
> Fabio Mascarenhas
>
>
> On Mon, Mar 1, 2010 at 6:13 PM, Rory Toma <rory@ooma.com> wrote:
>>
>> Progress... of sorts. My lua pages hang now, and here is the output from
>> lighttpd:
>>
>> /usr/bin/lua: /usr/bin/cgilua.fcgi:26: attempt to call field
>> 'make_isolated_launcher' (a nil value)
>> stack traceback:
>>         /usr/bin/cgilua.fcgi:26: in main chunk
>>         [C]: ?
>>
>>
>> I had to remove the {.lp} handler as it was complaining about duplicate
>> definitions, and of course, remove the luarocks requirement.
>>
>> thx
>>
>> On 2/26/10 9:08 PM, Fabio Mascarenhas wrote:
>>
>> On Sat, Feb 27, 2010 at 12:02 AM, Rory Toma <rory@ooma.com> wrote:
>>>
>>> I'm trying to get cgilua to work on an embedded arm platform. I've
>>> compiled and installed lua, fcgi, luafilesytem, cgilua and wsapi. I've
>>> manged to get things tweaked so that wsapi.fcgi stops giving me lib errors.
>>> Now what? I'm pretty sure it's just a matter of configuration and perhaps
>>> file placement, but I am unable to find any resources beyond "run apt-get
>>> and luarocks" - which I tried, by the way on Ubuntu and ended up having
>>> luarocks barf on me with syntax errors.
>>>
>>> So, where do I start?
>>>
>>> I'm also using lighttpd, and not apache. I tried using thttpd but gave up
>>> on that.
>>>
>>> I'll send more details as needed, the stuff I've done so far would be
>>> lengthy to post.
>>>
>>> thx
>>
>> The cgilua.fcgi that you are using has a dependency on Kepler 1.1, so it
>> does not work with the current version of WSAPI. I have attached a barebones
>> lighttpd.conf to get you working, as well as new versions cgilua.fcgi and
>> cgilua.cgi that work with WSAPI 1.2 and later.
>> I was hoping that one of the CGILua users would have already done that, I
>> am not CGILua's maintainer and have zero interest in maintaining it... I do
>> have commit access to git@github.com:cgilua.git, though, so I also uploaded
>> these two new scripts there.
>> --
>> Fabio Mascarenhas
>>
>
>
>