From unknown Tue Jun 24 05:09:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42802 <42802@debbugs.gnu.org> To: bug#42802 <42802@debbugs.gnu.org> Subject: Status: Unhandled FTP exception when using GNU importer Reply-To: bug#42802 <42802@debbugs.gnu.org> Date: Tue, 24 Jun 2025 12:09:20 +0000 retitle 42802 Unhandled FTP exception when using GNU importer reassign 42802 guix submitter 42802 Maxim Cournoyer severity 42802 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 14:33:54 2020 Received: (at submit) by debbugs.gnu.org; 10 Aug 2020 18:33:54 +0000 Received: from localhost ([127.0.0.1]:37493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5CcL-0007Nk-RI for submit@debbugs.gnu.org; Mon, 10 Aug 2020 14:33:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5CcK-0007Nd-3w for submit@debbugs.gnu.org; Mon, 10 Aug 2020 14:33:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5CcJ-00030r-Sw for bug-guix@gnu.org; Mon, 10 Aug 2020 14:33:51 -0400 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:41020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5CcI-0004pR-7z for bug-guix@gnu.org; Mon, 10 Aug 2020 14:33:51 -0400 Received: by mail-qv1-xf36.google.com with SMTP id x6so4722637qvr.8 for ; Mon, 10 Aug 2020 11:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=TRld67kJTgVd68tHiO2eAfI7lnXWo0ezG0sNonu/m5I=; b=CJr69/un8Zwaqt3xtCoOaQYf2JrNulhXg5trcE5wTD6yWhct+Fxjr1naTrcFu+SlV0 s6iqTHtQ3TdaL1KuehDhGhao7WEytsxT1SFdbgDUXKFoJf+ILQ3oscsvTLgmgdjhmgsu VTtj5byMIy6KeF1tQ/NIsqbKWSwdol2EvxDOkXwQlu2QUZQJn8zTIBGDMtsnIFVYnUdH JwoRqFmcHwdSTZYJjuR4kEotMfTBsyIYDlO8tf9WGvyCLcVcudf5jMlz8t3HTuJ4zHYz aSWJwwS20ce59OqIz/O9ntK/RbtTxOGrwgb9MkXb1KqvsXso1ANwuzcnBwmgsya+353j wKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=TRld67kJTgVd68tHiO2eAfI7lnXWo0ezG0sNonu/m5I=; b=F+L8xbq+avWj70PUOYCEn02AKM0U0EYCrQ9tXB7DWvscjkBTOrNZ8E4QIoWgkxK7eo Ft/NwHz5Y/s4WlfE9WBRqF6OQ0AUW/PQYxOIlZJledZqoyVXoZnugZ7pu2nkAv1PUvda 0RYZJV8QFXRp9SaOQ6MKK7v0Ocl3/SZhvmWlYai4u+urj5Ku+erHzTh0fhuCQfgQjFxu i9BpOEwG3SCDj5SpMJ0B47hhzoeoYC7pfPdc4tvNTnUANT4chhMY+CKVqG6BkOop087O ZFqp9w+x8nPJxfbN5kho2t5D7eB4z16Ry2Xx4skdm9wpygY5WwZH21Oa1bRo4W1aQUuW OItQ== X-Gm-Message-State: AOAM530fA6aiPord7fwiWk2/dwcejP8noftEIoSIs8AQ6WiFW96xpXea w+q4WR6yLD32VZqQ/64F49Nf175i X-Google-Smtp-Source: ABdhPJxJ0MSPAp1JWaMu/xl2tUxHEZIY7cv+gbONShwNh1IpqnEikixJbgBl5UpNH59AMhUtwV/zWg== X-Received: by 2002:a0c:b41e:: with SMTP id u30mr21094171qve.243.1597084428231; Mon, 10 Aug 2020 11:33:48 -0700 (PDT) Received: from hurd (dsl-10-148-144.b2b2c.ca. [72.10.148.144]) by smtp.gmail.com with ESMTPSA id r18sm17267576qtc.90.2020.08.10.11.33.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2020 11:33:47 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: Unhandled FTP exception when using GNU importer Date: Mon, 10 Aug 2020 14:33:38 -0400 Message-ID: <87eeoeic59.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Here I naively tried importing libsocketcan, which isn't a GNU project: --8<---------------cut here---------------start------------->8--- 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")'. --8<---------------cut here---------------end--------------->8--- The error should be handled and a more appropriate message should be displayed to the user. Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 07:59:00 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42802-done Cc: 42802-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 09:09:25 2021 Received: (at 42802) by debbugs.gnu.org; 2 Feb 2021 14:09:25 +0000 Received: from localhost ([127.0.0.1]:34355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wMv-0007qJ-EK for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:09:25 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:39033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wMs-0007q3-Iq; Tue, 02 Feb 2021 09:09:24 -0500 Received: by mail-qt1-f182.google.com with SMTP id z9so14947871qtv.6; Tue, 02 Feb 2021 06:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Qp2O9nTROeFw25HhHd6JrFyDFPkk+qlF1kSuhDX253o=; b=lowGUuzRJx30zr+Cf9OIdfxmbECNAS4UI7PQJXS/kP/G263GxPjCAZOpjNc0Z1QFSL QyLhyf70QHmMTmlHyMCCT8QIx4g3aYSuUC6w71ryKSdIWiywfMqiEJLk1RJO6ys8AEII IAwTthkZTAlA7ZIVnWBEKW0/3X7RBYF3qsofvLhvl9kzBk/6ALjNFtH0b4avhdwlrnI+ nL2wSKc8i44jE25ycn6wP243PuwV0vY4vk8FpBTfLNMmT056bHDINxkFMNL5238T1lza Uz7YQ/ewwEyNF3YOH2xg388kR+GQxUHG/WE97WaPoCwY4VurNZO2tSbFGvFyzEi2ElQP xLhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Qp2O9nTROeFw25HhHd6JrFyDFPkk+qlF1kSuhDX253o=; b=UXYiaT0SbkUveLT77Gkxi/SRnyds163BihCc6iy5J8Saly2smzL7/7h08PjyYFUlbO E43vrUHmqcYbm3V5kxaRcbamsWDdXY5/ubPJABp4QmRpH2K7GGNtaiPHkxwPOXtqTIwo 2CfdQl78ydREAz+wx7wwuhygsYPmrBjRBCthD8r6OLGTBpBBvVowBZYb+s7QIYgo3rRv KP78PiwJNNkgIMEH32ee2zBy6LHM51DOBgHv7UDk+g5hxHgpo32gdbYgVAMHg/z1mz9Z EIhPCd7CszCeXxcCqtm3zINOnhm/zH/Ur4SzkythuUcUC7cH4WmH/vLqwgvxp/QgBTxI lhCQ== X-Gm-Message-State: AOAM532IKoQXFP4QCz7YGSUWmTfvJH6INYxg0D6D5BOo36Zf0nyy2L6k Ky06lv8pJKDRGXiTCzJmLnaNv698EiYfhrwKBfU908xg X-Google-Smtp-Source: ABdhPJw8OwFX5XO6uJHy7obSvGonCUpUugOa+6Bh10Ugh6Wq6+4SF3ApTayn8LaTrnNzE9UaJmWpsBHusCC8XOZcieI= X-Received: by 2002:ac8:7453:: with SMTP id h19mr12124851qtr.354.1612274957090; Tue, 02 Feb 2021 06:09:17 -0800 (PST) MIME-Version: 1.0 References: <87eeoeic59.fsf@gmail.com> <87wnvqeid5.fsf@gnu.org> In-Reply-To: <87wnvqeid5.fsf@gnu.org> From: zimoun Date: Tue, 2 Feb 2021 15:09:05 +0100 Message-ID: Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer To: 42802@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Maxim Cournoyer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42802 Cc: 42802-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Tue, 2 Feb 2021 at 13:59, Ludovic Court=C3=A8s wrote: > > The error should be handled and a more appropriate message should be > > displayed to the user. > > I believe this is fixed by be84fc600e76e3962123b94bf14baea4a2e4f442. Ah sorry, I missed this bug and so report it in the commit message. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 09:12:45 2021 Received: (at 42802-done) by debbugs.gnu.org; 2 Feb 2021 14:12:46 +0000 Received: from localhost ([127.0.0.1]:34364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wQ8-0007vh-6T for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:12:45 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:33321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wQ5-0007vR-Di for 42802-done@debbugs.gnu.org; Tue, 02 Feb 2021 09:12:42 -0500 Received: by mail-qk1-f175.google.com with SMTP id x81so19868061qkb.0 for <42802-done@debbugs.gnu.org>; Tue, 02 Feb 2021 06:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NlzJsVqm15cbF1TZSE84JU/gki6NKn3F0mqYsDMjRHo=; b=trbSDL0QP8fH61vyK87aVfCjqPvs28stTwHNqdXI4dzF/7D6d0jSZeGK0pj2O/gTDE upZIwteGi2mfWGw0+1W76zcVUSTyuQET8nPyngpNUmwRIqvW4B6URpUJK9Ysahr7FcV3 WCyR78DRbwz1H9AoW1RiBFDBEjYU95YDHxePeqvyGozH+grrSayEG/T0oS1cocnMv0M/ 9x3eb32YfX+3AZrqp3d67VhwCgYYHnsFPy2+CI+v+Y3bRcv6dROXfKIwuXzxIWK3oDz8 k4p/cAxEFyOhqKTiabskD9I1373J0N9QWE3ESNORa88d4lzSgKW6HVJOxEAIHUHt1rMr 0lpA== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=NlzJsVqm15cbF1TZSE84JU/gki6NKn3F0mqYsDMjRHo=; b=km1/aqoQK8njJtd5jprB1JBFDLTpDWRkoC+VySc+7H2Ql6itQb1EfhNGacGa8cTQ34 hW5Rq7r2Sw4736pD1k+SfKQsYluW2tV3eHggn+JeKmwqNa6mKwsZ0oeE+ynd/6jRnMOG f/Np2cPow23wxzAY1weNuGLmkIaPYdzQ9zqiLzUn1AtOW2AQfGO5YGBFh2G1e/TdUZcq Gs6bJDhb/RDy9P2R4yYMRn7WVIFiraDXHvmUzcYhlLN4YWrvYrJ/qTrslKigtbu4Jmqd k1y/LtSR3lzsCZe3RHscR5dReUkZihgU4gfvRn9Hc32TuQWzRrVHLMsArT0NjOqA2BoE v5gQ== X-Gm-Message-State: AOAM531MLx+fAzu4E55JxNPpM1+OLN1ncbGI4OvJCzDdplMNJQINSaGX OgCpySfkUScIFM9T8lQZVz8qLpLb7ikFpA== X-Google-Smtp-Source: ABdhPJybO49rwkBj/i+j9lT+V6xqMFo+zabm7sJ45A7zFPdzazBEu6UDxiu1M6tzqrrghREnsfgwBw== X-Received: by 2002:a37:c06:: with SMTP id 6mr21670057qkm.39.1612275155805; Tue, 02 Feb 2021 06:12:35 -0800 (PST) Received: from hurd (dsl-157-110.b2b2c.ca. [66.158.157.110]) by smtp.gmail.com with ESMTPSA id t68sm17236332qkd.35.2021.02.02.06.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 06:12:35 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer References: <87eeoeic59.fsf@gmail.com> <87wnvqeid5.fsf@gnu.org> Date: Tue, 02 Feb 2021 09:12:34 -0500 In-Reply-To: <87wnvqeid5.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 02 Feb 2021 13:58:46 +0100") Message-ID: <874kiur225.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42802-done Cc: 42802-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, Ludovic Court=C3=A8s writes: > 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. ./pre-inst-env guix import gnu libsocketcan guix import: error: failed to determine latest release of GNU libsocketcan Thanks for the fix; that's much nicer than a backtrace. It would be even better if it said: 'guix import: error: No GNU package found for "libsocketcan"' Thanks! Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 09:32:17 2021 Received: (at 42802-done) by debbugs.gnu.org; 2 Feb 2021 14:32:17 +0000 Received: from localhost ([127.0.0.1]:34401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wj3-0008Rg-CZ for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:32:17 -0500 Received: from mail-qk1-f171.google.com ([209.85.222.171]:36446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wj1-0008RU-NP for 42802-done@debbugs.gnu.org; Tue, 02 Feb 2021 09:32:16 -0500 Received: by mail-qk1-f171.google.com with SMTP id 19so19927956qkh.3 for <42802-done@debbugs.gnu.org>; Tue, 02 Feb 2021 06:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6eYEbL6uLgThYI7kv0eKiP36UuFjPmiT5pKQqN9qrCc=; b=uNbgK7erneZCFB5fPmgJSnv9pWucHy3DYhDO9MvLZxVtgqAjO40MB8MtR23sYYbc0p re+bcOYRbUwCoddfsL3iBmap957Ss2pWjEgAOmd9MnusVVG/ArD63BUqwc6KqBmYt15R XD/dFfZgzTdqO/tkdqcLZJr0VYTX5ReO0JAON5RtM9T37A0dJs5mbzapBClp2JneLYNu h6ulsO0gOCZUGpoPUtFKCwVP9ruxjh0IG9Jy0vGxv323zzWG0y/QeRF4Tk0BxsldTe0m bu0KfIr2vgcYz/aWoh1N29yAVSe6tFVggZzYZj7inl8X/aoiyjP866fsFu4bsFtiyMne A0pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6eYEbL6uLgThYI7kv0eKiP36UuFjPmiT5pKQqN9qrCc=; b=or07T7iVj9wesNxpGoscJEpoCy4vKricdFSUsGacfc+0JkFWQIUt58tMYy6/9BMAjm arNCDd3zIjEq/A8llE18+sjCBvvcw8UP2Y4S6lktf8u/Ue5QOnnW/Zg+wjO3C0vkf/dl 5VHXf5LTSL7/lrQu3lb7xkNe7gYIgY0x6umls9uv2APAr4mLsvm2PqkbCoW756B1cFuD qHMjT+QX+hTqlu+a76k8Wqy3juKKauB9NVH2OYxga8zJQm1nIhbnVzqV4CodELuH15ZE WeIs97AByTQCw92LAY+PQfPqVyXXYcsEJlHv1T1BNT0tywyKb/cOroD9KCUg3LyPVymu wOBw== X-Gm-Message-State: AOAM5303IMFleNGPxtWw0JZ9c7bguDJ+X6znqYjIFkCQ5+0LV1C/ktyU 2v7CIcehpIa060QYpDkbmIDrODb+q0DZ/1fJe6I= X-Google-Smtp-Source: ABdhPJztBsHBMWUwNFk/BiNyTpzDb60CEiyYpJgCOsLdN8eRM45lXcnUpMCBuFe1Vq40aPDMgiYpeh0smVooBnvHc6k= X-Received: by 2002:a05:620a:a01:: with SMTP id i1mr21828690qka.80.1612276330232; Tue, 02 Feb 2021 06:32:10 -0800 (PST) MIME-Version: 1.0 References: <87eeoeic59.fsf@gmail.com> <87wnvqeid5.fsf@gnu.org> <874kiur225.fsf@gmail.com> In-Reply-To: <874kiur225.fsf@gmail.com> From: zimoun Date: Tue, 2 Feb 2021 15:31:58 +0100 Message-ID: Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer To: Maxim Cournoyer Content-Type: multipart/mixed; boundary="000000000000f1cf1005ba5b554f" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42802-done Cc: 42802-done@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000f1cf1005ba5b554f Content-Type: text/plain; charset="UTF-8" Hi Maxim On Tue, 2 Feb 2021 at 15:13, Maxim Cournoyer wrote: > ./pre-inst-env guix import gnu libsocketcan > guix import: error: failed to determine latest release of GNU libsocketcan > > Thanks for the fix; that's much nicer than a backtrace. It would be > even better if it said: > > 'guix import: error: No GNU package found for "libsocketcan"' Yeah, replace the message sounds good. The one you are proposing works for both cases: "guix import gnu hello@1.2.3" and "guix import gnu not-gnu-package". Even if version is not supported, another story. Attached the trivial patch in case. Cheers, simon --000000000000f1cf1005ba5b554f Content-Type: text/x-patch; charset="US-ASCII"; name="0001-import-gnu-Fix-error-message.patch" Content-Disposition: attachment; filename="0001-import-gnu-Fix-error-message.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kko3of990 RnJvbSAxNjAzMGI4NjdiOWYwZTcwZjM4MTEwMjZlZDQ1MWQyYmJhMTI5OWQyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiB6aW1vdW4gPHppbW9uLnRvdXRvdW5lQGdtYWlsLmNvbT4KRGF0 ZTogVHVlLCAyIEZlYiAyMDIxIDE1OjMwOjIyICswMTAwClN1YmplY3Q6IFtQQVRDSF0gaW1wb3J0 OiBnbnU6IEZpeCBlcnJvciBtZXNzYWdlLgoKKiBndWl4L2ltcG9ydC9nbnUuc2NtIChnbnUtPmd1 aXgtcGFja2FnZSk6IEZpeCBlcnJvciBtZXNzYWdlLgotLS0KIGd1aXgvaW1wb3J0L2dudS5zY20g fCAyICstCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRp ZmYgLS1naXQgYS9ndWl4L2ltcG9ydC9nbnUuc2NtIGIvZ3VpeC9pbXBvcnQvZ251LnNjbQppbmRl eCBjMjZmYWZmMDRiLi4yZmE2M2NiMTg0IDEwMDY0NAotLS0gYS9ndWl4L2ltcG9ydC9nbnUuc2Nt CisrKyBiL2d1aXgvaW1wb3J0L2dudS5zY20KQEAgLTEyMyw3ICsxMjMsNyBAQCBkZXRhaWxzLiki CiAgICAgICAgICAgKGdudS1wYWNrYWdlLT5zZXhwIGluZm8gcmVsZWFzZSAjOmtleS1kb3dubG9h ZCBrZXktZG93bmxvYWQpKSkpKQogICAgIChfCiAgICAgIChyYWlzZSAoZm9ybWF0dGVkLW1lc3Nh Z2UKLSAgICAgICAgICAgICAoR18gImZhaWxlZCB0byBkZXRlcm1pbmUgbGF0ZXN0IHJlbGVhc2Ug b2YgR05VIH5hIikKKyAgICAgICAgICAgICAoR18gIm5vIEdOVSBwYWNrYWdlIGZvdW5kIGZvciB+ YSIpCiAgICAgICAgICAgICAgbmFtZSkpKSkpCiAKIDs7OyBnbnUuc2NtIGVuZHMgaGVyZQotLSAK Mi4yOC4wCgo= --000000000000f1cf1005ba5b554f-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 02 13:50:30 2021 Received: (at 42802-done) by debbugs.gnu.org; 2 Feb 2021 18:50:30 +0000 Received: from localhost ([127.0.0.1]:36189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l70kw-0000R1-KU for submit@debbugs.gnu.org; Tue, 02 Feb 2021 13:50:30 -0500 Received: from mail-qv1-f52.google.com ([209.85.219.52]:35617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l70ku-0000Qn-3C for 42802-done@debbugs.gnu.org; Tue, 02 Feb 2021 13:50:28 -0500 Received: by mail-qv1-f52.google.com with SMTP id l14so10412171qvp.2 for <42802-done@debbugs.gnu.org>; Tue, 02 Feb 2021 10:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NAIecMHUzTny1iPE21olZkbGr2tyL48k+vwv3Bvoxxg=; b=mo5M8tl8VSwqRyTJl5ve2vubU2y+b6p2XXIkLl3rq3kCNEUTd3BlCya80Uy9JU2u6X mt0fMTM6OIJ0wqTfNA6M3nbUNYxy6zIw9ooDvawcFTyr8h71+d1q47FbUM59WHGwTdk8 MUA2WwvpQXGuC+KBWGHg3WB+NUgCbRariN7s8oIvyJMKs15np/vzVQRogUo1revFcak/ ql6lv5t5cMG2Xsh2GOrSoEMKRxY4hVZ5i+SpA1X0U1Lh6STkt2CWKfLBWCV/9/+fpPhw 6I0siFjiIc3hMcGzuD5X7NVSfaNS6DoNsJxG/6b16YHsdn888QSdSPgRXo/kWoK6JDtD +lXw== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NAIecMHUzTny1iPE21olZkbGr2tyL48k+vwv3Bvoxxg=; b=j+RLM0Beoz2Lm/I12VZ9YkgIHqn3iL7BhZTOXPUTP3reCHl/4R5VgKonQDwBdd2+t7 pUoh47PBhQVOx427M3BV3yizHR8gv9JTc3ez+L4w+eZ7Bf/PfHw7hSvINOlrOpgydyY0 v5eFd9uc8gFGGvYu224nRVANCZfASpBHb0xzt5RmIr1oLsIrK1LMXWRu1HwJK0NSzZLH 0pL+gDFiIFqnQOwMfPx8FlV2XKn7RFrTihQPdh2xUHA0OudsnGk/k8C9aQjlzxRKpabr FVaxrXr3Xq8EXIXOiyzUTfPo6aWLTwjAaKRy8G6DaDVY2w0PohMV3JE2mdOk89d1JTs4 DBrQ== X-Gm-Message-State: AOAM5333qVYfy/1cFI9KLAFapgWPtivFT36k6QrGdqjC4vNBtmYOwVFw EN6wWetXauIsX4ZavjItRW+Vi8XZMi1NZw== X-Google-Smtp-Source: ABdhPJw+2fum8CUi8pVYTtpJDCMWjUu8r9ZF8AlVvsbW1g88aZa7RYG5RKV8rgwv/aVtv/GpxYBQxw== X-Received: by 2002:a0c:b4a8:: with SMTP id c40mr21874251qve.60.1612291822161; Tue, 02 Feb 2021 10:50:22 -0800 (PST) Received: from hurd (dsl-157-110.b2b2c.ca. [66.158.157.110]) by smtp.gmail.com with ESMTPSA id g189sm18255846qkf.8.2021.02.02.10.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 10:50:21 -0800 (PST) From: Maxim Cournoyer To: zimoun Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer References: <87eeoeic59.fsf@gmail.com> <87wnvqeid5.fsf@gnu.org> <874kiur225.fsf@gmail.com> Date: Tue, 02 Feb 2021 13:50:20 -0500 In-Reply-To: (zimoun's message of "Tue, 2 Feb 2021 15:31:58 +0100") Message-ID: <87czxipamr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42802-done Cc: 42802-done@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Simon, zimoun writes: > Hi Maxim > > On Tue, 2 Feb 2021 at 15:13, Maxim Cournoyer wrote: > >> ./pre-inst-env guix import gnu libsocketcan >> guix import: error: failed to determine latest release of GNU libsocketcan >> >> Thanks for the fix; that's much nicer than a backtrace. It would be >> even better if it said: >> >> 'guix import: error: No GNU package found for "libsocketcan"' > Yeah, replace the message sounds good. The one you are proposing > works for both cases: "guix import gnu hello@1.2.3" and "guix import > gnu not-gnu-package". Even if version is not supported, another > story. > Attached the trivial patch in case. There was more to it than just the message; some code was already in place to address this case but was not exercised. See commit 889f425b35, which fixes it. Thanks! Maxim From unknown Tue Jun 24 05:09:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 03 Mar 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator