unclear error message: No route to host

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Csepp
Owner
unassigned
Submitted by
Csepp
Severity
normal
C
(name . Bug reports GNU Guix)(address . bug-guix@gnu.org)
87edy2wiow.fsf@riseup.net
```
guix pull -v3 --cores=1
guix pull: error: failed to load '/home/raingloom/.config/guix/channels.scm': No route to host
```

My channels.scm mentions at least 3 hosts by name and indirectly uses
ci.guix.gnu.org via channel-with-substitutes-available.

It's quite possible this is more a Guile issue, but then again, Guix
should give a clear stack trace about which function the error
originates from.
L
L
Ludovic Courtès wrote on 5 Aug 2022 17:04
(name . Csepp)(address . raingloom@riseup.net)(address . 56845@debbugs.gnu.org)
87edxug29s.fsf@gnu.org
Hi,

Csepp <raingloom@riseup.net> skribis:

Toggle quote (7 lines)
> guix pull -v3 --cores=1
> guix pull: error: failed to load '/home/raingloom/.config/guix/channels.scm': No route to host
> ```
>
> My channels.scm mentions at least 3 hosts by name and indirectly uses
> ci.guix.gnu.org via channel-with-substitutes-available.

‘channel-with-substitutes-available’ failed due to a networking issue,
which is where “No route to host” comes from (it means that
ci.guix.gnu.org could not be reached from your machine).

Toggle quote (4 lines)
> It's quite possible this is more a Guile issue, but then again, Guix
> should give a clear stack trace about which function the error
> originates from.

Yeah, ‘load*’ should better discriminate on the type of issues: issues
such as “File not found” (where displaying a stack trace would be
wrong), and issues caused by actually running the code. Right now it
loads the file at once (meaning open + read + eval), so it doesn’t have
a sufficiently detailed vision.

Ludo’.
?