From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YIVgGd1AI2IySgAAgWs5BA (envelope-from ) for ; Sat, 05 Mar 2022 11:52: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 mp12.migadu.com with LMTPS id gOvxFd1AI2I/7gAAauVa8A (envelope-from ) for ; Sat, 05 Mar 2022 11:52:13 +0100 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 1FE6035C6A for ; Sat, 5 Mar 2022 11:52:13 +0100 (CET) Received: from localhost ([::1]:46896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQS1E-0003VJ-As for larch@yhetil.org; Sat, 05 Mar 2022 05:52:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQS14-0003VA-UN for bug-guix@gnu.org; Sat, 05 Mar 2022 05:52:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQS14-0001dz-Lo for bug-guix@gnu.org; Sat, 05 Mar 2022 05:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQS14-0005aw-Co for bug-guix@gnu.org; Sat, 05 Mar 2022 05:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54259: pypi importer prints backtrace when no source package exists Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Mar 2022 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54259 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54259@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164647746221428 (code B ref -1); Sat, 05 Mar 2022 10:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2022 10:51:02 +0000 Received: from localhost ([127.0.0.1]:47379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQS06-0005ZV-5s for submit@debbugs.gnu.org; Sat, 05 Mar 2022 05:51:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:37346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQS04-0005Z9-Ez for submit@debbugs.gnu.org; Sat, 05 Mar 2022 05:51:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQS04-0003LM-72 for bug-guix@gnu.org; Sat, 05 Mar 2022 05:51:00 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQS02-0001Tn-LX for bug-guix@gnu.org; Sat, 05 Mar 2022 05:50:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1646477456; cv=none; d=zohomail.com; s=zohoarc; b=EedVAE/0qHOs/6ZhFJMmyGBmJkquICRkCjmnMTCGw73dPmjkySVAdb39iZxtbdn4CxzkXdua57mCVP/vUvXnjJ+9duzJKWeQKsD/w2et0BV0/b8beW0tDAPvuXETCzZ7lp032avB72WoRT3f3pb+vgSnpqc3AsJrpHjvvXC0dPQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646477456; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=HZZnsw64TZKDOr2aPUQmUv/DIl54DgL2ZHKor73q/t8=; b=imICFXqr1vDjvfhHFi8IFYFbXpeWCbqfJ2lzT8j25RW/UqMUyJvQlLI7vN0Xaplfr+WohOcnvlDwaPFNcfD8zkXsi/XhZuqZiRhrgl2Znyo9HrzianstQsPzp7ELTOlhws7erlBdOIjpTsfFgu61ts3s9o0aD2YDvSLJJYWeM4g= 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=1646477456; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=HZZnsw64TZKDOr2aPUQmUv/DIl54DgL2ZHKor73q/t8=; b=DyCBMhg2aw3FaPtmd8jVasPIN+B6QGgL88l4kSlaHaXm3X/3aPJD7cfZiHK0PS96 cYspDPiIb22baL73+uUk9L+FsCN3wXT8KDe4C78sAZnHB7+YarzlGJHjHzJPBdoDeLU BtpFmr3q0ozP34vk3XGYyviBUgvNEEzXbohnNzT0= Received: from localhost (p4fd5ab9a.dip0.t-ipconnect.de [79.213.171.154]) by mx.zohomail.com with SMTPS id 16464774558701013.5864160783369; Sat, 5 Mar 2022 02:50:55 -0800 (PST) User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus Date: Sat, 05 Mar 2022 11:49:25 +0100 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: <87wnh8y8oi.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=1646477533; 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=HZZnsw64TZKDOr2aPUQmUv/DIl54DgL2ZHKor73q/t8=; b=LqoUEeSAg00mA0v478+P3yJTH1HiUC1uVJxzI8lOYNsqs8J7zIzP3cxSsQmBwLuAT3Hj8b sguUB7+hud/5a6sM4uF2o8Fc4R4ddnfVhwRLY8YqI40Unfig5DezDsL1Y40v5biRDIwZ+U MiADSI8I1DJfc1cPutiL3o140fgeZTr+ZQSwFnq8bUkGRzhjF19n/a2AhgsDkjwRwa58rn ZUIGV7j4hyEe2JByYZbck4+/qZ/g63aBGj9f/xZF001EfOtI7aLd5QSp8F7UmuClmePFHA laTWn5n9KXwOI/KCSppef4f2we/b5p6OlvWwwJvFRRekGmUkGzYfo9E1ZJEc8w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1646477533; a=rsa-sha256; cv=fail; b=AHwYu3lk75OSk5a/88NhldaGE/ht3/Q+viGfpQVtfFILUB/aSyWFhhXMF/0DpVAQX8LzX7 uFhyJQG0Vch98hxBlJn2w2yHSH7441aaiUxjzkRSbzXSPhos6HdeqH6ooPzdSj+WX3WZeQ dsFAGOnczbZOkk/MnGFyCBh7j5+uwhuXM3GMiUCWfH+g6sxMvYv4j8NA7o/kM2fci5UHfn bEHAGgORt4ugDDROfUCLAtr9E/xE+fwuDYp2bY7SdDWSH8ZVvg04DGsXAUbecrf+WV8OKU 1lhzziEh/Yj36dujciMLY/523023OhI0G2DeMOxcVKrO/Lg0wWjevE/TG1I+Lw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=DyCBMhg2; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=DyCBMhg2; 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: 1FE6035C6A X-Spam-Score: 1.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: pKufjEpaoM6B The only download for the kaleido package on Pypi is a binary. There is no source code on Pypi. The importer recognizes this but then prints a confusing backtrace when attempting to print a hint: --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix import pypi kaleido guix import: error: no source release for pypi package kaleido 0.2.1.post1 hint: Backtrace: In ice-9/boot-9.scm: 1752:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 17 (apply-smob/0 #) In ice-9/boot-9.scm: 724:2 16 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 15 (_ #(#(#))) In guix/ui.scm: 2229:7 14 (run-guix . _) 2192:10 13 (run-guix-command _ . _) In guix/scripts/import.scm: 124:11 12 (guix-import . _) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/scripts/import/pypi.scm: 99:28 10 (_) In guix/memoization.scm: 98:0 9 (mproc "kaleido" #:version #f) In unknown file: 8 (_ #= # (this is nothing)) In ice-9/boot-9.scm: 1685:16 7 (raise-exception _ #:continuable? _) In guix/ui.scm: 806:16 6 (_ _) 316:5 5 (display-hint _ _) 1434:24 4 (texi->plain-text _) In texinfo.scm: 1132:22 3 (parse _) 980:31 2 (loop # (*fragment*) _ _ _) 1064:40 1 (_ _ _ (" " "source. To build it from source, refer to the up= stream repository at" " " "package is available on PyPI, but o=E2=80=A6" = =E2=80=A6) =E2=80=A6) 92:2 0 (loop _ _ _ _) texinfo.scm:92:2: In procedure loop: Throw to key `parser-error' with args `(#f "@-command expected more argumen= ts:" () (url #:opt title replacement) (url #:opt title replacement))'. --8<---------------cut here---------------end--------------->8--- --=20 Ricardo