Re: [Kepler-Project] Re: WSAPI & FCGI woes

2009-11-04 Thread Nicolas
> I am crossposting this to the Kepler developers list, we like to keep the
> noise down in the regular Lua list. :-)

Sorry, I meant to post here but for the past days I could not register
(the mailman page gave me an error on confirmation).
I've tried again and now it seems to work :)

> > /usr/local/share/lua/5.1//wsapi/common.lua:393: bad argument #1 to 'ipairs'
> > (table expected, got nil)
> > stack traceback:
> >
> 
> The initialization is done at line 431, so it looks like you are hitting a
> strange corner case. Did you change anything in wsapi.fcgi?

Actually in my copy, compared to the one I updated from luarocks a few hours 
ago,
filename = ""
instead of nil in the one from luarocks.
But raeding the code I do not think it affects it.
However I also changed the reload parameter to true, and thus it seems to
use an other code path, that is probably it.
The reload parameter seems to be the culprit, but that's annoying as it
is great when developping (my .ws files do not do much but load other
modules so they do not change often).

> Apache shouldn't be messing with PATH_TRANSLATED in this way, these web
> servers and their inconsistent behavior drive me up the wall. I am going to
Yes they are a funny bunch, aren't they ..

> fire up an Apache and test, but is there anything different in your Apache
> config? I used grab SCRIPT_FILENAME first, but an user discovered that
> Apache on OSX had a problem with that in some cases, so I switched. I should
Ahah so funny :)

> probably give up on autodetecting how the particular webserver works and add
> an option to wsapi.fcgi...

Probably the best then yes I suppose.
Anyway this means my "fix" is actually correct?

Thanks for your help!

___
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/


Re: [Kepler-Project] Re: WSAPI & FCGI woes

2009-11-04 Thread Nicolas
> > However I also changed the reload parameter to true, and thus it seems to
> > use an other code path, that is probably it.
> Yeah, I independently figured that this is what must have been causing your
> issue, just wanted confirmation. :-)
Glad to be of service :)

> Yes on both counts. I have updated the HEAD to correct for the "reload"
> issue, and added a "vars" parameter to wsapi.fcgi (and wsapi.cgi too) that
> controls the order of evaluation of SCRIPT_FILENAME/PATH_TRANSLATED (and
> defaults to testing SCRIPT_FILENAME first, then PATH_TRANSLATED second, as
> seems to be what worked in most cases before). I am going to do a bugfix
> release shortly.

Perfect!

Thanks for your help, I'll go on my merry way of rewriting my sites from
crudy mod_wombat implementation to a nice Orbit one :)

___
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] Install Kepler on iOS ?

2011-06-21 Thread Nicolas Goles
Hello,

What would be the best way to install Kepler on iOS as my environment ? 

I've worked on several projects that used Lua on iOS, but since kepler is 
usually built with luarocks I was wondering if I could somehow avoid that 
option.

Thanks!

--Nicolas Goles Domic

___
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/