Topic on Project:Support desk

Internal error in Scribunto - Exception from line 167

3
Minoa (talkcontribs)

I have recently upgraded MediaWiki from 1.24.1 to 1.24.2 last night, but the Scribunto extension (latest release) started returning internal errors for articles that use LUA modules, such as at https://nsindex.net/wiki/Minoa. I have already set the permissions of the executable in question to 755, thereby allowing all users to execute the binary that is required, but the error continues to persist.

Full details of error:

[e63a0872] /wiki/Minoa Exception from line 167 of /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable.

Backtrace:

#0 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(114): Scribunto_LuaStandaloneInterpreter->__construct(Scribunto_LuaStandaloneEngine, array)
#1 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(87): Scribunto_LuaStandaloneEngine->newInterpreter()
#2 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
#3 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(189): Scribunto_LuaStandaloneEngine->load()
#4 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(763): Scribunto_LuaEngine->getInterpreter()
#5 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(775): Scribunto_LuaModule->getInitChunk()
#6 /srv/data/web/vhosts/nsindex.net/htdocs/w/extensions/Scribunto/common/Hooks.php(113): Scribunto_LuaModule->invoke(string, PPTemplateFrame_DOM)
#7 [internal function]: ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)
#8 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3753): call_user_func_array(string, array)
#9 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3471): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#10 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#11 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3623): PPFrame_DOM->expand(PPNode_DOM)
#12 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(array, PPFrame_DOM)
#13 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1689): PPFrame_DOM->expand(DOMElement, integer)
#14 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1697): PPTemplateFrame_DOM->getNamedArgument(string)
#15 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(4082): PPTemplateFrame_DOM->getArgument(string)
#16 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1198): Parser->argSubstitution(array, PPTemplateFrame_DOM)
#17 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3384): PPFrame_DOM->expand(PPNode_DOM)
#18 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#19 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3623): PPFrame_DOM->expand(PPNode_DOM)
#20 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(array, PPFrame_DOM)
#21 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(3281): PPFrame_DOM->expand(PPNode_DOM, integer)
#22 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(1239): Parser->replaceVariables(string)
#23 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/parser/Parser.php(405): Parser->internalParse(string)
#24 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/content/WikitextContent.php(338): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#25 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/content/AbstractContent.php(490): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#26 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#27 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#28 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/page/Article.php(688): PoolCounterWork->execute()
#29 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/actions/ViewAction.php(44): Article->view()
#30 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/MediaWiki.php(414): ViewAction->show()
#31 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/MediaWiki.php(282): MediaWiki->performAction(Article, Title)
#32 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/MediaWiki.php(584): MediaWiki->performRequest()
#33 /srv/data/web/vhosts/nsindex.net/htdocs/w/includes/MediaWiki.php(435): MediaWiki->main()
#34 /srv/data/web/vhosts/nsindex.net/htdocs/w/index.php(46): MediaWiki->run()
#35 {main}


Version information from https://nsindex.net/wiki/Special:Version - - MediaWiki: 1.24.2 - PHP: 5.4.39-0+deb7u1 (fpm-fcgi) - MySQL: 5.5.41-0+wheezy1-log - Lua: 5.1.5

The URL of the wiki is https://nsindex.net/wiki/Home. I am the webmaster of this wiki.

Thanks in advance.

Florianschmidtwelzow (talkcontribs)

Please verify again, that the lua library can be excuted (make sure, that you check the correct library). Mostly this error message isn't a false negative, so the binary can not exdcuted by this user :)

Minoa (talkcontribs)

I can confirm that it wants to execute ".../lua5_1_5_linux_64_generic/lua", and I have set the permissions to 755, or -rwxr-xr-x to no success. I am using SFTP FileZilla to set the permissions.

A peculiar thing that I noticed is that if I renamed it to ".../lua5_1_5_linux_64_snowed/lua", the page still returns the same error.

Reply to "Internal error in Scribunto - Exception from line 167"