The sage notebook does not show results

54 views
Skip to first unread message

Oscar Lazo

unread,
Sep 1, 2015, 3:30:08 PM9/1/15
to sage-support

Hello Sage people!

I am setting up a sage notebook server at my research institute to showcase software I have been writing in atomic physics. So I followed the instructions in

http://wiki.sagemath.org/SageServer

and now I can point the browser of a computer within the institute to the local static ip and I see the sage notebook as expected. The problem is that although I could create a new account, and notebooks, when I type in a cell say:

2+2

the notebook waits a little while and then shows no result. The corresponding message in the notebook terminal is

2015-09-01 14:20:37-0500 [HTTPChannel,13,127.0.0.1]
2015-09-01 14:20:37-0500 [HTTPChannel,13,127.0.0.1]
2015-09-01 14:20:49-0500 [HTTPChannel,8,127.0.0.1] got EOF subprocess must have crashed...
2015-09-01 14:20:49-0500 [HTTPChannel,8,127.0.0.1]
2015-09-01 14:20:49-0500 [HTTPChannel,8,127.0.0.1] Permission denied (publickey,password).

what is wrong?

Thank you very much!

Oscar Lazo.

kcrisman

unread,
Sep 1, 2015, 3:35:12 PM9/1/15
to sage-support, sage-n...@googlegroups.com
I'm cc:ing to sage-notebook as well.  Sorry that I can't help but it does seem to be a permissions thing.  What happens if you start a new worksheet and then just try to save it, or to start a new worksheet, make a *text* cell change, and then save it?

Oscar Lazo

unread,
Sep 1, 2015, 3:42:08 PM9/1/15
to sage-s...@googlegroups.com
That seems to work without a problem. I even wrote some rich text without problem. I saved and quit the worksheet and when I reopened it, the text was still there.

Oscar.

--
You received this message because you are subscribed to a topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/I4uk2EbO6q4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

kcrisman

unread,
Sep 1, 2015, 3:48:32 PM9/1/15
to sage-support, sage-n...@googlegroups.com

That seems to work without a problem. I even wrote some rich text without problem. I saved and quit the worksheet and when I reopened it, the text was still there.



Okay, then it's almost certainly some kind of permissions thing (of what nature I dare not guess) with respect to computation, not sagenb per se, but rather wherever the computations are happening.

Jori Mäntysalo

unread,
Sep 1, 2015, 11:56:50 PM9/1/15
to sage-support
On Tue, 1 Sep 2015, Oscar Lazo wrote:

> I am setting up a sage notebook server at my research institute to showcase
> software I have been writing in atomic physics. So I followed the
> instructions in
>
> http://wiki.sagemath.org/SageServer

Point 6 says "I don't thing the following sudo syntax works anymore. I
had to do this by hand now." Did you do that?

> 2+2
>
> the notebook waits a little while and then shows no result.

> 2015-09-01 14:20:49-0500 [HTTPChannel,8,127.0.0.1] Permission denied
> (publickey,password).

What happened on point 7 of instructions? If it worked, have you tried it
with accounts sage1, sage2 and so on?

I would also, for a start, change

server_pool=['sage%d@localhost'%i for i in range(10)]

to just

server_pool=['sage0@localhost']

--
Jori Mäntysalo

Oscar Lazo

unread,
Sep 2, 2015, 11:49:08 AM9/2/15
to sage-support
Point 6 says "I don't thing the following sudo syntax works anymore. I
had to do this by hand now." Did you do that?


I wouldn't know how to do that, but it ran smoothly, asked me for a path to place the key, a passphrase and it all worked seemingly fine.

What happened on point 7 of instructions? If it worked, have you tried it
with accounts sage1, sage2 and so on?


This did not work at all. It asked me for sage0's password, though I did not think it had one. I tried with oscarlazo's password which has root powers, but that didn't work either.

oscarlazo@VIDEO-AF:~$ sudo -u sageserver ssh sage0@localhost echo Done
sage0@localhost's password:
Permission denied, please try again.
sage0@localhost's password:
Permission denied, please try again.
sage0@localhost's password:
Permission denied (publickey,password).

 How could the sage0, sage1,... passwords be changed?

Thank you!

Oscar
Reply all
Reply to author
Forward
0 new messages