Ask Your Question
1

Sage on MacBookAir

asked 2016-08-21 11:54:46 +0100

gabriel1 gravatar image

Hi

I've been running sage on a macbook air for some time now but it has stopped working. On launch it does not open the tab listing my worksheets. The problem used to be intermittent and self-correcting but now it seems to be permanent. My version of Sage is 5.12-OSX-64bit-10.8. On second thoughts I suspect the problem has got to do with my most recent update of OSX. Any help greatly appreciated as I would like to back up my worksheets before upgrading.

Thanks gabriel

Here is the log if it helps

Please wait while the Sage Notebook server starts... Traceback (most recent call last): File "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/bin/sage-notebook", line 9, in <module> from sage.all import * File "/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/all.py", line 59, in <module> import operator ImportError: dlopen(/Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so Expected in: flat namespace in /Applications/Sage-5.12-OSX-64bit-10.8.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-21 16:23:32 +0100

kcrisman gravatar image

This sort of error indicates that indeed your upgrade of the Mac system has changed some libraries. You can either compile from scratch or download a new Sage binary for your version of OS X; your notebooks should still work and be in the same location then.

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: 2016-08-21 11:54:46 +0100

Seen: 180 times

Last updated: Aug 21 '16