GNU bug report logs - #42802
Unhandled FTP exception when using GNU importer

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 10 Aug 2020 18:34:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 42802-done <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: bug#42802: Unhandled FTP exception when using GNU importer
Date: Tue, 02 Feb 2021 13:50:20 -0500
Hi Simon,

zimoun <zimon.toutoune <at> gmail.com> writes:

> Hi Maxim
>
> On Tue, 2 Feb 2021 at 15:13, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> 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 <at> 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




This bug report was last modified 4 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.