Hi Temlakos,
I think the mathoid server is running ok. You can test via
curl -d "q=E=mc^2"
I would suggest to test with an example that does not generate mathml
like for instance
./texvc /tmp /tmp '\sqrt[3]{\frac12}'
for me the output is
+a251aea8870f7ad602a82e5c0109a3a3
and I have the expected png output
ls /tmp/a251aea8870f7ad602a82e5c0109a3a3.png -la
-rw-r--r-- 1 physikerwelt wikidev 868 Aug 4 07:22
/tmp/a251aea8870f7ad602a82e5c0109a3a3.png
you should also check texvccheck in the texvccheck subfolder
/texvccheck$ ./texvccheck '\sqrt[3]{\frac12}'
+{\sqrt[ {3}]{{\frac 12}}}
I guess you have a permissions problem with your webserver does not
have write access to
/home/jcreatio/public_html/images/math
The permissions of my math folder are
drwxr-xr-x 18 www-data www-data 4.0K Jul 31 07:38 math
as root user you can change the permission for the math folder somehow
like that:
1) cd /home/jcreatio/public_html/images/
2) chown www-data math -R
3) chmod 755 math -R
Best
Physikerwelt
On Tue, Aug 4, 2015 at 2:08 AM, Temlakos <temlakos(a)gmail.com> wrote:
Here's the thing: when texvc can create the file,
its output ends in
"</mn>". No minus sign. That one character is the one difference in
command-line output between success and failure.
I would agree: logic dictates the problem has to do with some kind of
permission I can't even see.
Temlakos
PS: the Mathoid public service, as I said before, is still down. I've tried
several times to figure out how to get Mathoid running on my server, but
can't make head nor tail of it. If anyone can tell me how to install that,
get it running, and configure it, I might fall back on that. Anything's
better than being stuck with a static set of pretty maths. (Anything, that
is, other than never seeing pretty maths again.)
Temlakos
On 08/03/2015 07:22 PM, Zenon Panoussis wrote:
I must tell you up front that I know absolutely nothing about texvc.
Never heard of it until you posted and I looked it up. However, your
original problem description says that it works in one directory and
it doesn't work in another. Logic then says that the problem is not
texvc. And you have also established that the problem is not selinux,
thank god and your ISP.
OK. Here is the full dialog:
root@creationwiki02 [/home/jcreatio/public_html]# cd images/math
root@creationwiki02 [/home/jcreatio/public_html/images/math]# ls
./ ../ 0/ 1/ 2/ 3/ 4/ 5/ 6/ 7/ 8/ 9/ a/ b/ c/ d/ e/ f/
I don't see any files there. Try 'find /home/jcreatio/public_html -type f'
.
But I do see that you got an "</mn>-" ending in both cases. If the - at
the end means failure, then the command must have failed in both
directories.
But you actually found and posted the output file of the first command in
your original posting. How could that file have been created, if the
command output ended in "</mn>-"?
There is a misunderstanding somewhere here, but, not knowing anything
about texvc, I can't nail it.
Z
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l