Problem with the notebook

93 views
Skip to first unread message

MB

unread,
Oct 2, 2014, 1:47:13 PM10/2/14
to sage-s...@googlegroups.com
Hi there,
I used to work with the version 5.13 on my MacBookAir, and I recently wanted to install the latest version. Everything went right during the installation, I have no problem to launch Sage in a terminal. The problem is when I try to launch the notebook from the terminal, the page http://localhost:8080/home/admin/ is opening in my browser but nothing is happening, the page remains white. 
I tried to reinstall the previous version but even with the version in TimeMachine, the same problem occurs.
Any idea of what's wrong with my notebook?
Best regards,
MB

kcrisman

unread,
Oct 2, 2014, 2:52:16 PM10/2/14
to sage-s...@googlegroups.com
No idea, wow.  Here are some ideas for debugging, though.

1) Try going to http://localhost:8080/home/admin/3 or some worksheet you know should exist.

2) Make sure your notebook stuff is still there in (presumably) ~/.sage/sage_notebook.sagenb/home/admin

3) See if there are any unusual messages in the Terminal - usually if something is messed up, you will get some error messages there that will be quite helpful.

4) The directory structure of Sage has changed since 5.13 - that shouldn't really have made a difference, but maybe if you had some unusual startup script like init.sage or something I guess it could have messed up and caused something to hang?

Good luck and let us know, especially 3).
 
Best regards,
MB

Ivan Andrus

unread,
Oct 3, 2014, 12:14:52 AM10/3/14
to sage-s...@googlegroups.com
You might also try moving/renaming the .sage directory and see if that makes it helps.

-Ivan

MB

unread,
Oct 3, 2014, 2:28:35 AM10/3/14
to sage-s...@googlegroups.com

Thanks for the answers :)
I finally solved the problem, even if I'm not sure about what really happened. Opening the notebook() a second time, I got the following message:

The notebook files are stored in: sage_notebook.sagenb
Another Sage Notebook server is running, PID 392.
Opening web browser at http://localhost:8080/ ...

This was quite weird because I didn't have this message the first time, and nothing was running with a PID 392 according to the list. I tried to kill it anyway, and now the notebook is opening normally... 

MB

kcrisman

unread,
Oct 4, 2014, 9:08:59 AM10/4/14
to sage-s...@googlegroups.com

Another Sage Notebook server is running, PID 392.
Opening web browser at http://localhost:8080/ ...

This was quite weird because I didn't have this message the first time, and nothing was running with a PID 392 according to the list. I tried to kill it anyway, and now the notebook is opening normally... 


Oh, this would definitely do it.  See also https://github.com/sagemath/sagenb/issues/189 which is not (?) the same thing but undoubtedly related.
Reply all
Reply to author
Forward
0 new messages