From unknown Sun Jun 22 00:02:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36463 <36463@debbugs.gnu.org> To: bug#36463 <36463@debbugs.gnu.org> Subject: Status: jupyter terminal out of pty devices Reply-To: bug#36463 <36463@debbugs.gnu.org> Date: Sun, 22 Jun 2025 07:02:50 +0000 retitle 36463 jupyter terminal out of pty devices reassign 36463 guix submitter 36463 Steffen Rytter Postas severity 36463 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 17:32:45 2019 Received: (at submit) by debbugs.gnu.org; 1 Jul 2019 21:32:45 +0000 Received: from localhost ([127.0.0.1]:46185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hi3um-0000pW-2m for submit@debbugs.gnu.org; Mon, 01 Jul 2019 17:32:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:54748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hi3bZ-0000Jf-EI for submit@debbugs.gnu.org; Mon, 01 Jul 2019 17:12:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50947) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi3Rz-0002mw-II for bug-guix@gnu.org; Mon, 01 Jul 2019 17:03:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,RDNS_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi3Rr-0002ko-DR for bug-guix@gnu.org; Mon, 01 Jul 2019 17:02:53 -0400 Received: from [31.7.186.173] (port=40312 helo=necrophcodr.me) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hi3Rp-0001WA-8q for bug-guix@gnu.org; Mon, 01 Jul 2019 17:02:50 -0400 Received: from [192.168.22.110] (static-89-239-193-119.ip.fibianet.dk [89.239.193.119]) by necrophcodr.me (Postfix) with ESMTPSA id A4CE592A0C1C for ; Mon, 1 Jul 2019 22:54:22 +0200 (CEST) To: bug-guix@gnu.org From: Steffen Rytter Postas Subject: jupyter terminal out of pty devices Openpgp: preference=signencrypt Message-ID: <618e32ff-190e-7746-cd4f-88ad13149041@scalehost.eu> Date: Mon, 1 Jul 2019 22:54:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 31.7.186.173 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 01 Jul 2019 17:32:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi, I've been having a few issues with the Jupyter package. First and foremost, this is my first time trying it out with Guix. Previously I have had it running using Docker, but I prefer the modularity and programmability of Guix, not to mention the rest of the amazing concepts it brings. However, nothing is perfect, and as we'll see here, that is indeed true. Let it be known that I've tested this on my desktop and on my work laptop= . On my desktop, I've had no issues getting it running, but the terminal functionality does not work at all, for several reasons. There may very well be another issue, that I've yet to reproduce, but the above I can reproduce easily on my machines. Both environments use the same command to execute, and are using `guix environment` to start the Jupyter notebook system: `LC_ALL=3DC guix environment -C -N --pure -m env.scm -- jupyter-notebook` The `env.scm` file used, is as follows: (define-packages '( =C2=A0=C2=A0=C2=A0 "glibc-utf8-locales" =C2=A0=C2=A0=C2=A0 "coreutils-minimal" =C2=A0=C2=A0=C2=A0 "bash" =C2=A0=C2=A0=C2=A0 "python" =C2=A0=C2=A0=C2=A0 "jupyter" =C2=A0=C2=A0=C2=A0 )) (use-modules (gnu packages)) (packages->manifest (map specification->package packages)) You may notice that Python is mentioned as an explicit package, along with coreutils-minimal. These are BOTH workarounds, to even get to the bugs, mentioned above. Without python, running the notebook yields the following error: pkg_resources.DistributionNotFound: The 'six' distribution was not found and is required by traitlets However, I have not been able to reproduce this anywhere. I do believe this is a bug though. Setting python to be a required package gets me past the above error, however removing python does NOT re-introduce the error on any of my systems. Without coreutils-minimal, opening the terminal yields the following erro= r: [E 18:40:08.400 NotebookApp] Uncaught exception POST /api/terminals (127.0.0.1) =C2=A0=C2=A0=C2=A0 HTTPServerRequest(protocol=3D'http', host=3D'localhost= :8888', method=3D'POST', uri=3D'/api/terminals', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') =C2=A0=C2=A0=C2=A0 Traceback (most recent call last): =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/varva2qk8sdmy68hm05cfk2vxdczzzhf-python-tornado-5.1.1/lib/pyt= hon3.7/site-packages/tornado/web.py", line 1590, in _execute =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 result =3D method(*self.path_a= rgs, **self.path_kwargs) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/varva2qk8sdmy68hm05cfk2vxdczzzhf-python-tornado-5.1.1/lib/pyt= hon3.7/site-packages/tornado/web.py", line 3006, in wrapper =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return method(self, *args, **k= wargs) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/zgx9l5mypyh70ywn55rjrr085pyzs61z-python-notebook-5.7.4/lib/py= thon3.7/site-packages/notebook/terminal/api_handlers.py", line 16, in post =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 name, _ =3D self.terminal_mana= ger.new_named_terminal() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/mna9g0khcz20bpdknh65qq1bzm6rrp18-python-terminado-0.8.1/lib/p= ython3.7/site-packages/terminado/management.py", line 319, in new_named_terminal =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 term =3D self.new_terminal() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/mna9g0khcz20bpdknh65qq1bzm6rrp18-python-terminado-0.8.1/lib/p= ython3.7/site-packages/terminado/management.py", line 171, in new_terminal =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pty =3D PtyProcessUnicode.spaw= n(argv, env=3Denv, cwd=3Doptions.get('cwd', None)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/fj5idczwb1s908b55z6jl64xmagcygva-python-ptyprocess-0.5.2/lib/= python3.7/site-packages/ptyprocess/ptyprocess.py", line 205, in spawn =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 command_with_path =3D which(co= mmand) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/s= hutil.py", line 1129, in which =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if os.path.dirname(cmd): =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= osixpath.py", line 156, in dirname =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 p =3D os.fspath(p) =C2=A0=C2=A0=C2=A0 TypeError: expected str, bytes or os.PathLike object, = not NoneType [W 18:40:08.402 NotebookApp] Unhandled error At this point I assumed this was due to missing the `which(1)` command, or at least some command missing, causing the above codepaths to return None. Adding coreutils-minimal gets me a slight bit further, and removing coreutils-minimal DOES re-introduce the error as well. However, at this point, Jupyter notebook "works". The script editing, the interface, all of this works. Opening the terminal however, now yields the following error: [E 18:56:52.376 NotebookApp] Uncaught exception POST /api/terminals (127.0.0.1) =C2=A0=C2=A0=C2=A0 HTTPServerRequest(protocol=3D'http', host=3D'localhost= :8888', method=3D'POST', uri=3D'/api/terminals', version=3D'HTTP/1.1', remote_ip=3D'127.0.0.1') =C2=A0=C2=A0=C2=A0 Traceback (most recent call last): =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/varva2qk8sdmy68hm05cfk2vxdczzzhf-python-tornado-5.1.1/lib/pyt= hon3.7/site-packages/tornado/web.py", line 1590, in _execute =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 result =3D method(*self.path_a= rgs, **self.path_kwargs) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/varva2qk8sdmy68hm05cfk2vxdczzzhf-python-tornado-5.1.1/lib/pyt= hon3.7/site-packages/tornado/web.py", line 3006, in wrapper =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return method(self, *args, **k= wargs) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/zgx9l5mypyh70ywn55rjrr085pyzs61z-python-notebook-5.7.4/lib/py= thon3.7/site-packages/notebook/terminal/api_handlers.py", line 16, in post =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 name, _ =3D self.terminal_mana= ger.new_named_terminal() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/mna9g0khcz20bpdknh65qq1bzm6rrp18-python-terminado-0.8.1/lib/p= ython3.7/site-packages/terminado/management.py", line 319, in new_named_terminal =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 term =3D self.new_terminal() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/mna9g0khcz20bpdknh65qq1bzm6rrp18-python-terminado-0.8.1/lib/p= ython3.7/site-packages/terminado/management.py", line 171, in new_terminal =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pty =3D PtyProcessUnicode.spaw= n(argv, env=3Denv, cwd=3Doptions.get('cwd', None)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/fj5idczwb1s908b55z6jl64xmagcygva-python-ptyprocess-0.5.2/lib/= python3.7/site-packages/ptyprocess/ptyprocess.py", line 222, in spawn =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pid, fd =3D pty.fork() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", line 96, in fork =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 master_fd, slave_fd =3D openpt= y() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", line 29, in openpty =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 master_fd, slave_name =3D _ope= n_terminal() =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", line 59, in _open_terminal =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 raise OSError('out of pty devi= ces') =C2=A0=C2=A0=C2=A0 OSError: out of pty devices [W 18:56:52.377 NotebookApp] Unhandled error So it seems that there's an issue with pty devices when running these systems as a container. Sincerely, Steffen Rytter Postas From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 05 18:28:45 2019 Received: (at 36463-done) by debbugs.gnu.org; 5 Jul 2019 22:28:45 +0000 Received: from localhost ([127.0.0.1]:53918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjWh8-0005Pd-SQ for submit@debbugs.gnu.org; Fri, 05 Jul 2019 18:28:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjWh5-0005PQ-S5 for 36463-done@debbugs.gnu.org; Fri, 05 Jul 2019 18:28:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hjWgz-0004hs-Rw; Fri, 05 Jul 2019 18:28:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52484 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hjWgy-0006zh-Hv; Fri, 05 Jul 2019 18:28:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Steffen Rytter Postas Subject: Re: bug#36463: jupyter terminal out of pty devices References: <618e32ff-190e-7746-cd4f-88ad13149041@scalehost.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 06 Jul 2019 00:28:31 +0200 In-Reply-To: <618e32ff-190e-7746-cd4f-88ad13149041@scalehost.eu> (Steffen Rytter Postas's message of "Mon, 1 Jul 2019 22:54:22 +0200") Message-ID: <87ftnkglps.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36463-done Cc: 36463-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Steffen Rytter Postas skribis: > Both environments use the same command to execute, and are using `guix > environment` to start the Jupyter notebook system: > > `LC_ALL=3DC guix environment -C -N --pure -m env.scm -- jupyter-notebook` > > The `env.scm` file used, is as follows: > > > (define-packages '( > =C2=A0=C2=A0=C2=A0 "glibc-utf8-locales" > =C2=A0=C2=A0=C2=A0 "coreutils-minimal" > =C2=A0=C2=A0=C2=A0 "bash" > =C2=A0=C2=A0=C2=A0 "python" > =C2=A0=C2=A0=C2=A0 "jupyter" > =C2=A0=C2=A0=C2=A0 )) > (use-modules (gnu packages)) > (packages->manifest (map specification->package packages)) Without =E2=80=98-C=E2=80=99, the Jupyter terminal is indeed working for me: guix environment --ad-hoc jupyter python-ipython python-ipykernel \ bash coreutils --pure -- jupyter notebook (Though for some reason IceCat displays white boxes instead of the actual characters in the terminal, unless I zoom in or out. But that=E2=80= =99s another problem=E2=80=A6) > "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", > line 96, in fork > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 master_fd, slave_fd =3D openpt= y() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File > "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", > line 29, in openpty > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 master_fd, slave_name =3D _ope= n_terminal() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 File > "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/p= ty.py", > line 59, in _open_terminal > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 raise OSError('out of pty devi= ces') > =C2=A0=C2=A0=C2=A0 OSError: out of pty devices > [W 18:56:52.377 NotebookApp] Unhandled error > > So it seems that there's an issue with pty devices when running these > systems as a container. I could reproduce the problem, and AFAICS commit 935e79af61f4d903e562362cdd828be807e15581 fixes it. Let me know if it=E2=80=99s all fine now! Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 05 22:58:42 2019 Received: (at 36463-done) by debbugs.gnu.org; 6 Jul 2019 02:58:42 +0000 Received: from localhost ([127.0.0.1]:54048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjauP-0007lG-V0 for submit@debbugs.gnu.org; Fri, 05 Jul 2019 22:58:42 -0400 Received: from [31.7.186.173] (port=47254 helo=necrophcodr.me) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjXxk-0007hF-4h for 36463-done@debbugs.gnu.org; Fri, 05 Jul 2019 19:49:57 -0400 Received: from [192.168.22.110] (static-89-239-193-119.ip.fibianet.dk [89.239.193.119]) by necrophcodr.me (Postfix) with ESMTPSA id AA81992A16C8; Sat, 6 Jul 2019 01:49:54 +0200 (CEST) Subject: Re: bug#36463: jupyter terminal out of pty devices To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <618e32ff-190e-7746-cd4f-88ad13149041@scalehost.eu> <87ftnkglps.fsf@gnu.org> From: Steffen Rytter Postas Openpgp: preference=signencrypt Message-ID: <391e2b54-3c28-6ed9-5d0a-5997553339fa@scalehost.eu> Date: Sat, 6 Jul 2019 01:49:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <87ftnkglps.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Ludo, I can confirm that commit 935e79af61f4d903e562362cdd828be807e15581 does indeed resolve the issue entirely. Thank you so much for the quick response and action! Den 06/07/2019 kl. 00.28 skrev Ludovic Courtès: > Hello, > > Steffen Rytter Postas skribis: > >> Both environments use the same command to execute, and are using `guix >> environmen [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: pty.py] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 36463-done X-Mailman-Approved-At: Fri, 05 Jul 2019 22:58:40 -0400 Cc: 36463-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hi Ludo, I can confirm that commit 935e79af61f4d903e562362cdd828be807e15581 does indeed resolve the issue entirely. Thank you so much for the quick response and action! Den 06/07/2019 kl. 00.28 skrev Ludovic Courtès: > Hello, > > Steffen Rytter Postas skribis: > >> Both environments use the same command to execute, and are using `guix >> environment` to start the Jupyter notebook system: >> >> `LC_ALL=C guix environment -C -N --pure -m env.scm -- jupyter-notebook` >> >> The `env.scm` file used, is as follows: >> >> >> (define-packages '( >>     "glibc-utf8-locales" >>     "coreutils-minimal" >>     "bash" >>     "python" >>     "jupyter" >>     )) >> (use-modules (gnu packages)) >> (packages->manifest (map specification->package packages)) > Without ‘-C’, the Jupyter terminal is indeed working for me: > > guix environment --ad-hoc jupyter python-ipython python-ipykernel \ > bash coreutils --pure -- jupyter notebook > > (Though for some reason IceCat displays white boxes instead of the > actual characters in the terminal, unless I zoom in or out. But that’s > another problem…) > >> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/pty.py", >> line 96, in fork >>         master_fd, slave_fd = openpty() >>       File >> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/pty.py", >> line 29, in openpty >>         master_fd, slave_name = _open_terminal() >>       File >> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/pty.py", >> line 59, in _open_terminal >>         raise OSError('out of pty devices') >>     OSError: out of pty devices >> [W 18:56:52.377 NotebookApp] Unhandled error >> >> So it seems that there's an issue with pty devices when running these >> systems as a container. > I could reproduce the problem, and AFAICS commit > 935e79af61f4d903e562362cdd828be807e15581 fixes it. > > Let me know if it’s all fine now! > > Thanks, > Ludo’. > From unknown Sun Jun 22 00:02:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Aug 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator