HTTP Error 400 (Bad Request) - Type: ScriptError -> LUA_INIT_ERROR
See original GitHub issueAfter installing manually Splash manually on Ubuntu Server 14.04, I tried to request on browser and it raised the error as below:
{
"error": 400,
"description": "Error happened while executing Lua script",
"info": {
"message": "...me/ryan/splash-master/splash/lua_modules/sandbox.lua:243: bad argument #1 to 'load' (function expected, got string)",
"type": "LUA_INIT_ERROR"
},
"type": "ScriptError"
}
Lua version: 5.2.4
I will appreciate any help from you.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kmike I think Splash should err out on startup when detecting Lua 5.1 and before.
Lupa still uses Lua5.1 as shown in your output:
Did you check that
pip install lupa ...
actually reinstalled/rebuilt the package? You might need--force-reinstall
flag for that, so that it becomespip install -I --force-reinstall --upgrade ...