Last modified: 2014-09-11 19:14:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72051, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70051 - Fatal exception of type Scribunto_LuaInterpreterNotFoundError
Fatal exception of type Scribunto_LuaInterpreterNotFoundError
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: hhvm
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-26 17:25 UTC by Ori Livneh
Modified: 2014-09-11 19:14 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2014-08-26 17:25:25 UTC
To reproduce, visit https://www.mediawiki.org/wiki/Extension:CentralNotice with HHVM enabled.

  2014-08-26 16:06:52 mw1017 mediawikiwiki: [9c6280fe] /wiki/Extension:CentralNotice   Exception from line 220 of /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaSandbox/Engine.php: The luasandbox extension is not present, this engine cannot be used.
  #0 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaSandbox/Engine.php(207): Scribunto_LuaSandboxInterpreter->__construct(Object(Scribunto_LuaSandboxEngine), Array)
  #1 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(87): Scribunto_LuaSandboxEngine->newInterpreter()
  #2 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(189): Scribunto_LuaEngine->load()
  #3 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(763): Scribunto_LuaEngine->getInterpreter()
  #4 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(775): Scribunto_LuaModule->getInitChunk()
  #5 /usr/local/apache/common-local/php-1.24wmf18/extensions/Scribunto/common/Hooks.php(108): Scribunto_LuaModule->invoke('replace', Object(PPTemplateFrame_DOM))
  #6 [internal function]: ScribuntoHooks::invokeHook(Object(Parser), Object(PPTemplateFrame_DOM), Array)
  #7 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(3718): call_user_func_array('ScribuntoHooks:...', Array)
  #8 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(3436): Parser->callParserFunction(Object(PPTemplateFrame_DOM), '#invoke', Array)
  #9 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  #10 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(3349): PPFrame_DOM->expand(Object(PPNode_DOM))
  #11 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
  #12 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(3588): PPFrame_DOM->expand(Object(PPNode_DOM))
  #13 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Preprocessor_DOM.php(1179): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
  #14 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(3246): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
  #15 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(1239): Parser->replaceVariables('{{Extension?|st...')
  #16 /usr/local/apache/common-local/php-1.24wmf18/includes/parser/Parser.php(405): Parser->internalParse('{{Extension?|st...')
  #17 /usr/local/apache/common-local/php-1.24wmf18/includes/content/WikitextContent.php(327): Parser->parse('{{Extension?|st...', Object(Title), Object(ParserOptions), true, true, 1083262)
  #18 /usr/local/apache/common-local/php-1.24wmf18/includes/content/AbstractContent.php(486): WikitextContent->fillParserOutput(Object(Title), 1083262, Object(ParserOptions), true, Object(ParserOutput))
  #19 /usr/local/apache/common-local/php-1.24wmf18/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Object(Title), 1083262, Object(ParserOptions))
  #20 /usr/local/apache/common-local/php-1.24wmf18/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  #21 /usr/local/apache/common-local/php-1.24wmf18/includes/page/Article.php(688): PoolCounterWork->execute()
  #22 /usr/local/apache/common-local/php-1.24wmf18/includes/actions/ViewAction.php(44): Article->view()
  #23 /usr/local/apache/common-local/php-1.24wmf18/includes/MediaWiki.php(439): ViewAction->show()
  #24 /usr/local/apache/common-local/php-1.24wmf18/includes/MediaWiki.php(307): MediaWiki->performAction(Object(Article), Object(Title))
  #25 /usr/local/apache/common-local/php-1.24wmf18/includes/MediaWiki.php(609): MediaWiki->performRequest()
  #26 /usr/local/apache/common-local/php-1.24wmf18/includes/MediaWiki.php(460): MediaWiki->main()
  #27 /usr/local/apache/common-local/php-1.24wmf18/index.php(46): MediaWiki->run()
  #28 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
  #29 {main}
Comment 1 Brad Jorsch 2014-08-26 19:22:39 UTC
This isn't a bug in Scribunto. Why is the LuaSandbox extension not being found by "extension_loaded( 'luasandbox' )" when things are using HHVM?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links