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 ms11 with LMTPS id u3EGBDJm119xJAAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 13:18:42 +0000 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 iE8LOzFm119JJAAAbx9fmQ (envelope-from ) for ; Mon, 14 Dec 2020 13:18:41 +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 93D689404E7 for ; Mon, 14 Dec 2020 13:18:41 +0000 (UTC) Received: from localhost ([::1]:53188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1konkO-0005km-Ie for larch@yhetil.org; Mon, 14 Dec 2020 08:18:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1konjm-0005kH-6O for bug-guix@gnu.org; Mon, 14 Dec 2020 08:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1konjl-0006TW-Tl for bug-guix@gnu.org; Mon, 14 Dec 2020 08:18:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1konjl-0005Q0-Om for bug-guix@gnu.org; Mon, 14 Dec 2020 08:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#25719: "guix package -i" exception should be a normal error message Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Dec 2020 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25719 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Received: via spool by 25719-submit@debbugs.gnu.org id=B25719.160795186920808 (code B ref 25719); Mon, 14 Dec 2020 13:18:01 +0000 Received: (at 25719) by debbugs.gnu.org; 14 Dec 2020 13:17:49 +0000 Received: from localhost ([127.0.0.1]:51558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1konjY-0005PY-Pr for submit@debbugs.gnu.org; Mon, 14 Dec 2020 08:17:49 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:38974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1konjX-0005PM-8Y for 25719@debbugs.gnu.org; Mon, 14 Dec 2020 08:17:47 -0500 Received: by mail-wm1-f54.google.com with SMTP id 3so15218265wmg.4 for <25719@debbugs.gnu.org>; Mon, 14 Dec 2020 05:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Yp6FOKFU6k3P4phl+ARVotjf84oWSxzfjljwlokytMk=; b=Wv6yFAEds3PSLrD7Y3TY/ZnDgjyZvVchCVEq9T7kbUGh9NxTb2Er6GOvpzJuE1B2B0 9+rnjgaKnHswOufmurJRPO0eh+R3OmdL5FhRl/GvYZfvkOCeZ1vO6gwxypMpiCBmC39u 5SpkrR7+GhSKKp+JEqWPIBquuGhmx4PE4Sdu21/xwNS3xESsig8hHUc6OaWqM8LOYL3f 4YLGbI89A+9d1L9rKR/S3ug0YnNlU4rxYWK0N5iL3p5hEy5+ki23yPL9DEnqWlo8kE3L /6F5W0kNGSwCcPnBlQ3GsI+LfxVChDZVWZ2srsqA1WcHXtj+TMKgs1ndz3C49Vj0Zw1g 9VyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Yp6FOKFU6k3P4phl+ARVotjf84oWSxzfjljwlokytMk=; b=OSumBQezAwOWp//7WmcZZOmb8pksmiYfd6VuHowVxovnw2KwEhY8zp+HE2bYzXvtLH JCb9mAJ/QINJIbl289lFEimEZINB2tVCurKF+/4uwblRUAYFKSsgGrbN3ioEK33tf9V1 tXZVmdbiyiJVqPVTUSKkUAJ/EmptIB0vE/t7zOAFyZd32gIuknEooEXXETEXVN/+4TmS oMcT6YLMWP0KV8TfsYUcrRiXX22kqSP/S7U38HMYbwv6ovyn4+o/CHrlxlKmJcLyMfX8 qOaOBYPB2PyK6tPRDmpmeulip5aLbA5JwbhNOJZFWTFy7a6EdDppEwFxNBGavnortb8n 6HGw== X-Gm-Message-State: AOAM530P19Ju2d+rgJRcyhotzQnZAvpqw/tq6SAFAHD9OurP/6eRiNYP 57XO9qTRjGG1x3N8k+amw6JXVofF+MM= X-Google-Smtp-Source: ABdhPJzfYgKkincpz/DIOoXbMMKKc8xRYJVgy8uXJYUVc5FS9f4+ZHe+G9M3mYBAS6Cg16C9Ux4CQQ== X-Received: by 2002:a7b:c259:: with SMTP id b25mr2129901wmj.40.1607951861170; Mon, 14 Dec 2020 05:17:41 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z6sm13137372wrw.58.2020.12.14.05.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 05:17:40 -0800 (PST) From: zimoun In-Reply-To: <20201202143546.2d0fc349@scratchpost.org> References: <20170214094106.73469612@scratchpost.org> <868sahv0sj.fsf@gmail.com> <20201202143546.2d0fc349@scratchpost.org> Date: Mon, 14 Dec 2020 14:11:19 +0100 Message-ID: <86czzco7m0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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: 25719@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Wv6yFAEd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 93D689404E7 X-Spam-Score: -1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: WaHqJzGXUc0E Hi Danny On Wed, 02 Dec 2020 at 14:35, Danny Milosavljevic wrote: >> > substitute: 1727: 3 [%start-stack load-stack #] >> > substitute: 1732: 2 [#] >> > substitute: In unknown file: >> > substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/bin/.guix-real"] >> > substitute: In guix/ui.scm: >> > substitute: 1228: 0 [run-guix-command substitute "--query"] >> > substitute: >> > substitute: guix/ui.scm:1228:8: In procedure run-guix-command: >> > substitute: guix/ui.scm:1228:8: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'. >> > >> > It might make sense to >> > >> > (a) convert that into a normal runtime error message and >> >> What do you mean? > > The above is an exception. > > In this case the download failed--and unfortunately that is a completely normal > thing on the internet. Therefore, that is not something you'd use an exception > for. > > There is no added information that could help the user in the exception. > For example it doesn't list the URL--the one thing that would actually help. If I understand correctly, instead of the backtrace you would like a message captured by the exception, right? All the best, simon