lua-users home
lua-l archive

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


Sorry to spam this list with a sputnik issue, but the sputnik mailing
list is not working (it says there's a bug in mailman when trying to
access the list's webpage; tried to report it as a bug but the tracker
says I have to introduce a captcha which is not visibile -- the new
ticket form says This reCAPTCHA key isn't authorized for the given
domain).

So here it is:

I tried installed Sputnik following the custom installation page. My
goal is to install Sputnik on Xavante via LuaRocks on Windows.

When running sputnik.lua.bat start-xavante sputnik.ws I get the following error:

C:\LuaRocks/rocks//wsapi/1.1-2/lua/wsapi\common.lua:335: attempt to
call field 'new' (a nil value)
stack traceback:
       C:\LuaRocks/rocks//wsapi/1.1-2/lua/wsapi\common.lua:335: in function
'bootstrap_app'
       C:\LuaRocks/rocks//wsapi/1.1-2/lua/wsapi\common.lua:353: in function
'load_wsapi_isolated'
       C:\LuaRocks/rocks//wsapi/1.1-2/lua/wsapi\common.lua:371: in function
       (tail call): ?
       (tail call): ?
stack traceback:
       ...:\LuaRocks/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:24: in
function <...:\LuaRocks/rocks//coxpcall/1.13.0-1/lua/coxpcall.lua:22>
       (tail call): ?
       (tail call): ?
       (tail call): ?
       C:\LuaRocks/rocks//wsapi/1.1-2/lua/wsapi\xavante.lua:79: in function
       (tail call): ?
       (tail call): ?
       (tail call): ?
       ...uaRocks/rocks//xavante/2.0.1-1/lua/xavante\httpd.lua:58: in
function <...uaRocks/rocks//xavante/2.0.1-1/lua/xavante\httpd.lua:36>




Here's the output of my luarocks list:

colors
  8.05.26-1 (installed) - C:\LuaRocks/rocks

copas
  1.1.5-1 (installed) - C:\LuaRocks/rocks
  1.1.4-1 (installed) - C:\LuaRocks/rocks

cosmo
  9.09.22-1 (installed) - C:\LuaRocks/rocks

coxpcall
  1.13.0-1 (installed) - C:\LuaRocks/rocks

diff
  8.06.15-1 (installed) - C:\LuaRocks/rocks
  8.06.15-0 (installed) - C:\LuaRocks/rocks

lpeg
  0.9-1 (installed) - C:\LuaRocks/rocks

luafilesystem
  1.4.2-1 (installed) - C:\LuaRocks/rocks

luasocket
  2.0.2-1 (installed) - C:\LuaRocks/rocks

markdown
  0.32-1 (installed) - C:\LuaRocks/rocks

md5
  1.1.2-1 (installed) - C:\LuaRocks/rocks

saci
  9.03.16-0 (installed) - C:\LuaRocks/rocks

sputnik
  9.03.16-0 (installed) - C:\LuaRocks/rocks

sputnik-markitup
  9.03.16-0 (installed) - C:\LuaRocks/rocks

versium
  9.02.15-0 (installed) - C:\LuaRocks/rocks

wsapi
  1.1-2 (installed) - C:\LuaRocks/rocks

xavante
  2.0.1-1 (installed) - C:\LuaRocks/rocks

xssfilter
  9.02.15-0 (installed) - C:\LuaRocks/rocks




Here's the content of my sputnik.ws:

require('sputnik.wsapi_app')
return sputnik.wsapi_app.new{
  VERSIUM_PARAMS = { 'C:\LuaRocks\bin/wiki-data/' },
  BASE_URL       = '/sputnik.ws',
  PASSWORD_SALT  = 'Zqv4h9X9BTraAGs1JOidWTyXj6Qrgr24g1sihGjV',
  TOKEN_SALT     = 'Yv4G7OPRY8kD7DQ6LJGGD26vJENXZWJLaw1IIZks',
}



Any hints?
Thanks,
Cosmin.