First time here? Check out the FAQ!

Ask Your Question
1

Error typesetting

asked 10 years ago

Vladimir gravatar image

updated 7 years ago

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.

Preview: (hide)

Comments

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

calc314 gravatar imagecalc314 ( 10 years ago )

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 ( 10 years ago )

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 ( 10 years ago )

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

Vladimir gravatar imageVladimir ( 10 years ago )

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 ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

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.

Preview: (hide)
link

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: 10 years ago

Seen: 1,799 times

Last updated: Jun 22 '15