all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Domagoj Stolfa <ds815@gmx.com>
To: 49355@debbugs.gnu.org
Subject: bug#49355: [guix-jupyter] timeout issue running the kernel
Date: Sat, 3 Jul 2021 16:30:36 +0100	[thread overview]
Message-ID: <YOCCnDGOaRLj06mV@pepehands> (raw)

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

Hello:

I've been trying to set up a Jupyter environment with the Guix kernel inside a
guix environment using:

`guix environment --ad-hoc guix-jupyter jupyter -- jupyter notebook`.

Jupyter starts up fine, but when I create an empty notebook with the Guix kernel
it spams Nudge messages in the console, followed by a crash:

```
[W 16:25:40.117 NotebookApp] Nudge: attempt 120 on kernel 14569df8-e4d1-4847-ae1f-c68e13feeed8
[E 16:25:40.479 NotebookApp] Uncaught exception GET /api/kernels/14569df8-e4d1-4847-ae1f-c68e13feeed8/channels?session_id=05319f9c28b3455cad1b9f4fcf9e0e41 (127.0.0.1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels/14569df8-e4d1-4847-ae1f-c68e13feeed8/channels?session_id=05319f9c28b3455cad1b9f4fcf9e0e41', version='HTTP/1.1', remote_ip='127.0.0.1')
    Traceback (most recent call last):
      File "/gnu/store/zkjmzfd8li7p7yaihm9rs617vqq9n5qh-python-tornado-6.1/lib/python3.8/site-packages/tornado/websocket.py", line 956, in _accept_connection
        await open_result
    tornado.util.TimeoutError: Timeout
```

Attempting to run anything in the notebook such as

`;;guix environment matplotlib-env <- python-ipykernel python-numpy python-matplotlib`

simply does nothing. I'm not sure if this is an issue with me misconfiguring
something or if it's actually a bug, but I haven't been able to chase it down
as I don't really understand the internals of Jupyter all that well.

Adding `python-ipykernel` and using a Python kernel works fine.

--
Domagoj

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2021-07-03 15:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 15:30 Domagoj Stolfa [this message]
2021-07-05 20:54 ` bug#49355: [guix-jupyter] timeout issue running the kernel Domagoj Stolfa
2021-07-06  1:31 ` Domagoj Stolfa
2021-07-06 15:48   ` Ludovic Courtès
2021-07-06 16:12     ` Domagoj Stolfa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOCCnDGOaRLj06mV@pepehands \
    --to=ds815@gmx.com \
    --cc=49355@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.