Ask Your Question
1

Error typesetting

asked 2015-04-27 23:42:02 +0200

Vladimir gravatar image

updated 2017-08-01 12:09:39 +0200

FrédéricC gravatar image

Hello, I'm having problems with SageMath, constantly getting message error:

Error typesetting mathematics

How can I resolve this problem?
Thanks in advance.

edit retag flag offensive close merge delete

Comments

Please give us a sample of some code that is producing this error.

calc314 gravatar imagecalc314 ( 2015-04-28 01:38:28 +0200 )edit

It's not about the code, I always get that error and sometimes this:
Error typesetting mathematics

/usr/lib/sagemath/local/lib/python2.7/site-packages/setuptools-12.4-py2.\ 7.egg/pkg_resources/__init__.py:1224: UserWarning: /home/sivi/.sage//.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).

Vladimir gravatar imageVladimir ( 2015-04-28 18:33:27 +0200 )edit

I'm also getting this error. I haven't used sage in a while, but I noticed that the new version (6.6) has updated recently.

fabikw gravatar imagefabikw ( 2015-04-29 18:24:29 +0200 )edit

So, does anyone have a clue where I can find my answer and hopely solve this annoying problem?

Vladimir gravatar imageVladimir ( 2015-05-03 04:57:49 +0200 )edit

Hi, I had the same problem after the latest update on Ubuntu. I was using the AIMS ppa. Uninstalling the ppa package and manually installing the pre built binary for Ubuntu 14.04 fixed the issue.

NahsiN gravatar imageNahsiN ( 2015-05-12 22:02:19 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-06-22 08:41:03 +0200

pipedream0 gravatar image

Hi

This is fixed in the latest PPA (but does not always get fixed during upgrades due to a low level dpkg issue with folders changing to symlinks).

To fix an existing install do: sudo -i cd /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/ rm -rf mathjax ln -s ../../../../../../share/mathjax/

Close and open sage again.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-27 23:42:02 +0200

Seen: 1,393 times

Last updated: Jun 22 '15