millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.46k stars 123 forks source link

Question: Does it work with mybinder? #808

Closed genomorro closed 2 years ago

genomorro commented 2 years ago

Hi.

I'm very new with jupyter notebooks. Currently I'm working with Gitlab and mybinder.org, however, use my web browser as a text editor is not a good idea and json format is not very friendly.

Looking for a better solution, I'm a emacs user, I read some code in this repo but I don't know if it's possible EIN works with Mybinder or similar services (Colab, Cocalc or Datalore) because of login information.

Anybody has tried this kind of config? Thanks.

dickmao commented 2 years ago

I vaguely remember getting it to work with mybinder three years ago, but it wasn't straightforward, and I can only surmise things have progressed to have made it less so.

EIN is largely not usable with these heavy web-centric SaaS's like Colab, etc. And by "usable" I mean "something that doesn't regularly frustrate you." By that definition, though, most emacs things are not usable.

genomorro commented 2 years ago

Ok, thanks.

Just as log info. ein:login doesn't work. *ein:log-all* says:

13:29:12:357: [info] ein:jupyter-process-lines: jupyter exited with status 1 @#<buffer *scratch*>
13:29:17:663: [info] Login to https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6 complete. @#<buffer *scratch*>
13:29:18:668: [warn] notebook version currently unknowable @#<buffer *scratch*>
13:29:19:673: [verbose] Retry kernelspecs #0 in response to nil @#<buffer *scratch*>
13:29:20:677: [verbose] Retry kernelspecs #1 in response to nil @#<buffer *scratch*>
13:29:21:681: [verbose] Retry kernelspecs #2 in response to nil @#<buffer *scratch*>
13:29:22:685: [error] ein:query-kernelspecs--error https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6: ERROR error DATA interrupción
 @#<buffer *scratch*>
13:29:23:692: [verbose] Retry content-query-contents #0 in response to nil @#<buffer *scratch*>
13:29:23:696: [verbose] Retry sessions #0 in response to nil #s(request-response nil nil nil ... timeout "https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6/api/sessions" nil ... #<killed buffer> ...) @#<buffer *scratch*>
13:29:25:200: [verbose] Retry content-query-contents #1 in response to nil @#<buffer *scratch*>
13:29:26:203: [verbose] Retry sessions #1 in response to nil #s(request-response nil nil nil ... timeout "https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6/api/sessions" nil ... #<killed buffer> ...) @#<buffer *scratch*>
13:29:27:206: [verbose] Retry content-query-contents #2 in response to nil @#<buffer *scratch*>
13:29:28:206: [verbose] Retry sessions #2 in response to nil #s(request-response nil nil nil ... timeout "https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6/api/sessions" nil ... #<killed buffer> ...) @#<buffer *scratch*>
13:29:30:711: [error] ein:content-query-contents--error https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6/ REQUEST-STATUS timeout DATA interrupción
 @#<buffer *scratch*>
13:29:30:712: [error] ein:content-query-sessions--error https://hub.gke2.mybinder.org/user/genomorro-unir-python-9md1mvg6: ERROR error DATA interrupción

So, I suppose it's a specific docker config needed.