korniichuk / rk

The remote Jupyter kernel/kernels administration utility
http://www.korniichuk.com
The Unlicense
54 stars 18 forks source link

UnicodeDecodeError when attempting to launch remote anaconda ipython 3 kernel on win64 #7

Open user32000 opened 8 years ago

user32000 commented 8 years ago

@korniichuk any thoughts what's going wrong here?

Michaels-MacBook:~ michael$ jupyter notebook [I 09:56:43.382 NotebookApp] Serving notebooks from local directory: /Users/michael [I 09:56:43.382 NotebookApp] 0 active kernels [I 09:56:43.382 NotebookApp] The IPython Notebook is running at: http://localhost:8888/ [I 09:56:43.382 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 09:56:57.407 NotebookApp] Creating new notebook in [I 09:56:58.257 NotebookApp] Kernel started: 8cab0703-0950-4334-96c6-334f3a3f2d56 [W 09:56:58.362 NotebookApp] 404 GET /kernelspecs/desktop%20ipython%203/logo-64x64.png (::1) 31.53ms referer=http://localhost:8888/notebooks/Untitled3.ipynb?kernel_name=desktop%20ipython%203 Traceback (most recent call last): File "/Applications/anaconda/bin/rkscript", line 230, in paramiko_tunnel(v, remote_ports[k], remote_username_at_remote_host) File "/Applications/anaconda/lib/python2.7/site-packages/rk/ssh/tunnel.py", line 320, in paramiko_tunnel if not _try_passwordless_paramiko(server, keyfile): File "/Applications/anaconda/lib/python2.7/site-packages/rk/ssh/tunnel.py", line 118, in _try_passwordless_paramiko client.load_system_host_keys() File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/client.py", line 101, in load_system_host_keys self._system_host_keys.load(filename) File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/hostkeys.py", line 101, in load e = HostKeyEntry.from_line(line, lineno) File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/hostkeys.py", line 331, in from_line key = RSAKey(data=decodebytes(key)) File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/rsakey.py", line 64, in init if msg.get_text() != 'ssh-rsa': File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/message.py", line 186, in get_text return u(self.get_bytes(self.get_int())) File "/Applications/anaconda/lib/python2.7/site-packages/paramiko/py3compat.py", line 53, in u return s.decode(encoding) File "/Applications/anaconda/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xf7 in position 1: invalid start byte [1437] Warning: unhandled RemoteError: Traceback (most recent call last): File "", line 1072, in executetask File "", line 1, in do_exec File "", line 66, in File "D:\Users\Michael\Anaconda3\lib\site-packages\traitlets\config\application.py", line 587, in launch_instance app = cls.instance(kwargs) File "D:\Users\Michael\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 415, in instance '%s are being created.' % cls.name** traitlets.config.configurable.MultipleInstanceError: Multiple incompatible subclass instances of IPKernelApp are being created.

[W 09:57:08.386 NotebookApp] Timeout waiting for kernel_info reply from 8cab0703-0950-4334-96c6-334f3a3f2d56 [I 09:57:10.257 NotebookApp] KernelRestarter: restarting kernel (1/5) WARNING:root:kernel 8cab0703-0950-4334-96c6-334f3a3f2d56 restarted ^C[I 09:57:13.542 NotebookApp] interrupted Serving notebooks from local directory: /Users/michael 1 active kernels The IPython Notebook is running at: http://localhost:8888/ Shutdown this notebook server (y/[n])? y [C 09:57:14.778 NotebookApp] Shutdown confirmed [I 09:57:14.779 NotebookApp] Shutting down kernels [I 09:57:15.825 NotebookApp] Kernel shutdown: 8cab0703-0950-4334-96c6-334f3a3f2d56