Thread:Extension talk:Scribunto/Template import and Script error - "Lua error: Internal error: The interpreter exited with status 1."/reply (4)

Hi Anomie,

When I got those 3 error messages I copied and pasted the files, since the lines in my engines/LuaStandalone/LuaStandaloneEngine.php file was very different so I couldn't add the difference given here to line 384. Therefore I copied and and pasted this file. The MWserver.lua file was the same, but I copied and pasted that too from here, since it was easier.

Yesterday I tried to use the differences and do the changes and found out that the difference matched at line 341 :) (not surprisingly - I should have thought about that earlier). When I did those changes, the error notice at line 341 was corrected, but the script error saying  " Lua error: Internal error: Unable to decode message"  was still there in the template pages.

Today, I thought I'll take the chance and delete my entire Scribunto file and install Scribunto fresh. I downloaded the [https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FScribunto/HEAD Scribunto zip file from Git. wikimedia.org] and installed it again. Now all the errors are completely gone. There are no errors in my php error log file either. My lua-debug.log file enters some "TX" and "RX" lines like before, but if that is nothing to be concerned about, then my problem is solved.

As for the installation file - the file I used initially was the zip file from this link which comes up when you click in the infobox in the Scribunto's extention page. Obviously the file I downloaded from that link was an out-of-date file, since the bug 46294 and the fix we are talking about was done back in April and that fix was obviously lacking in my file, and also my initial file lacked the mw.text library. I am not the only one who has got this outdated file, there was another person who mentioned it too, and as I mentioned earlier, I added all those lacking files and additions one by one manually, but that did't help me then, maybe because other files were not upto date. I did a test download about 50 minutes ago, at 10:46 pm UTC. That file too lacked the mw.text library - I guess its the same out-of-date file. So the error is not in Scribunto, but in the link which is genrerated at this page to the zip file.