luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

bad argument #1 to 'verify_mode' (number expected, got table) #150

Closed joerg-krause closed 8 years ago

joerg-krause commented 8 years ago

Trying to bootstrap lit with fails:

/home/joerg/host/usr/bin/luvi /home/joerg/build/host-lit-2.2.22 -- make /home/joerg/build/host-lit-2.2.22 /home/joerg/build/host-lit-2.2.22/lit
lit version: 2.2.22
luvi version: v2.5.0
command: make /home/joerg/build/host-lit-2.2.22 /home/joerg/output/build/host-lit-2.2.22/lit

[...]
creating binary: /home/joerg/Work/hbm10-next/hbm10/output/build/host-lit-2.2.22/lit
downloading: https://github.com/luvit/luvi/releases/download/v2.4.0/luvi-regular-Linux_x86_64
fail: [string "bundle:/deps/coro-tls.lua"]:63: bad argument #1 to 'verify_mode' (number expected, got table)
stack traceback:
    [C]: in function 'verify_mode'
    [string "bundle:/deps/coro-tls.lua"]:63: in function 'tlsWrap'
    [string "bundle:/deps/coro-http.lua"]:78: in function 'getConnection'
    [string "bundle:/deps/coro-http.lua"]:106: in function 'request'
    [string "bundle:/libs/core.lua"]:226: in function 'getLuvi'
    [string "bundle:/libs/core.lua"]:372: in function 'make'
    [string "bundle:/commands/make.lua"]:10: in function 'fn'
    [string "bundle:deps/require.lua"]:293: in function 'require'
    [string "bundle:/main.lua"]:52: in function <[string "bundle:/main.lua"]:39>
    [C]: in function 'xpcall'
    [string "bundle:/main.lua"]:39: in function <[string "bundle:/main.lua"]:31>
joerg-krause commented 8 years ago

Fixed by https://github.com/luvit/lit/pull/151. Many thanks!