0
$\begingroup$

I've managed to install and configure matex, however when I try to run it the following error arise:

<< MaTeX`

StartProcess::nffil: File not found during RunProcess. >>

StringMatchQ::strse: String or list of strings expected at position 1 in StringMatchQ[StringTrim[$Failed[StandardOutput]],DigitCharacter..~~.~~DigitCharacter..]. >>

StringSplit::strse: String or list of strings expected at position 1 in StringSplit[StringTrim[$Failed[StandardOutput]],.]. >>

FromDigits::nlst: The expression StringTrim[$Failed[StandardOutput]] is not a list of digits or a string of valid digits. >>

FromDigits::nlst: The expression . is not a list of digits or a string of valid digits. >>

StringSplit::strse: String or list of strings expected at position 1 in StringSplit[FromDigits[StringTrim[$Failed[StandardOutput]]],FromDigits[.]]. >>

If you could help me out with this i'd appreciate this

$\endgroup$
  • $\begingroup$ This is not a typical error, and is going to require discussion to resolve. StackExchange is not appropriate for that. I suggest we talk in the MaTeX chatroom: gitter.im/MaTeX-help/Lobby $\endgroup$ – Szabolcs Oct 4 '18 at 15:09
  • $\begingroup$ Be sure to check the troubleshooting section of the MaTeX webpage in good time, but you are welcome to join the chatroom right now if you have time. $\endgroup$ – Szabolcs Oct 4 '18 at 15:09
  • $\begingroup$ I'll be able to join the chat in the evening, maybe you will be there too. $\endgroup$ – G.David Oct 4 '18 at 15:14
  • $\begingroup$ Sorry, I won't be around later tonight (European time), but I can respond tomorrow. Some very important points are missing from your question: MaTeX version (always use the latest!), Mathematica version, your operating system, your precise configuration. I suggest you go through the troubleshooting, download the troubleshooting notebook (as described there), evaluate it, and email it to me. $\endgroup$ – Szabolcs Oct 4 '18 at 15:20
2
$\begingroup$

This is not a solution to the problem, but it is good to note that we established in private e-mail that the underlying problem is that RunProcess simply does not work on the OP's machine (Mathematica 10.1.0 on Windows).

For example,

RunProcess["C:\\Windows\\System32\\where.exe"]

results in

StartProcess::nffil: File not found during RunProcess.

even though

FileExistsQ["C:\\Windows\\System32\\where.exe"]

gives True and where.exe is present on all Windows systems.

$\endgroup$
  • $\begingroup$ Looks like a permission problem... $\endgroup$ – yarchik Oct 5 '18 at 14:49
  • $\begingroup$ @yarchik We made some progress on this and it looks like RunProcess will fail if there are non-ASCII characters in the pathname of the working directory. I'm pretty sure it's a Mathematica bug $\endgroup$ – Szabolcs Oct 5 '18 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.