From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kMm+I01Fr2HR6QAAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 12:28:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wHh6H01Fr2FMSgAAbx9fmQ (envelope-from ) for ; Tue, 07 Dec 2021 11:28:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55A4B34E07 for ; Tue, 7 Dec 2021 12:28:13 +0100 (CET) Received: from localhost ([::1]:36166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muYdn-0008PR-Ch for larch@yhetil.org; Tue, 07 Dec 2021 06:28:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muYde-0008PA-Pf for bug-guix@gnu.org; Tue, 07 Dec 2021 06:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muYde-0006YN-IL for bug-guix@gnu.org; Tue, 07 Dec 2021 06:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muYde-00067c-FY for bug-guix@gnu.org; Tue, 07 Dec 2021 06:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52350: pypi import: ungraceful exit when recursively importing unknown package Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Dec 2021 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52350@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1muYdJ-00066y-JC for submit@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 ) id 1muYdG-00066p-9k for submit@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 ) id 1muYdG-0008Jy-3R for bug-guix@gnu.org; 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 ) id 1muYdE-0006Vv-2B for bug-guix@gnu.org; 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@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638876450; s=zoho; d=elephly.net; i=rekado@elephly.net; 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 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@elephly.net> 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@elephly.net; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638876493; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Nw7ETmt+OPFJ8HzlBlNyw8gj5qFDhFXA94hsgkGDTJQ=; b=jqecUa6KzgaCgCDW1sKVEgoDrdoKCIKsOOg2QadUoGI+3r+3ymomhQDIBjIOpPTcU6LSjD SzGFyv96E76WXoHet8wDeazA0ozXOEZ0/+W7iyoGgOPkfyvvGF20qHnIGIuAjO0Izne8Y2 Yw4HDC3Wtq9DxYOWovzSMsbcUYqvJgBlf5z1bz/rHOR9gIhp5J50F3s8Z6tggTeJ/1kcMX 9vsDjf8zBgLUSYBKz8M836r9eY5Djx2rOoK/IuT+JSalzkzoA5g04kTgUh/azaQ5lJly2m nRjiYsrDl89nOuoiboWadXVKsfX675AnBlszHEMH7BSBu0Xp8JIQdHirPRdV2Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1638876493; a=rsa-sha256; cv=fail; b=MowQLNrhiU3MH3hBarla6YkaQah83GpsqS+gw2Zi0wScrRoAKiGds94m09HkoV0JGEx87R NrseoBWROlGwidLarFJV7pooAh6GD6lzPuccNqc7bC9hj58BmqVSS40K4+9DqjAQ9X0KOc D9p5xH2f3IVJg1/pVeyATQnj+BAfV/8NIbdfsjsMj8GcY0a3Vt/scqyNLxIqM6SW1FUV3j Rr63CaBhU0ZcmcuM0CUohftLIZjSx4sqGwxSEXZcAQqRqtH0VjPgTmpKwZea68VSrALY/i LwxC4zo67Os50cpGSRqWWPtoGw9BuEn4SRs+UGs1KWDjotcLGw+DEgSpHE9Hnw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=hhF6TaDf; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=hhF6TaDf; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 55A4B34E07 X-Spam-Score: -1.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: MdYh2kZ1q0ud 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 #) In ice-9/boot-9.scm: 724:2 7 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 6 (_ #(#(#))) 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