From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kOz3HKRMGWBjIgAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 12:59:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sHnHGKRMGWBcMAAA1q6Kng (envelope-from ) for ; Tue, 02 Feb 2021 12:59:16 +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 B68349404E4 for ; Tue, 2 Feb 2021 12:59:15 +0000 (UTC) Received: from localhost ([::1]:45076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6vGz-0006uP-3T for larch@yhetil.org; Tue, 02 Feb 2021 07:59:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6vGo-0006oI-V1 for bug-guix@gnu.org; Tue, 02 Feb 2021 07:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6vGo-0005bq-Nd for bug-guix@gnu.org; Tue, 02 Feb 2021 07:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6vGo-0005v6-MD for bug-guix@gnu.org; Tue, 02 Feb 2021 07:59:02 -0500 Subject: bug#42802: Unhandled FTP exception when using GNU importer Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 02 Feb 2021 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42802 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Mail-Followup-To: 42802@debbugs.gnu.org, ludo@gnu.org, maxim.cournoyer@gmail.com Received: via spool by 42802-done@debbugs.gnu.org id=D42802.161227074022745 (code D ref 42802); Tue, 02 Feb 2021 12:59:02 +0000 Received: (at 42802-done) by debbugs.gnu.org; 2 Feb 2021 12:59:00 +0000 Received: from localhost ([127.0.0.1]:34306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6vGl-0005um-Gs for submit@debbugs.gnu.org; Tue, 02 Feb 2021 07:59:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6vGh-0005uW-Ko for 42802-done@debbugs.gnu.org; Tue, 02 Feb 2021 07:58:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44678) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6vGc-0005Vx-Cc; Tue, 02 Feb 2021 07:58:50 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54884 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l6vGa-0007qK-DG; Tue, 02 Feb 2021 07:58:49 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87eeoeic59.fsf@gmail.com> Date: Tue, 02 Feb 2021 13:58:46 +0100 In-Reply-To: <87eeoeic59.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 10 Aug 2020 14:33:38 -0400") Message-ID: <87wnvqeid5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 42802-done@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.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: B68349404E4 X-Spam-Score: -1.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: cvVrTy5xAjK0 Hi, Maxim Cournoyer skribis: > Here I naively tried importing libsocketcan, which isn't a GNU project: > > guix import gnu libsocketcan > Backtrace: > 10 (primitive-load "/home/maxim/.config/guix/current/bin/guix") > In guix/ui.scm: > 2046:12 9 (run-guix-command _ . _) > In guix/scripts/import.scm: > 116:11 8 (guix-import . _) > In ice-9/boot-9.scm: > 1736:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > 1731:15 6 (with-exception-handler # _ #:unwind? _ #:unwind-for-type _) > In guix/import/gnu.scm: > 111:2 5 (gnu->guix-package "libsocketcan" #:key-download _) > In guix/gnu-maintenance.scm: > 364:20 4 (latest-ftp-release "libsocketcan" #:server _ #:directory _ = #:keep-file? _ #:file->signature _ #:ftp-open _ #:ftp-close _) > In guix/ftp-client.scm: > 233:6 3 (ftp-list #< socket: # addrinfo: #(32 2 1 6 #(2 3509828628 21) #f)> _ #:timeout _) > In srfi/srfi-1.scm: > 460:18 2 (fold # _ _) > In guix/ftp-client.scm: > 74:8 1 (_ _ _) > In ice-9/boot-9.scm: > 1669:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > Throw to key `ftp-error' with args `(# "CWD > libsocketcan" 550 "Failed to change directory.\r")'. > > The error should be handled and a more appropriate message should be > displayed to the user. I believe this is fixed by be84fc600e76e3962123b94bf14baea4a2e4f442. Ludo=E2=80=99.