Mobile app version of vmapp.org
Login or Join
Hamm4606531

: MediaWiki Error: Lua error: Internal error: The interpreter has terminated with signal "11" I have a MediaWiki deployement at: http://wiki.tankpedia.org/ I have been importing templates from Wikipedia

@Hamm4606531

Posted in: #Mediawiki #Php

I have a MediaWiki deployement at:
wiki.tankpedia.org/
I have been importing templates from Wikipedia and am receiving a Lua error for the Convert template; the error is:


Lua error: Internal error: The interpreter has terminated with signal "11".


The error can be seen here (you have to click on one of the 'Script Error' messages): wiki.tankpedia.org/index.php?title=M2_Light_Tank
The Scribunto deployment this is dependent on is chmod to 755.

The following error also appears on the same page:


Expression error: Unrecognized punctuation character "["


Research online suggests this relates to the ParserFunctions extension however it is installed; I even added the following extra line in my config file and it did not help:


$wgPFEnableStringFunctions = true;


I reinstalled ParserFunctions Version 1.5.1 as well as trying Version 1.4.1; the reinstall of the first and trying the second both failed to resolve this issue. I also tried chmod the ParserFunctions deployment to 755 to see if there was a permissions issue; it did not help.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Lee4591628

I had the exact same issue. Signal 11" would tend to indicate that the standalone Lua interpreter that is shipped with the extension has crashed.

Instead, run the Lua interpreter that should already be pre-installed on your server. For some reason the Lua binaries packaged in the extension do not seem to work.

Run the lua command via SSH. Check that your server is running version 5.1.x. Note that for Scribunto the version has to be 5.1.x.

Lua's default installation path is in /usr/bin/lua.

Then in your LocalSettings.php set:

$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';


to fix the issue.



If running the Lua command shows it as undefined, then you could try installing it with yum install lua, though I am not sure if the version would still be 5.1.x

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme