SageMath 9.0 app macOS: jupyter server fails to start
When I open SageMath-9.0.app under macOS Catallina (10.15.2), I get an immediate pop-up error window saying, "Jupyter Server failed to start".
The log shows:
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.0, Release Date: 2020-01-01 │
│ Using Python 3.7.3. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
Please wait while the Sage Jupyter Notebook server starts...
However, I can get the Jupyter server to start with an indirect method that was never required in earlier versions of SageMath-x.x.app, namely: In Finder, Show package contents for SageMath-9.0.app. Navigate in Finder to Contents/MacOS. Double-click Sage. That both starts the server and opens the expected client window in Safari, from which I can open and evaluate cells in an existing notebook or create a new SageMath 9.0 notebook.
So something that used to be "hooked up" between the SageMath-x.x.app and the command to start the jupyter server has been broken with 9.0.
Note that I can first start sage in Terminal (by executing there /Applications/SageMath-9.0-app/sage) Terminal, then from the sage command line execute: !sage -n jupyter
same here macOS 15.2, sage math 9.0 Log error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
Same happened to me
Same here (MacOs Catalina 10.15.2, sage-9.0-OSX_10.15.2-x86_64.app.dmg).
I like to work with my default Sage folder mapped to iCloud (through the Documents folder). When I change the default Jupyter path (in the app's preferences) to a folder on the local machine (i.e. not mapped to iCloud), the issue does not occur. With Sage 8.8 and lower, my preference for mapping my default Sage folder to iCloud was never a problem...
Another cloud-based folder (such as OneDrive) does work as well. So fortunately it's still possible to have the same view on one's Sage projects from multiple machines...