Page MenuHomePhabricator

"PHP Notice: Missing texvc executable; please see math/README to configure" in /wiki/extensions/Math/MathInputCheckTexvc.php on line 51
Closed, ResolvedPublic

Description

My server log file shows the following entries when a page using the Math extension needs rendering:

How to reproduce:

  • latest MediaWiki core code
  • latest E:Math code

The math/README file is silent about this specific message "Missing texvc executable; please see math/README to configure" and does not give any guidance to avoid this message.

The texvc executable is present in /wiki/extensions/Math/math directory, and rendering and the extension as such _works_.

Solution / Suggestion:

It appears that this specific PHP Notice is triggered by a missing Texvccheck code, this should be fixed by the maintainer and/or a corresponding help text is to be added to math/README file.


Version: master
Severity: normal

Details

Reference
bz61154

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:57 AM
bzimport added a project: Math.
bzimport set Reference to bz61154.

and in Math.php this text appears to be wrong:

/**

  • The link to the texvc executable

*/
$wgMathTexvcCheckExecutable = dirname( FILE ) . '/texvccheck/texvccheck';

should be

/**

  • The link to the texvccheck executable

*/
$wgMathTexvcCheckExecutable = dirname( FILE ) . '/texvccheck/texvccheck';

Change 112589 had a related patch set uploaded by Physikerwelt:
Differntiate missing texvccheck from missing texvc

https://gerrit.wikimedia.org/r/112589

physik wrote:

(In reply to comment #1)

and in Math.php this text appears to be wrong:

/**

  • The link to the texvc executable

*/
$wgMathTexvcCheckExecutable = dirname( FILE ) . '/texvccheck/texvccheck';

should be

/**

  • The link to the texvccheck executable

*/
$wgMathTexvcCheckExecutable = dirname( FILE ) . '/texvccheck/texvccheck';

I don't see the difference.

I don't see the difference.

  • The link to the texvc executable

must become

  • The link to the texvccheck executable

physik wrote:

(In reply to comment #4)

I don't see the difference.

  • The link to the texvc executable

must become

  • The link to the texvccheck executable

OK thank you fixed that.

Change 112589 merged by jenkins-bot:
Differentiate missing texvccheck from missing texvc

https://gerrit.wikimedia.org/r/112589