From: Mathieu Othacehe <othacehe@gnu.org>
To: 58734@debbugs.gnu.org
Subject: bug#58734: installer: backtrace page in final step
Date: Sun, 23 Oct 2022 11:39:36 +0200 [thread overview]
Message-ID: <87mt9m2813.fsf@gnu.org> (raw)
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
next reply other threads:[~2022-10-24 2:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-23 9:39 Mathieu Othacehe [this message]
2022-10-23 13:38 ` bug#58734: installer: backtrace page in final step Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mt9m2813.fsf@gnu.org \
--to=othacehe@gnu.org \
--cc=58734@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).