GNU bug report logs -
#58734
installer: backtrace page in final step
Previous Next
Reported by: Mathieu Othacehe <othacehe <at> gnu.org>
Date: Sun, 23 Oct 2022 09:40:02 UTC
Severity: normal
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 Sun, 23 Oct 2022 15:38:56 +0200
with message-id <87zgdm8xsf.fsf <at> gnu.org>
and subject line Re: bug#58734: installer: backtrace page in final step
has caused the debbugs.gnu.org bug report #58734,
regarding installer: backtrace page in final step
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
58734: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58734
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello,
When an error occurs in the pseudo terminal displaying the "guix system
init" command output, the backtrace is not displayed correctly and the
keyboard cannot be used (arrows, tab, enter keys) to scroll down the
backtrace or dump it.
It can easily be reproduced by introducing an error in the "run-command"
function, this way:
--8<---------------cut here---------------start------------->8---
--- a/gnu/installer/utils.scm
+++ b/gnu/installer/utils.scm
@@ -184,6 +184,7 @@ (define (pause)
(((port _ ...) _ _)
(read-line port))))
+ (error 'fake)
(installer-log-line "running command ~s" command)
(define result (run-external-command-with-line-hooks
(list %display-line-hook) command
--8<---------------cut here---------------end--------------->8---
I suspect that we may need to run "newt-init" and "clear-screen" before
displaying the backtrace page.
Thanks,
Mathieu
[Message part 3 (message/rfc822, inline)]
> + (error 'fake)
> (installer-log-line "running command ~s" command)
> (define result (run-external-command-with-line-hooks
> (list %display-line-hook) command
Fixed with bf5e78d59fcb188d0bce02d93c93d06069178837.
Thanks,
Mathieu
This bug report was last modified 2 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.