GNU bug report logs -
#55360
[Installer] ‘guix system init’ displays dots instead of progress bars
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Wed, 11 May 2022 09:24:01 UTC
Severity: important
Merged with 58375
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 20 Oct 2022 16:40:08 +0200
with message-id <875ygepnhz.fsf <at> gnu.org>
and subject line Re: bug#58375: Installer does not show what is being downloaded
has caused the debbugs.gnu.org bug report #55360,
regarding [Installer] ‘guix system init’ displays dots instead of progress bars
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
55360: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55360
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi!
I’ve used an installer built from this commit:
--8<---------------cut here---------------start------------->8---
Generation 214 May 02 2022 21:44:14 (current)
guix 6b588da
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6b588da368c77cde82ea2f22ca315116228777ad
--8<---------------cut here---------------end--------------->8---
During installation, ‘guix system init’ displays dots instead of
progress bars for downloads and such.
This suggests that ‘display-download-progress’ gets #:tty? #f. This may
be a side effect of running it in a pipe in
‘run-external-command-with-handler’.
Thoughts?
Ludo’.
[Message part 3 (message/rfc822, inline)]
Hey,
Thanks for having a look!
> I haven’t actually tested the patch but it LGTM. One thing to check is
> whether ‘terminal-window-size’ returns something sensible for the
> pseudo-terminal; it could be that we need an extra ioctl so the
> pseudo-terminal has the same size as the actual terminal.
Well it returns 0 for all fields, but I tested on several screen sizes
and everything seems fine so I went ahead.
While testing I noticed two new issues though:
1. When the disk is GPT partitionned there is no confirmation page in
"run-label-page". Something I missed in #57232.
2. When there is an exception in run-external-command-with-handler/tty
for instance, the backtrace page is displayed in the PTY and the
keyboard shortcuts do not work anymore.
I'll address point 1 shortly but could use some advice for point 2.
Thanks,
Mathieu
This bug report was last modified 2 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.