3-manifolds / Sage_macOS

SageMath as a macOS application bundle.
152 stars 15 forks source link

Problem accessing the jupyter notebook under Ventura 13.2.1 #53

Closed castal closed 1 year ago

castal commented 1 year ago

I recently upgraded to macOS Ventura, and that seems to have broken the ability of Sage_macOS to access the Jupyter notebook. It was working just fine under macOS 12 (Monterey), but now the Chrome browser is telling me:

"This site can’t be reached localhost refused to connect."

When I ask for more details, I get:

"Allow Chrome to access the network in your firewall or antivirus settings.
If it is already listed as a program allowed to access the network, try removing it from the list and adding it again."

But I am not using an antivirus application and my mac tells me that the macOS Firewall is inactive.

I am OK for now just using a little shell script, "sage -n jupyter --notebook-dir [my sage directory]", but I thought that if you haven't upgraded to Ventura, then maybe you won't have seen this hiccup.

culler commented 1 year ago

I think this is the same as issue #28. Please try: rm -rf ~/Library/Application\ Support/SageMath/Jupyter

I have tested on Ventura, and SageMath can launch a Jupyter notebook with no trouble. Probably you had a Jupyter server running when you started the upgrade and it was rudely killed.

castal commented 1 year ago

Bingo!!! Thanks very much!

On Sun, Mar 26, 2023 at 8:06 PM Marc Culler @.***> wrote:

I think this is the same as issue #28 https://github.com/3-manifolds/Sage_macOS/issues/28. Please try: rm -rf ~/Library/Application\ Support/SageMath/Jupyter

— Reply to this email directly, view it on GitHub https://github.com/3-manifolds/Sage_macOS/issues/53#issuecomment-1484319964, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJG25IL7GN7SU26R6N4OITW6DRZLANCNFSM6AAAAAAWIPMVYY . You are receiving this because you authored the thread.Message ID: @.***>

culler commented 1 year ago

Glad to hear it.