Last modified: 2013-12-06 17:18:58 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 T48135, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46135 - Script error: Lua error: Internal error: The interpreter exited with status 126.
Script error: Lua error: Internal error: The interpreter exited with status 126.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-14 18:35 UTC by jeblad
Modified: 2013-12-06 17:18 UTC (History)
3 users (show)

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


Attachments

Description jeblad 2013-03-14 18:35:49 UTC
During development, if the local repo is in a user-owned catalog, all of the files will typically be owned by the user including the Lua-engines. In that case the file permissions can be set to not include execute rights for others. If the Lua engine can't start the error reported is
  "Script error: Lua error: Internal error: The interpreter exited with status 126."
This error is wrong as the Lua engine never executes in this case, it will not even start.
Comment 1 Brad Jorsch 2013-03-14 19:47:11 UTC
Note that "status 126" from bash means that the file to be executed was found but was not actually executable, so the error message is technically correct (if rather obscure).
Comment 2 jeblad 2013-03-15 08:37:06 UTC
The important thing is that it is a bash error, not a lua error.
Comment 3 Tim Starling 2013-03-25 00:41:22 UTC
You are complaining about the word "Lua" in the error message? Why don't you request something useful, like an explicit check if the Lua binary is executable before execution is attempted, with some helpful error message if it is not?
Comment 4 Brad Jorsch 2013-12-06 17:18:58 UTC
(In reply to comment #3)
> like an explicit check if the Lua binary is
> executable before execution is attempted, with some helpful error message if
> it is not?

That was done in Gerrit change #75819, so I'm closing this as fixed.

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


Navigation
Links