From owner-freebsd-ports-bugs@freebsd.org Sun Sep 27 12:36:23 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B38D3FAF41 for ; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BzlWW2GpWz3TmL for ; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4DF103FAAEF; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DB8C3FAAEE for ; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BzlWW1Rhsz3TRY for ; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 10D90CEB5 for ; Sun, 27 Sep 2020 12:36:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08RCaMk1058605 for ; Sun, 27 Sep 2020 12:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08RCaMgo058604 for ports-bugs@FreeBSD.org; Sun, 27 Sep 2020 12:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 249936] www/py-notebook: not working in jail, "Kernel starting, please wait..." Date: Sun, 27 Sep 2020 12:36:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: leonardo.rame@informemedico.com.ar X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2020 12:36:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249936 Bug ID: 249936 Summary: www/py-notebook: not working in jail, "Kernel starting, please wait..." Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: leonardo.rame@informemedico.com.ar Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org Hi, I'm trying to run py37-notebook-6.0.3_2 on a FreeBSD 12.1 Jail. I've be= en trying to make it work since more than a week ago without success. I installed it first using `pkg install` and when I found this problem I tr= ied with `pip3 install ....`, but both methods ends with the same problem. After installing and making some changes in the config file `/home/jupyter/.jupyter/jupyter_notebook_config.py` I can open it from a web browser. The changes are these: c.NotebookApp.ip =3D'*' c.NotebookApp.open_browser =3D False c.NotebookApp.notebook_dir =3D '/tmp' c.NotebookApp.port =3D 8888 I can point from another machine using `http://192.168.0.111:8888`, and get this: So everything seems to be working...until I try do execute a simple calc li= ke `1+1` or `print("hello world")`. When I do that and press ctrl+r there's a `Kernel starting, please wait...`, and after a while, in the serv= er's console there's this: [I 16:23:09.145 NotebookApp] Creating new notebook in=20 /usr/local/lib/python3.7/site-packages/jupyter_client/connect.py:164: RuntimeWarning: Failed to set sticky bit on '/usr/home/jupyter/.local/share/jupyter/runtime/kernel-67e1b082-cc4e-4b25-b= 5a5-a38d13fd717f.json': [Errno 79] Inappropriate file type or format: '/usr/home/jupyter/.local/share/jupyter/runtime/kernel-67e1b082-cc4e-4b25-b= 5a5-a38d13fd717f.json' Probably not a big deal, but runtime files may be cleaned up periodically. RuntimeWarning, [I 16:23:10.143 NotebookApp] Kernel started: 67e1b082-cc4e-4b25-b5a5-a38d13fd717f [W 16:23:10.192 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=3D20200926161340 (192.168.= 0.110) 0.99ms referer=3Dhttp://192.168.0.111:8888/notebooks/Untitled4.ipynb?kernel_name= =3Dpython3 /usr/local/lib/python3.7/site-packages/jupyter_client/connect.py:164: RuntimeWarning: Failed to set sticky bit on '/usr/home/jupyter/.local/share/jupyter/runtime/kernel-67e1b082-cc4e-4b25-b= 5a5-a38d13fd717f.json': [Errno 79] Inappropriate file type or format: '/usr/home/jupyter/.local/share/jupyter/runtime/kernel-67e1b082-cc4e-4b25-b= 5a5-a38d13fd717f.json' Probably not a big deal, but runtime files may be cleaned up periodically. RuntimeWarning, [I 16:23:17.731 NotebookApp] Saving file at /Untitled3.ipynb [W 16:23:31.238 NotebookApp] Replacing stale connection: 67e1b082-cc4e-4b25-b5a5-a38d13fd717f:f20bd23a2dc0450c8f9db79d7eb82a33 [W 16:23:54.305 NotebookApp] Replacing stale connection: 67e1b082-cc4e-4b25-b5a5-a38d13fd717f:f20bd23a2dc0450c8f9db79d7eb82a33 [W 16:24:10.227 NotebookApp] Timeout waiting for kernel_info reply from 67e1b082-cc4e-4b25-b5a5-a38d13fd717f [I 16:24:10.234 NotebookApp] Starting buffering for 67e1b082-cc4e-4b25-b5a5-a38d13fd717f:f20bd23a2dc0450c8f9db79d7eb82a33 [I 16:24:10.235 NotebookApp] Restoring connection for 67e1b082-cc4e-4b25-b5a5-a38d13fd717f:f20bd23a2dc0450c8f9db79d7eb82a33 [jupyter@jupyterlab ~]$ jupyter --version jupyter core : 4.6.3 jupyter-notebook : 6.0.3 qtconsole : not installed ipython : 7.16.1 ipykernel : 5.3.0 jupyter client : 6.1.3 jupyter lab : not installed nbconvert : 5.6.1 ipywidgets : not installed nbformat : 5.0.7 traitlets : 4.3.3 By searching on the web I found others have a similar issue with `tornado 6= `, but this installation is running `py37-tornado-5.1.1` which is installed automatically by `pkg install notebook`. Can anyone help me with this? --=20 You are receiving this mail because: You are the assignee for the bug.=