notebook () - Shell

94 views
Skip to first unread message

Jakub Koreček

unread,
Jun 21, 2015, 9:58:34 AM6/21/15
to sage-s...@googlegroups.com
Hello,

I am very new to SageMath and Virtual machine.

I am using Windows 7 64bit and Oracle Virtual machine. I run Sage 6.7 as is describe at http://wiki.sagemath.org/SageAppliance. My problem is, when I use Host (RCtrl) + F1 i will get to shell. I run sage from shell so far so good.

What i should do to get back to web interface?
RCtrl + F2 do not work (however F7) but no code will be in web interface.

If I run notebook() I have following message


The notebook files are store in:sage_notebook.sagenb
Another server Sage Notebook is running, PID 1497
sage:/usr/bin/xdg-open: line 402: htmlview: command not found
/usr/bin/xdg-open: line 402: firefox: command not found
/usr/bin/xdg-open: line 402: mozilla: command not found
/usr/bin/xdg-open: line 402: netscape: command not found
/usr/bin/xdg-open: line 402: links: command not found
/usr/bin/xdg-open: line 402: lynx: command not found
xdg-open: no method available for opening 'http://localhost:8000/'

Why is does happenig? Because Sage server was shut down?

Thank you very much in advance Jakub

kcrisman

unread,
Jun 22, 2015, 8:43:30 AM6/22/15
to sage-s...@googlegroups.com, jakub.k...@gmail.com
I am using Windows 7 64bit and Oracle Virtual machine. I run Sage 6.7 as is describe at http://wiki.sagemath.org/SageAppliance. My problem is, when I use Host (RCtrl) + F1 i will get to shell. I run sage from shell so far so good.

What i should do to get back to web interface?
RCtrl + F2 do not work (however F7) but no code will be in web interface.


I don't know how to get back to the web interface, but this part of your error shows why you can't open `notebook()`:
Another server Sage Notebook is running, PID 1497

So you hadn't shut down the previous notebook, you just navigated away from it.   Hopefully someone who uses the VM solution can try this out and get you back to the browser.  Can't you just click on the web browser?  (This is a naive question, since I know little about the VM.) 

Volker Braun

unread,
Jun 22, 2015, 9:26:29 AM6/22/15
to sage-s...@googlegroups.com
You get back to the web interface with Right-Ctrl Fn, where n is some number between 1 and 7. Probably F7. I don't understand what you mean by "but no code will be in web interface", you just get back to where you were.
Reply all
Reply to author
Forward
0 new messages