Last modified: 2014-02-13 23:27:29 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 T63154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61154 - "PHP Notice: Missing texvc executable; please see math/README to configure" in /wiki/extensions/Math/MathInputCheckTexvc.php on line 51
"PHP Notice: Missing texvc executable; please see math/README to configure" i...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: physikerwelt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-10 20:23 UTC by T. Gries
Modified: 2014-02-13 23:27 UTC (History)
2 users (show)

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


Attachments

Description T. Gries 2014-02-10 20:23:32 UTC
My server log file shows the following entries when a page using the Math extension needs rendering:

- [error] PHP Notice: 
- Missing texvc executable; please see math/README to configure. 
- in /wiki/extensions/Math/MathInputCheckTexvc.php on line 51, 
- referer: http://wiki/e/index.php?title=Formula&action=edit

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.
Comment 1 T. Gries 2014-02-10 20:59:09 UTC
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';
Comment 2 Gerrit Notification Bot 2014-02-10 21:54:02 UTC
Change 112589 had a related patch set uploaded by Physikerwelt:
Differntiate missing texvccheck from missing texvc

https://gerrit.wikimedia.org/r/112589
Comment 3 physikerwelt 2014-02-10 22:14:42 UTC
(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.
Comment 4 T. Gries 2014-02-10 23:00:54 UTC
> I don't see the difference.


* The link to the texvc executable

must become

* The link to the texvccheck executable
Comment 5 physikerwelt 2014-02-10 23:23:08 UTC
(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.
Comment 6 Gerrit Notification Bot 2014-02-13 23:17:15 UTC
Change 112589 merged by jenkins-bot:
Differentiate missing texvccheck from missing texvc

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

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


Navigation
Links