Ask Your Question

sagemath 8.6 could not work normally on mac 10.14.3

asked 2019-02-07 05:04:58 +0200

ifeelok92 gravatar image

updated 2019-02-07 17:42:47 +0200

FrédéricC gravatar image

Command line works, but the sagemath application could not open a notebook, and it barely respond, i think some issues may occur with GUI.

edit retag flag offensive close merge delete


Can you say exactly which one you downloaded and so forth? That might help us debug it.

kcrisman gravatar imagekcrisman ( 2019-02-09 05:02:37 +0200 )edit

For my part, I am using on 10.14.3. But this has been a problem ever since Sage 8.4. The common denominator has been "Mojave", in versions 10.14, 10.14.2 and now 10.14.3. It looks like Sage 8.7 is about to be released, and if this hasn't cleared up, I guess I'll mention it again on the sage-devel forum.

castal gravatar imagecastal ( 2019-02-09 06:22:40 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2020-01-07 21:12:11 +0200

kcrisman gravatar image

Sometimes if you right-click a file for all options, and then use Option, it reveals additional options. You could try to use the version of "Open" that appears then. Another option could be to use the answer here regarding Apple's (relatively) new security regime. I'm not sure if this is what you were experiencing, but having this answer may help if others land on this question due to the Apple security checking issue.

edit flag offensive delete link more

answered 2019-02-08 01:13:48 +0200

castal gravatar image

updated 2019-02-08 01:15:02 +0200

I have also been having this same problem ever since upgrading to Mac OS 10.14, "Mojave".

I have since found a workaround that isn't too painful. After starting up the double-clickable app, use the Mac terminal application to execute the Mac Console utility:

open ~/Library/Logs/sage.log

At the end of the log file, you should see a message:

Copy/paste this URL into your browser when you connect for the first time, to login with a token:

After pasting the URL into your browser, you should immediately see the notebook interface, and you can then use Sage. Despite what the message says, you will still have to do the copy/paste operation on subsequent Sage invocations.

If you wait for about a minute or two, the Sage icon will eventually appear on the menu bar. If you are patient, you can skip the copy/paste step and wait a couple of minutes for the app to open by itself.

There are also ways of opening the notebook directly from the command line, see Running the notebook.

edit flag offensive delete link more


Also, the Sage icon on the menu bar should have a way to view the console of the log as one of the options. That is weird that it doesn't allow this any more. Do you find this in all browsers? (You can set the default browser with some env var, I think 'SAGE_BROWSER` but I am not 100% sure.)

kcrisman gravatar imagekcrisman ( 2019-02-09 05:03:33 +0200 )edit

The Sage icon on my menu bar (when it finally appears!) lists 'View Log" as an option right above "Preferences...". I am using Safari, but I don't think it should matter. It's still good to know how to invoke the console directly in case the Sage icon doesn't appear. You can set the default browser from the "Preferences..." option on the menu bar, but that's only after you have managed to get the Sage icon to appear in the first place...

castal gravatar imagecastal ( 2019-02-09 06:08:17 +0200 )edit

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


Asked: 2019-02-07 05:02:03 +0200

Seen: 858 times

Last updated: Jan 07 '20