From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AOnKBaVgr2H4UAEAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 14:24:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aAlCAaVgr2FxGAAAbx9fmQ (envelope-from ) for ; Tue, 07 Dec 2021 13:24:53 +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 C5AEA9A7A for ; Tue, 7 Dec 2021 14:24:52 +0100 (CET) Received: from localhost ([::1]:45706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muaSh-0000ZU-JS for larch@yhetil.org; Tue, 07 Dec 2021 08:24:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muaP0-0006p3-MU for bug-guix@gnu.org; Tue, 07 Dec 2021 08:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muaP0-0005RY-FU for bug-guix@gnu.org; Tue, 07 Dec 2021 08:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muaP0-000529-BZ for bug-guix@gnu.org; Tue, 07 Dec 2021 08:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52350: pypi import: ungraceful exit when recursively importing unknown package Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Dec 2021 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Received: via spool by 52350-submit@debbugs.gnu.org id=B52350.163888324019300 (code B ref 52350); Tue, 07 Dec 2021 13:21:02 +0000 Received: (at 52350) by debbugs.gnu.org; 7 Dec 2021 13:20:40 +0000 Received: from localhost ([127.0.0.1]:36625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muaOe-00051D-Bz for submit@debbugs.gnu.org; Tue, 07 Dec 2021 08:20:40 -0500 Received: from mail-io1-f41.google.com ([209.85.166.41]:40817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muaOc-00050i-Gy for 52350@debbugs.gnu.org; Tue, 07 Dec 2021 08:20:39 -0500 Received: by mail-io1-f41.google.com with SMTP id p23so17044305iod.7 for <52350@debbugs.gnu.org>; Tue, 07 Dec 2021 05:20:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s6drRtg33OmmazRnnGp2yoIci35dNojQuXXINAuLtvU=; b=MPOrFUAQ2ZI13KKJSBLdhcig0JdeuHkD1obJ/BZ2zcQFxbFYsu8ri2iZjJrQWx8b44 4bUJA2U7Ii1jEKkdTv48hKnFRybDb+DbMX3vWRzLfAiNUAV5eP0ma6QdXUsq2TK2vBcv 43P+Dq4205zxHZDAFynDtPaC4RxAlrfbo4EHKc2iZY/e7Gnw6OZ5QfYu120wpu+ihVDZ djGxzszA0/Jf2EDcmCQn6Zds+yUDUx7alajBuyzRJRkUb/UMN9Fiw/gCyzIhj+wrS8KU snfdq7r61KqqlR9WQjS918DuNPlrlkFDJTLY/QUXGD7SrbGaKzu+OR7YQf97a4hxaohy pDMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s6drRtg33OmmazRnnGp2yoIci35dNojQuXXINAuLtvU=; b=5TVHq+Zx9aQADNmwfwzF/60N9/3WpvVZDKXBlP0FqYCRNidiUFhYUz3sUeuggd4jgk DayskCA7dpSo9IbekMRnXNbSWon1Kx/keDa5qXfhRgs3M5qVhGveLJF1Nnwd/5wDHBaN IOMYsKFVlfRoukZ/O5xNuyKAJK1hGStQcu5oev+z5dQQa9QKHOjc15PLEITXtCdiMSAx DmVZDHgvx9+6P5I6rWAaNtMGjUInDFS4Ewjdj1BkKpOJ6RkMSD2jTErUgDy8bOSWR6J1 29l5hlTWo8IG/xw/aMey43/tbOn/bsFQyuJFFFPqNQ+3DuElbZdsf/+cPznt5GjZr3Te etCQ== X-Gm-Message-State: AOAM530NuIJKN3Gfn8713yMTxRTt8AnyM2KudWP1cQg6YPaHHhUp/e0H B2AL3Y+6ikhKYM+JyTtmZah151dquOldaMKRxi4= X-Google-Smtp-Source: ABdhPJzrSGJzZHxLa0h/HfB0pj1SWDzA9XuUY6AGSE/bWB5jdmRUNqI/AAiRRtA1F4pYs4mnv22cwO9WZKAksSPVb5s= X-Received: by 2002:a05:6638:2647:: with SMTP id n7mr52162421jat.10.1638883232834; Tue, 07 Dec 2021 05:20:32 -0800 (PST) MIME-Version: 1.0 References: <87ee6oven6.fsf@elephly.net> In-Reply-To: <87ee6oven6.fsf@elephly.net> From: zimoun Date: Tue, 7 Dec 2021 14:20:21 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" 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: , Cc: 52350@debbugs.gnu.org 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638883492; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=s6drRtg33OmmazRnnGp2yoIci35dNojQuXXINAuLtvU=; b=GLpYLl09v7jVG0sE7+U1OPgt045hJkjLPdeSPXeHBBZPV4v5Z1KVc4+nht1MYCgufcpUp3 d/dF0Lc5SJl3KVl83MR/6715+y1OXbf+0LnJQ2zSOelbn602uIYADhv9NkYvbrFJ4X5E2F 5sY7/B5aef2N2TcHLgIv4CZ6tP66jsLN7aOa9+StNOtNNBAITRFpnUQqYY6M5dZTZZIHBe aVk5DrRxApPZtC0ZEzh6ObjrUbzh/On+69I/rNNkazdK3nFQ7gc7TE4Om+EF8u/RCvk3rl WdbcT5qylh5/HMtXcbKm6TLTqlBr9cKN5P2bU1xYRkN1nB1rsGTZ2DSfD69JRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638883492; a=rsa-sha256; cv=none; b=HOa2fU8z7vOLxKFuz3/9mQCokpmlCgF9aEA9NC5s4hga/HbauzfR7JbD3ldhD705uYzv9G mw9Jvd6vwP3S8cmAvt0W5UyPWbXvsQIoDxoghk9WSygI93MHQZ+YvvnY2s/TB5O1EpaCnP ogMYcPllVXRJgY1yQZ2ghPQ4d6jIhiY4669BFKd/rSZqJ8mSm2jkvxCDznFFMKZfYzVQYd anLWJRr7ZSnDY8UaXgtLgJQyT5u4ajA9WCEYbOSOEQCVcXbCHORzFOzSoNQT8n0V/S1cZD 0vFPwsWvsGnjpdiU9/FhpI4tcUqQ3R98Mm+3pch0F8krFvZLhrokt1/gjPSMZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MPOrFUAQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MPOrFUAQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: C5AEA9A7A X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: +VFZlYbaiwdt Hi Ricardo, On Tue, 7 Dec 2021 at 12:28, Ricardo Wurmus wrote: > When using the pypi importer, a typo in the package name leads to an > ugly backtrace: This is already tracker by patch#45984. Well, the patch fixes the issue of "pypi" and other ones too (although some had probably been fixed independently, I have not checked or rebased this old patch). The patch had not been merged because we (with jeko) tried a pair-programming hacking session to revamp all the error handling. Well, we were not very far (not easy pair programming, remotely neither :-)). I do not have much time these days to concretely make this revamp. Maybe, the initial patch could be applied as a stopgap waiting a clean revamp. 1: Cheers, simon