Ask Your Question
1

sagemath 8.6 could not work normally on mac 10.14.3

asked 2019-02-06 22:04:58 -0500

ifeelok92 gravatar image

updated 2019-02-07 10:42:47 -0500

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

Comments

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

kcrisman gravatar imagekcrisman ( 2019-02-08 22:02:37 -0500 )edit

For my part, I am using sage-8.6-OSX_10.14.2-x86_64.app.dmg 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-08 23:22:40 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-02-07 18:13:48 -0500

castal gravatar image

updated 2019-02-07 18:15:02 -0500

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

Comments

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-08 22:03:33 -0500 )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-08 23:08:17 -0500 )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

Stats

Asked: 2019-02-06 22:02:03 -0500

Seen: 287 times

Last updated: Feb 07