Page MenuHomePhabricator

Internal error: The luasandbox extension is not present
Closed, ResolvedPublic

Description

Attempting to view any page with Scribunto modules, including Hub main page, throws an error:

[421a847e90ce2256f01bff5d] /wiki/Main_Page Scribunto_LuaInterpreterNotFoundError from line 242 of /var/www/live/w/extensions/Scribunto/includes/engines/LuaSandbox/Engine.php: The luasandbox extension is not present, this engine cannot be used.

Backtrace:

#0 /var/www/live/w/extensions/Scribunto/includes/engines/LuaSandbox/Engine.php(255): Scribunto_LuaSandboxInterpreter::checkLuaSandboxVersion()
#1 /var/www/live/w/extensions/Scribunto/includes/engines/LuaSandbox/Engine.php(211): Scribunto_LuaSandboxInterpreter->__construct(Scribunto_LuaSandboxEngine, array)
#2 /var/www/live/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(120): Scribunto_LuaSandboxEngine->newInterpreter()
#3 /var/www/live/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(223): Scribunto_LuaEngine->load()
#4 /var/www/live/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(937): Scribunto_LuaEngine->getInterpreter()
#5 /var/www/live/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(954): Scribunto_LuaModule->getInitChunk()
#6 /var/www/live/w/extensions/Scribunto/includes/common/Hooks.php(140): Scribunto_LuaModule->invoke(string, PPTemplateFrame_DOM)
#7 /var/www/live/w/includes/parser/Parser.php(3493): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)
#8 /var/www/live/w/includes/parser/Parser.php(3200): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#9 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1279): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#10 /var/www/live/w/includes/parser/Parser.php(3374): PPFrame_DOM->expand(DOMElement)
#11 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1279): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#12 /var/www/live/w/includes/parser/Parser.php(3374): PPFrame_DOM->expand(DOMElement)
#13 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1279): Parser->braceSubstitution(array, PPFrame_DOM)
#14 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1800): PPFrame_DOM->expand(DOMElement, integer)
#15 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1812): PPTemplateFrame_DOM->getNamedArgument(string)
#16 /var/www/live/w/includes/parser/Parser.php(3881): PPTemplateFrame_DOM->getArgument(string)
#17 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1298): Parser->argSubstitution(array, PPTemplateFrame_DOM)
#18 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1800): PPFrame_DOM->expand(DOMElement, integer)
#19 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1812): PPTemplateFrame_DOM->getNamedArgument(string)
#20 /var/www/live/w/includes/parser/Parser.php(3881): PPTemplateFrame_DOM->getArgument(string)
#21 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1298): Parser->argSubstitution(array, PPTemplateFrame_DOM)
#22 /var/www/live/w/includes/parser/Parser.php(3374): PPFrame_DOM->expand(DOMElement)
#23 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1279): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#24 /var/www/live/w/includes/parser/Parser.php(3374): PPFrame_DOM->expand(DOMElement)
#25 /var/www/live/w/includes/parser/Preprocessor_DOM.php(1279): Parser->braceSubstitution(array, PPFrame_DOM)
#26 /var/www/live/w/includes/parser/Parser.php(3014): PPFrame_DOM->expand(DOMElement, integer)
#27 /var/www/live/w/includes/parser/Parser.php(1350): Parser->replaceVariables(string)
#28 /var/www/live/w/includes/parser/Parser.php(476): Parser->internalParse(string)
#29 /var/www/live/w/includes/content/WikitextContent.php(341): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#30 /var/www/live/w/includes/content/AbstractContent.php(517): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#31 /var/www/live/w/includes/Revision/RenderedRevision.php(239): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
#32 /var/www/live/w/includes/Revision/RenderedRevision.php(211): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
#33 /var/www/live/w/includes/Revision/RevisionRenderer.php(175): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
#34 /var/www/live/w/includes/Revision/RevisionRenderer.php(128): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
#35 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
#36 /var/www/live/w/includes/Revision/RenderedRevision.php(175): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
#37 /var/www/live/w/includes/poolcounter/PoolWorkArticleView.php(194): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#38 /var/www/live/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#39 /var/www/live/w/includes/page/Article.php(774): PoolCounterWork->execute()
#40 /var/www/live/w/includes/actions/ViewAction.php(68): Article->view()
#41 /var/www/live/w/includes/MediaWiki.php(501): ViewAction->show()
#42 /var/www/live/w/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#43 /var/www/live/w/includes/MediaWiki.php(860): MediaWiki->performRequest()
#44 /var/www/live/w/includes/MediaWiki.php(517): MediaWiki->main()
#45 /var/www/live/w/index.php(42): MediaWiki->run()
#46 {main}

Event Timeline

--miki-- created this task.Dec 26 2019, 2:24 PM
lewiscawte closed this task as Resolved.Dec 26 2019, 10:30 PM
lewiscawte claimed this task.
lewiscawte added a subscriber: lewiscawte.

Fixed this hours before I saw this ticket...

lewiscawte triaged this task as Unbreak Now! priority.Dec 26 2019, 10:30 PM