I was able to install sagecell according to the Installation
instructions at https://github.com/sagemath/sagecell
with 2 differences: in step 2 I didn't source sage from github, but used a 9.6 version of sage compiled from source, and in step 4 I passed the argument -B to make to force rebuild. The installation has completed successfully.
(As I work on a private and firewalled server, I didn't set up any ssh account/keys for now and I didn't change anything in config.py, web_server.py or log.py files, but left them as they were originally.) Launching sagecell as in Step 5
$ ../sage/sage-9.6/sage web_server.py -p 8888 &
produced the error posted below.
and then proceeded directly to Step 5 of Configuration as I did (i.e, without setting up ssh or changing anything in config.py or log.py) and he could launch the sagecell server with no errors.
Could anyone advise me on where my error could come from and how can try to fix it? Something is wrong with tornado (first warning, current loop missing) and paramiko (last warning)... But I have no idea what the problem could be.
Thanks a lot!
varvara@zage:~/sagecell$ /home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/tornado/ioloop.py:263: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/tornado/platform/asyncio.py:279: DeprecationWarning: There is no current event loop
/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py:101: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
self.io_loop = io_loop or IOLoop.current()
Traceback (most recent call last):
File "/home/varvara/sagecell/web_server.py", line 147, in <module>
app = SageCellServer(args.baseurl, args.dir)
File "/home/varvara/sagecell/web_server.py", line 79, in __init__
start_providers(self.kernel_dealer.port, config.get("providers"), dir)
File "/home/varvara/sagecell/web_server.py", line 39, in start_providers
File "/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/paramiko/client.py", line 435, in connect
File "/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/paramiko/client.py", line 766, in _auth
File "/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/paramiko/client.py", line 742, in _auth
File "/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/paramiko/transport.py", line 1635, in auth_publickey
File "/home/varvara/sage/sage-9.6/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/paramiko/auth_handler.py", line 259, in wait_for_response
paramiko.ssh_exception.AuthenticationException: Authentication failed.