X-Loop: help-debbugs@HIDDEN Subject: bug#52350: pypi import: ungraceful exit when recursively importing unknown package Resent-From: Ricardo Wurmus <rekado@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 07 Dec 2021 11:28:02 +0000 Resent-Message-ID: <handler.52350.B.163887646223500 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 52350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52350 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.163887646223500 (code B ref -1); Tue, 07 Dec 2021 11:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2021 11:27:42 +0000 Received: from localhost ([127.0.0.1]:36481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1muYdJ-00066y-JC for submit <at> debbugs.gnu.org; Tue, 07 Dec 2021 06:27:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:37732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1muYdG-00066p-9k for submit <at> debbugs.gnu.org; Tue, 07 Dec 2021 06:27:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rekado@HIDDEN>) id 1muYdG-0008Jy-3R for bug-guix@HIDDEN; Tue, 07 Dec 2021 06:27:38 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rekado@HIDDEN>) id 1muYdE-0006Vv-2B for bug-guix@HIDDEN; Tue, 07 Dec 2021 06:27:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638876450; cv=none; d=zohomail.com; s=zohoarc; b=au3gH9kesCZ+8cFtpp3GJ0lxm+0TL4OsJJep8k3Sh8rZ2CbQW+vfyhWOpTF5aBm07Fzg2DKW29gFPgkbdJHE2OJq4QpcQxs6VctKs/7skjU6DWh1hqzH47LTToLfVyPgc1Hp3ZgbZCzX8AdyICsvSZ4FdR2f42ob0btl/5gK1C8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638876450; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=Nw7ETmt+OPFJ8HzlBlNyw8gj5qFDhFXA94hsgkGDTJQ=; b=bwrvWT3P3dangrzMtMHMcxsIgg0LzygjqV1o1BUIoM39eVhN9neueT+CDvXGwazU+lh9fPsJptRzRSJOrhArvvE22ehBOCZLfAYbVLxlVkxZBt9r+QahV1g3bjcC9Y/eHSFvemLDrkOqKCk/zl7Uvlmzgdwm/R2AsKrvtIBDK3g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638876450; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Nw7ETmt+OPFJ8HzlBlNyw8gj5qFDhFXA94hsgkGDTJQ=; b=hhF6TaDfLPyUAaO7lgnZFMgHE+emGwnhUnjBYoko1ywbGgSEg1NVQ6YzcE9NAfNy p1ZkbasCHwvNdD54CIKJ4h/sC8n2zhET5Wk86blEaJwWCoSxJaeaFn1ph3rRwq0QMFB NYyfGHD4MSYlBsXDo2GMUIseximBECx5h0s1S3FU= Received: from localhost (p54ad4c9a.dip0.t-ipconnect.de [84.173.76.154]) by mx.zohomail.com with SMTPS id 1638876449205638.5215320842925; Tue, 7 Dec 2021 03:27:29 -0800 (PST) User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus <rekado@HIDDEN> Date: Tue, 07 Dec 2021 11:26:17 +0000 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87ee6oven6.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@HIDDEN; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) When using the pypi importer, a typo in the package name leads to an ugly backtrace: --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix import pypi -r pytestrerunfailures following redirection to `https://pypi.org/pypi/pytestrerunfailures/json/'.= .. Backtrace: In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 8 (apply-smob/0 #<thunk 7f3f0d996f60>) In ice-9/boot-9.scm: 724:2 7 (call-with-prompt _ _ #<procedure default-prompt-handler (k pr= oc)>) In ice-9/eval.scm: 619:8 6 (_ #(#(#<directory (guile-user) 7f3f0d990c80>))) In guix/ui.scm: 2206:7 5 (run-guix . _) 2169:10 4 (run-guix-command _ . _) In guix/scripts/import.scm: 124:11 3 (guix-import . _) In guix/scripts/import/pypi.scm: 96:18 2 (guix-import-pypi . _) In guix/import/utils.scm: 498:27 1 (recursive-import "pytestrerunfailures" #:repo->guix-package _= #:guix-name _ =E2=80=A6) 488:33 0 (lookup-node "pytestrerunfailures" #f) guix/import/utils.scm:488:33: In procedure lookup-node: Wrong number of values returned to continuation (expected 2) --8<---------------cut here---------------end--------------->8--- --=20 Ricardo
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ricardo Wurmus <rekado@HIDDEN> Subject: bug#52350: Acknowledgement (pypi import: ungraceful exit when recursively importing unknown package) Message-ID: <handler.52350.B.163887646223500.ack <at> debbugs.gnu.org> References: <87ee6oven6.fsf@HIDDEN> X-Gnu-PR-Message: ack 52350 X-Gnu-PR-Package: guix Reply-To: 52350 <at> debbugs.gnu.org Date: Tue, 07 Dec 2021 11:28:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 52350 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 52350: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52350 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.