Re: [sage-devel] problem running Sage-8.4 app on MacOS 10.14, Mojave

2018-12-21 Thread darwin doppelganger


On Friday, December 21, 2018 at 9:15:47 AM UTC-6, E. Madison Bray wrote:
>
> I wonder if this is an OSX-specific bug.  What happens if you run: 
>
> sage -sh -c 'test -x "$SAGE_LOCAL/bin/python2"; echo $?' 
>
> The message you're getting comes from the sage-python23 script which 
> is supposed to run the Python interpreter included in Sage, and for 
> some reason it's not working properly for you. 
>

 This is absolutely a bug specific to OSX, version 10.14, "Mojave". I 
mentioned in the link that I included above (a problem running Sage on 
MacOS 10.14, Mojave 
)
 
that :

I recently installed sage-8.4.rc1-OSX_10.13.6_x86_64.app on my Mac and ran 
> it under macOS 10.13, High Sierra with no problems. A few days later I 
> noticed that sage-8.4-OSX_10.13.6-x86_64.app became available, so I 
> installed that version, too, again with no problems under macOS 10.13, High 
> Sierra. But then a few days later I upgraded my MacOS to 10.14 Mojave, and 
> I have had problems getting Sage to run properly.


I have now downloaded and installed the Sage 
binary, sage-8.4-OSX_10.13.6-x86_64.dmg, and it seems to work just fine. It 
is only the app.dmg version that won't run. I have always just used the 
double-clickable app, and I had forgotten that it was possible to invoke 
the classic notebook from the Sage command line. This also seems to work.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] problem running Sage-8.4 app on MacOS 10.14, Mojave

2018-12-21 Thread E. Madison Bray
I wonder if this is an OSX-specific bug.  What happens if you run:

sage -sh -c 'test -x "$SAGE_LOCAL/bin/python2"; echo $?'

The message you're getting comes from the sage-python23 script which
is supposed to run the Python interpreter included in Sage, and for
some reason it's not working properly for you.

On Fri, Dec 21, 2018 at 6:43 AM darwin doppelganger  wrote:
>
> Back on Oct 29, I mentioned on ask.sagemath.org a problem running Sage on 
> MacOS 10.14, Mojave. I see now that someone else has responded with what 
> looks like the same issue. I thought I would mention it here because it looks 
> like you are contemplating a new release.
>
> I am now running macOS Mojave, 10.14.2 on a 15 inch 2017 MacBook Pro. When I 
> execute the app from sage-8.4-OSX_10.13.6-x86_64.app.dmg, I get the same 
> behavior as before, but in the meantime, I have switched over to the Jupyter 
> notebook by default and I am getting a message from Sage saying "Jupyter 
> server failed to start". On the console, I get a message saying:
>
>> Error: Tried to use Sage's Python which was not yet installed.
>> If this was called from an spkg-install script for another
>> package you should add $(PYTHON) as a dependency in
>> build/pkgs//dependencies
>
>
> I am still able to fall back to using sage-8.4.rc1-OSX_10.13.6_x86_64.app 
> with Jupyter and it works OK except for taking about a minute or so to start 
> while the browser icon "bounces" in the dock. The console message from my 
> session with sage-8.4.rc1 says:
>
>> [I 20:27:36.243 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
>> [I 20:27:36.716 NotebookApp] Serving notebooks from local directory: 
>> /Users/danielputnam/Documents/sage
>> [I 20:27:36.716 NotebookApp] 0 active kernels
>> [I 20:27:36.716 NotebookApp] The Jupyter Notebook is running at:
>> [I 20:27:36.716 NotebookApp] 
>> http://localhost:/?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
>> [I 20:27:36.716 NotebookApp] Use Control-C to stop this server and shut down 
>> all kernels (twice to skip confirmation).
>> [C 20:27:36.719 NotebookApp]
>>
>> Copy/paste this URL into your browser when you connect for the first 
>> time,
>> to login with a token:
>> 
>> http://localhost:/?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f&token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
>> [I 20:29:11.450 NotebookApp] Accepting one-time-token-authenticated 
>> connection from ::1
>> [I 20:29:41.462 NotebookApp] 302 GET 
>> /?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f&token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
>>  (::1) 0.33ms
>> [I 20:29:53.429 NotebookApp] Kernel started: 
>> 3895a9a5-866e-46a7-9794-2e77241f522b
>> [I 20:29:58.079 NotebookApp] Adapting to protocol v5.1 for kernel 
>> 3895a9a5-866e-46a7-9794-2e77241f522b
>> [I 20:33:53.430 NotebookApp] Saving file at /dec9.ipynb
>
>
> I don't know if this matters because I'm not compiling anything, but my mac 
> is one of those that lack a  /usr/include directory as mentioned in #26713.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] problem running Sage-8.4 app on MacOS 10.14, Mojave

2018-12-20 Thread darwin doppelganger
Back on Oct 29, I mentioned on ask.sagemath.org a problem running Sage on 
MacOS 10.14, Mojave 
.
 I 
see now that someone else has responded with what looks like the same 
issue. I thought I would mention it here because it looks like you are 
contemplating a new release.

I am now running macOS Mojave, 10.14.2 on a 15 inch 2017 MacBook Pro. When 
I execute the app from sage-8.4-OSX_10.13.6-x86_64.app.dmg, I get the same 
behavior as before, but in the meantime, I have switched over to the 
Jupyter notebook by default and I am getting a message from Sage saying 
"Jupyter server failed to start". On the console, I get a message saying:

Error: Tried to use Sage's Python which was not yet installed.
> If this was called from an spkg-install script for another 
> package you should add $(PYTHON) as a dependency in 
> build/pkgs//dependencies


I am still able to fall back to using sage-8.4.rc1-OSX_10.13.6_x86_64.app 
with Jupyter and it works OK except for taking about a minute or so to 
start while the browser icon "bounces" in the dock. The console message 
from my session with sage-8.4.rc1 says:

[I 20:27:36.243 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
> [I 20:27:36.716 NotebookApp] Serving notebooks from local directory: 
> /Users/danielputnam/Documents/sage
> [I 20:27:36.716 NotebookApp] 0 active kernels
> [I 20:27:36.716 NotebookApp] The Jupyter Notebook is running at:
> [I 20:27:36.716 NotebookApp] 
> http://localhost:/?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
> [I 20:27:36.716 NotebookApp] Use Control-C to stop this server and shut 
> down all kernels (twice to skip confirmation).
> [C 20:27:36.719 NotebookApp] 
> 
> Copy/paste this URL into your browser when you connect for the first 
> time,
> to login with a token:
> 
> http://localhost:/?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f&token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
> [I 20:29:11.450 NotebookApp] Accepting one-time-token-authenticated 
> connection from ::1
> [I 20:29:41.462 NotebookApp] 302 GET 
> /?token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f&token=cb44bbd926bd84757e11180fd23af19e631499a27c6ecc8f
>  
> (::1) 0.33ms
> [I 20:29:53.429 NotebookApp] Kernel started: 
> 3895a9a5-866e-46a7-9794-2e77241f522b
> [I 20:29:58.079 NotebookApp] Adapting to protocol v5.1 for kernel 
> 3895a9a5-866e-46a7-9794-2e77241f522b
> [I 20:33:53.430 NotebookApp] Saving file at /dec9.ipynb


I don't know if this matters because I'm not compiling anything, but my mac 
is one of those that lack a  /usr/include directory as mentioned in #26713 
.


 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.