Sage takes very long to start—why?
I am using the app version of Sage on macOS 10.14.3. Both version 8.5 and 8.6 take very long to start up. As I remember, previous versions were fine.
Does anyone else experience this problem (on the same OS with the same versions) and is there a simple solution? How can I debug what is happening?
By "slow to start" I mean that after starting the app, nothing at all happens for 1-2 minutes (!). Only _after_ that do I see a browser window with "The SageNB server or Jupyter is currently starting".
The command line executable SageMath.app/sage
within the app bundle starts very quickly (but this one does not launch the notebook interface). If I start SageMath.app/Contents/MacOS/Sage
, startup is also very fast (and this time I do get the notebook). The problem appears only when I launch the app by double-clicking it.
I can just confirm that SageMath 8.6 with macOS High Sierra 10.13.6 launches the Jupyter interface quite quickly. So your problem is probably tied to Mojave or to the way you have configured SageMath. The window with "The SageNB server or Jupyter is currently starting. Please wait..." suggest to check View Log under the Server item in the menu bar. Perhaps you may find there some hints.
@Juanjo There is no entry in the log that looks relevant. The entries start appearing only after it has started up. Also: I think you misunderstood me: it does not get stuck on the "currently starting" page. That page does not even appear until a couple of minutes after the app was started. Once that page appears at all, everything is fast.