ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 07 Jan 2020 21:12:11 +0100sagemath 8.6 could not work normally on mac 10.14.3https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/Command line works,
but the sagemath application could not open a notebook,
and it barely respond,
i think some issues may occur with GUI.Thu, 07 Feb 2019 05:02:03 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/Comment by kcrisman for <p>Command line works,
but the sagemath application could not open a notebook,
and it barely respond,
i think some issues may occur with GUI.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45386#post-id-45386Can you say exactly which one you downloaded and so forth? That might help us debug it.Sat, 09 Feb 2019 05:02:37 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45386#post-id-45386Comment by castal for <p>Command line works,
but the sagemath application could not open a notebook,
and it barely respond,
i think some issues may occur with GUI.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45391#post-id-45391For 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](https://groups.google.com/forum/#!msg/sage-devel/i-wYa21o1lY/E6C5gFI6CgAJ) on the [sage-devel forum](https://groups.google.com/forum/#!forum/sage-devel).Sat, 09 Feb 2019 06:22:40 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45391#post-id-45391Answer by kcrisman for <p>Command line works,
but the sagemath application could not open a notebook,
and it barely respond,
i think some issues may occur with GUI.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?answer=49426#post-id-49426Sometimes 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](https://ask.sagemath.org/question/48246/mac-os-catalina-does-not-allow-launching-sage/) 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.Tue, 07 Jan 2020 21:12:11 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?answer=49426#post-id-49426Answer by castal for <p>Command line works,
but the sagemath application could not open a notebook,
and it barely respond,
i think some issues may occur with GUI.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?answer=45364#post-id-45364I have also been having [this same problem](https://ask.sagemath.org/question/44117/problem-running-sage-on-macos-1014-mojave/) 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](http://doc.sagemath.org/html/en/reference/repl/options.html).Fri, 08 Feb 2019 01:13:48 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?answer=45364#post-id-45364Comment by kcrisman for <p>I have also been having <a href="https://ask.sagemath.org/question/44117/problem-running-sage-on-macos-1014-mojave/">this same problem</a> ever since upgrading to Mac OS 10.14, "Mojave".</p>
<p>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:</p>
<p><code>open ~/Library/Logs/sage.log</code></p>
<p>At the end of the log file, you should see a message:</p>
<blockquote>
<p>Copy/paste this URL into your browser
when you connect for the first time,
to login with a token:</p>
</blockquote>
<p>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.</p>
<p>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.</p>
<p>There are also ways of opening the notebook directly from the command line, see <a href="http://doc.sagemath.org/html/en/reference/repl/options.html">Running the notebook</a>.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45387#post-id-45387Also, 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.)Sat, 09 Feb 2019 05:03:33 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45387#post-id-45387Comment by castal for <p>I have also been having <a href="https://ask.sagemath.org/question/44117/problem-running-sage-on-macos-1014-mojave/">this same problem</a> ever since upgrading to Mac OS 10.14, "Mojave".</p>
<p>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:</p>
<p><code>open ~/Library/Logs/sage.log</code></p>
<p>At the end of the log file, you should see a message:</p>
<blockquote>
<p>Copy/paste this URL into your browser
when you connect for the first time,
to login with a token:</p>
</blockquote>
<p>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.</p>
<p>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.</p>
<p>There are also ways of opening the notebook directly from the command line, see <a href="http://doc.sagemath.org/html/en/reference/repl/options.html">Running the notebook</a>.</p>
https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45390#post-id-45390The 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...Sat, 09 Feb 2019 06:08:17 +0100https://ask.sagemath.org/question/45350/sagemath-86-could-not-work-normally-on-mac-10143/?comment=45390#post-id-45390