From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EAYkL7b4VWN+RgEAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 04:30:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6JQwL7b4VWMm0QAA9RJhRA (envelope-from ) for ; Mon, 24 Oct 2022 04:30:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 681AA33D69 for ; Mon, 24 Oct 2022 04:30:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omlTL-0004uI-2H for larch@yhetil.org; Sun, 23 Oct 2022 20:37:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omXSc-0001Fi-Od for bug-guix@gnu.org; Sun, 23 Oct 2022 05:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omXSc-0002xZ-GL for bug-guix@gnu.org; Sun, 23 Oct 2022 05:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omXSc-0002L4-CO for bug-guix@gnu.org; Sun, 23 Oct 2022 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58734: installer: backtrace page in final step Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 23 Oct 2022 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58734 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58734@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16665179968966 (code B ref -1); Sun, 23 Oct 2022 09:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2022 09:39:56 +0000 Received: from localhost ([127.0.0.1]:42873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omXSV-0002KY-UY for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:39:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:33244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omXSF-0002K7-CN for submit@debbugs.gnu.org; Sun, 23 Oct 2022 05:39:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omXSF-0001E3-28 for bug-guix@gnu.org; Sun, 23 Oct 2022 05:39:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omXSE-0002p0-Qd for bug-guix@gnu.org; Sun, 23 Oct 2022 05:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=qw/MIQB+WB6pNW39T6tQq2M4SWc6CpAex2DCmi3JVTU=; b=KVi9cz9x2fY1At eoi6514t0feXoISIZicg2wV+n4PlazQCJcaO6YAnZkn4yDonwfXtOB5Nvvb4rHZFKDi++yNug8kYU n8ESrnl4xe89Lc4v62K8AtUCeXOnCUbuP+WL3dFC+9bzp7M7HiCi2rRNJcHDtt/OqmJjVFHFkXJIY MzSjU4UXbWFsRqXig4v0O65Rfjvd2srcKeNIgr5qD8NgwtKys0U+J3SzdPvIBHPzgFGihnbsj6eTS PkshrcSyOVgFUfvVrA0AE8hzWFmabt91vaoQ/P420+0jHKUJN5EUI99+uaCVmwze1UE05PTDWQWwU IEzLyIjunfo4R0viAMfA==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775] helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omXSD-0004Jt-UC for bug-guix@gnu.org; Sun, 23 Oct 2022 05:39:38 -0400 From: Mathieu Othacehe Date: Sun, 23 Oct 2022 11:39:36 +0200 Message-ID: <87mt9m2813.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666578614; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=qw/MIQB+WB6pNW39T6tQq2M4SWc6CpAex2DCmi3JVTU=; b=LB4Ga2MHgYlfe2PvsROc+kv0QtwZcHwg6VeUIAw1AN4bBsS39vez+L1zh066iwb5Cs1tLf fIedeZoEEM+i1D7W50Cu6HJCS/wW5kDxXobx7dSPC9vNR+KM9ROo6lPvLM0A074cxxtVHF sm6epzFlBPD76ftXm5mb1yNimbagoIfRO6BOQpNhXO7640iEam6IbJBaMsySLqVEZ4F8gB PBdzzrHnhYvyksnIH+IhQ3/UdGyYwdqZWraq2TJrCl8hRIdA2Mu2+xYVa1YnV9HTAYmR8w cTzzCYSXQj8YEHZmnUDIbNB5flpGh1oH02owzJKEYzohRENmfdRxVpP7AVSiFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666578614; a=rsa-sha256; cv=none; b=XaBHmP7MC2o1foRlN276zL05Wp50RARAwUFp2F/MPLusRD3TLk/aTB2N2xx9GVxQ7Nonr5 BHlhaitU9aUQApVEqsWEiN2ZGtwMl9fzEYQHwU63Nh5CNnNPR/0WbBKEru7nJ8tigwzif0 1YVZa8AtXqqUg7YNThH6BriWXuvN242K8GKaXVOxFTw7qXZzYhxTJEy7xeIzyRxy5a0KDO YFd+pt55JW9K7V2qmAnxBAykBgbzUpeJdDAfJxq1PsH+FjWTW+soynKyqTJfncFChMRVuL qWkFKhSdtUhOLmGUYRqlB+oUbhNHbN3QzPRuXItYMfDMnNWa/h1aJF2+ryZYvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KVi9cz9x; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KVi9cz9x; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 681AA33D69 X-Spam-Score: -2.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: PKngXwgSNjoj 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