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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42802: closed (Unhandled FTP exception when using GNU importer)
Date: Tue, 02 Feb 2021 12:59:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 02 Feb 2021 13:58:46 +0100
with message-id <87wnvqeid5.fsf <at> gnu.org>
and subject line Re: bug#42802: Unhandled FTP exception when using GNU importer
has caused the debbugs.gnu.org bug report #42802,
regarding Unhandled FTP exception when using GNU importer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42802
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Unhandled FTP exception when using GNU importer
Date: Mon, 10 Aug 2020 14:33:38 -0400
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 #<procedure 7f19d6ef7270 at ice-9/boot-9.scm:1815:7 (exn)> _ #: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 #<<ftp-connection> socket: #<input-output: socket 16> addrinfo: #(32 2 1 6 #(2 3509828628 21) #f)> _ #:timeout _)
In srfi/srfi-1.scm:
   460:18  2 (fold #<procedure 7f19d6ef71b0 at guix/ftp-client.scm:187:10 (dir result)> _ _)
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 `(#<input-output: socket 16> "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


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 42802-done <at> debbugs.gnu.org
Subject: Re: bug#42802: Unhandled FTP exception when using GNU importer
Date: Tue, 02 Feb 2021 13:58:46 +0100
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> 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 #<procedure 7f19d6ef7270 at ice-9/boot-9.scm:1815:7 (exn)> _ #: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 #<<ftp-connection> socket: #<input-output: socket 16> addrinfo: #(32 2 1 6 #(2 3509828628 21) #f)> _ #:timeout _)
> In srfi/srfi-1.scm:
>    460:18  2 (fold #<procedure 7f19d6ef71b0 at guix/ftp-client.scm:187:10 (dir result)> _ _)
> 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 `(#<input-output: socket 16> "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’.


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.