Hello, 

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. 


Afterwards, I tried to launch the sagecell server directly according to the 
Step 5 of *Configuration *instructions from 
https://github.com/sagemath/sagecell  .

(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.

The surprising part is, a colleague of mine was able to follow the 
*Installation* instructions of sagecell from  
https://github.com/sagemath/sagecell  some time ago 
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!



 
*ERROR* 
---------------
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
  super().initialize(asyncio.get_event_loop(), **kwargs)
/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
    client.connect(config["host"], username=config["username"])
  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
    self._auth(
  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
    raise saved_exception
  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
    self._transport.auth_publickey(username, key)
  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
    return self.auth_handler.wait_for_response(my_event)
  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
    raise e
paramiko.ssh_exception.AuthenticationException: Authentication failed.
----------------------------------


-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/610d1253-9997-452e-b1bf-4740f092ad87n%40googlegroups.com.

Reply via email to