* bug#71828: Commands that pull channels don't cleanly report errors
@ 2024-06-28 20:20 Richard Sent
2024-06-28 23:00 ` jgart via Bug reports for GNU Guix
0 siblings, 1 reply; 2+ messages in thread
From: Richard Sent @ 2024-06-28 20:20 UTC (permalink / raw)
To: 71828
Hi Guix!
When a command such as guix time-machine pulls a channel, if there is
invalid scheme code in, say, the .guix-authorizations file, the error
message reported to the user doesn't make it clear where the problem is.
--8<---------------cut here---------------start------------->8---
gibraltar :( temp$ guix time-machine -C channels.scm -- describe
Updating channel 'pita-packs' from Git repository at 'https://codeberg.org/JetpackJackson/guix-pita-packs.git'...
Authenticating channel 'pita-packs', commits 2970fc3 to 429703d (3 new commits)...
▕███████████████████████████████████████████████████▉ ▏ice-9/boot-9.scm:1685:16: In procedure raise-exception:
#<unknown port>:5:1: unexpected end of input while searching for: )
--8<---------------cut here---------------end--------------->8---
In this case, pita-pack's .guix-authorizations file is missing ending
parenthesis.
This error message should be improved to say
a) What channel is causing the problem
b) What file we're parsing that threw the error
See some of the chat log here:
https://logs.guix.gnu.org/guix/2024-06-28.log.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-28 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28 20:20 bug#71828: Commands that pull channels don't cleanly report errors Richard Sent
2024-06-28 23:00 ` jgart via Bug reports for GNU Guix
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.