Topic on Extension talk:Scribunto

Issue with lua & scribuntu causing some pages to give massive error

9
68.194.103.98 (talkcontribs)

I recently imported a few templates from wikipedia and the templates added some code to my infoboxes. With that addition, my wiki would just show the code on the page. {{#invoke:InfoboxImage|InfoboxImage|image=|size=|sizedefault=frameless|alt=|suppressplaceholder=yes}} the above was added to my infobox person page and it shows on the infoboxes now.

so I did a little research and found that I need to install an extension called scribuntu. in doin that, any page with that above code returns a long error

Lua error: Internal error: Error reading from pipe.

Backtrace:

  1. 0 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(368): ScribuntoEngineBase->newException('scribunto-luast...')
  2. 1 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(330): Scribunto_LuaStandaloneInterpreter->receiveMessage()
  3. 2 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(256): Scribunto_LuaStandaloneInterpreter->dispatch(Array)
  4. 3 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(115): Scribunto_LuaStandaloneInterpreter->registerLibrary('mw_interface', Array)
  5. 4 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(90): Scribunto_LuaEngine->registerInterface('mw.lua', Array, Array)
  6. 5 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  7. 6 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(26): Scribunto_LuaStandaloneEngine->load()
  8. 7 /home/worldafr/public_html/wiki/extensions/Scribunto/common/Hooks.php(185): Scribunto_LuaStandaloneEngine->getLimitReport()
  9. 8 [internal function]: ScribuntoHooks::reportLimits(Object(Parser), 'NewPP limit rep...')
  10. 9 /home/worldafr/public_html/wiki/includes/Hooks.php(216): call_user_func_array('ScribuntoHooks:...', Array)
  11. 10 /home/worldafr/public_html/wiki/includes/GlobalFunctions.php(3823): Hooks::run('ParserLimitRepo...', Array)
  12. 11 /home/worldafr/public_html/wiki/includes/parser/Parser.php(492): wfRunHooks('ParserLimitRepo...', Array)
  13. 12 /home/worldafr/public_html/wiki/includes/WikiPage.php(3110): Parser->parse('{{Infobox dam?|...', Object(Title), Object(ParserOptions), true, true, 33592)
  14. 13 /home/worldafr/public_html/wiki/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
  15. 14 /home/worldafr/public_html/wiki/includes/Article.php(631): PoolCounterWork->execute()
  16. 15 /home/worldafr/public_html/wiki/includes/actions/ViewAction.php(37): Article->view()
  17. 16 /home/worldafr/public_html/wiki/includes/Wiki.php(427): ViewAction->show()
  18. 17 /home/worldafr/public_html/wiki/includes/Wiki.php(304): MediaWiki->performAction(Object(Article))
  19. 18 /home/worldafr/public_html/wiki/includes/Wiki.php(536): MediaWiki->performRequest()
  20. 19 /home/worldafr/public_html/wiki/includes/Wiki.php(446): MediaWiki->main()
  21. 20 /home/worldafr/public_html/wiki/index.php(59): MediaWiki->run()
  22. 21 {main}
Redekopmark (talkcontribs)

did you create the module pages?

24.188.136.115 (talkcontribs)

that must be it. I didn't. Where can I find out what module pages need to be created?

Redekopmark (talkcontribs)

whatever is right after {{#invoke: is the name of a module that you have to make, going by the image it's InfoboxImage, there might be more though

Vapblack (talkcontribs)

well, I get that. the {{#invoke:}} error is only shown if I disable scribunto. If it's enabled I get the other error

Lua error: Internal error: Error reading from pipe.

Backtrace:

   0 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(368): ScribuntoEngineBase->newException('scribunto-luast...')
   1 /home/worldafr/public_html/wiki/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(330): Scribunto_LuaStandaloneInterpreter->receiveMessage()
   2 /home/worldafr/public_html/wiki/extensions/Scribu
Vapblack (talkcontribs)

Greetings all. Still trying to get this fixed if anyone has any ideas.

194.44.220.38 (talkcontribs)

The solution that works for me 1. Go to wiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua* folders and for all lua files in that folders do

  1. sudo chmod 755 lua

2. Update Lua to latest version (use lua to test it works) 3. Correct in LocaSettings.php right path to lua you installed (let it be the latest version of lua binaries). 4. Do chmod 755 on lua binaries you have installed.

73.185.196.96 (talkcontribs)

This wasn't working for me. I recently installed Scribunto to use Wikipedia's Infobox and MediaWiki's Imbox, but I'm getting this error where the code is.

Can any help me?

Reply to "Issue with lua & scribuntu causing some pages to give massive error"