From nobody Wed Oct 19 22:49:40 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mt5X43n2bz4fxYZ for ; Wed, 19 Oct 2022 22:49:40 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mt5X42QgKz3S7k for ; Wed, 19 Oct 2022 22:49:40 +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 4Mt5X41Pyyzghb for ; Wed, 19 Oct 2022 22:49:40 +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 29JMneGB045904 for ; Wed, 19 Oct 2022 22:49:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29JMnexL045903 for ports-bugs@FreeBSD.org; Wed, 19 Oct 2022 22:49:40 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 267212] devel/py-nbconvert 7.2.1 fails to run option --to script Date: Wed, 19 Oct 2022 22:49:40 +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: p5B2EA84B3@t-online.de 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666219780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aFPXKTBXIg1hkE4DQN0QiscVv/KC+7BUdV6td6d0Qlo=; b=SrjpcqrfbBrbvwWDzSPnC/M3RTVZBd0/KoS8rITE0EygR1OULogNEUSsIVUF2F+/UtFXLo NdBY1D/spApNKNnOIH/AV5ilJ8NSQ0ocBwGZUmAMwVSLMfAPLJ3zWNxFKp4X5qx7aBh3St 1ef2BkSsUTAj9nvMiJ2M1w99zGvnOUPlZHB6+WqTZqA/a+1xOIruAaX5ga1kxRnsY7rB47 iBTry9KYH8438hnWwul0tuAr9b2WJXbAe2MTFVZIn3bOihR++N/Pyu3WCMn7pWcoTynmgL jxSKa1vScH6lQAtqOkKc1zUgM88gkpG0ismy8Ee4MW6D262Y+SXkkfUUCvmQ9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666219780; a=rsa-sha256; cv=none; b=VhB1H/pHDOtul37L4SPihfwPY5X4JV54Sna0rioeOi0M71BO0gXivxtlQD6D2qoKNEjyF3 HFgACgDRkH7/j9I0s1W0AZ5EB+F/Alj57gtYLw2tNLxymLwRCvsVQNPm/YrLdIKVjFa0uP zqTeNrgnTWFwnEiiyL0x7gRuhp6EhEf7yLEeWirYJwFSTfeUYA/eJQVnNhWTv/6IBirUN8 V+kF20B2X7r2NaWrKaTMWmOCVwKT75oi+XRdOHZT+S7n2kcKbx/ECd8n+6UUEnnLwfyqq5 bGfknoQR2w//M2Sjr9Eq77+jnUZd3ajVal0KLJH22WioybIo6c8Uvs7Mwovo1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267212 Bug ID: 267212 Summary: devel/py-nbconvert 7.2.1 fails to run option --to script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: p5B2EA84B3@t-online.de Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org > jupyter nbconvert --to script some_notebook.ipynb=20 Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 645, in get value =3D obj._trait_values[self.name] KeyError: 'template_paths' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/jupyter-nbconvert", line 33, in sys.exit(load_entry_point('nbconvert=3D=3D7.2.1', 'console_scripts', 'jupyter-nbconvert')()) File "/usr/local/lib/python3.9/site-packages/jupyter_core/application.py", line 269, in launch_instance return super().launch_instance(argv=3Dargv, **kwargs) File "/usr/local/lib/python3.9/site-packages/traitlets/config/application.py", l= ine 978, in launch_instance app.start() File "/usr/local/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", = line 426, in start self.convert_notebooks() File "/usr/local/lib/python3.9/site-packages/nbconvert/nbconvertapp.py", = line 594, in convert_notebooks cls =3D get_exporter(self.export_format) File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/base.py", line 106, in get_exporter if getattr(exporter(config=3Dconfig), "enabled", True): File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/templateexporte= r.py", line 342, in __init__ super().__init__(config=3Dconfig, **kw) File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/exporter.py", l= ine 118, in __init__ self._init_preprocessors() File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/templateexporte= r.py", line 508, in _init_preprocessors conf =3D self._get_conf() File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/templateexporte= r.py", line 526, in _get_conf for path in map(Path, self.template_paths): File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 686, in __get__ return self.get(obj, cls) File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 648, in get default =3D obj.trait_defaults(self.name) File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 1752, in trait_defaults return self._get_trait_default_generator(names[0])(self) File "/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py", line 1132, in __call__ return self.func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/templateexporte= r.py", line 537, in _template_paths template_names =3D self.get_template_names() File "/usr/local/lib/python3.9/site-packages/nbconvert/exporters/templateexporte= r.py", line 621, in get_template_names raise ValueError( ValueError: No template sub-directory with name 'script' found in the follo= wing paths: /home/user/.local/share/jupyter /usr/local/share/jupyter /usr/share/jupyter The last ipynb to py conversion (--to script) here was done 2022-07-08 so a version after that introduced this bug. --=20 You are receiving this mail because: You are the assignee for the bug.=