From unknown Sun Jun 22 11:36:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58734 <58734@debbugs.gnu.org> To: bug#58734 <58734@debbugs.gnu.org> Subject: Status: installer: backtrace page in final step Reply-To: bug#58734 <58734@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:36:46 +0000 retitle 58734 installer: backtrace page in final step reassign 58734 guix submitter 58734 Mathieu Othacehe severity 58734 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 05:39:56 2022 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 To: bug-guix@gnu.org Subject: installer: backtrace page in final step 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 09:39:11 2022 Received: (at 58734-done) by debbugs.gnu.org; 23 Oct 2022 13:39:11 +0000 Received: from localhost ([127.0.0.1]:43857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ombC3-0001LR-8Z for submit@debbugs.gnu.org; Sun, 23 Oct 2022 09:39:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ombC0-0001LD-ME for 58734-done@debbugs.gnu.org; Sun, 23 Oct 2022 09:39:09 -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 1ombBu-0002Dj-1S for 58734-done@debbugs.gnu.org; Sun, 23 Oct 2022 09:39:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=OHKTM+S967GsHHcEWqvkdbOtd222oNVV8tTJYBa3eDk=; b=doSi63jIHSkRQ5taurX0 ucpHTN+98hfQx0D3q+/GNiGezTGYLKvZ1t2SczofPSi3RPu1LoEhBvZ+2zJoGtiv3hUqBs1BijLqS Q/81Vp2QEo+RKplPeI8ilCZjikeh3DZQYtxtFobi/crBCM7jwSXqGmH/8IdN6DX5VoLRxiZ6y0jAi ZYyANipfG4IlklGzg9WPMfWbmJYacFCVMsZDk6vMrJJ/cAih3jZqixxSQxmZIWiTqUMZD4fxPNImU pB1fdFA6mU+ccdOjN+Kjk1hoYEEy8KTC8th5mAKepkq8zCpPUISJxFu8Cy5BvRxBH0A8DiPdv7o7j 5FKYkLVzzQVfJQ==; 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 1ombBr-00064k-Rs for 58734-done@debbugs.gnu.org; Sun, 23 Oct 2022 09:39:00 -0400 From: Mathieu Othacehe To: 58734-done@debbugs.gnu.org Subject: Re: bug#58734: installer: backtrace page in final step References: <87mt9m2813.fsf@gnu.org> Date: Sun, 23 Oct 2022 15:38:56 +0200 In-Reply-To: <87mt9m2813.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 23 Oct 2022 11:39:36 +0200") Message-ID: <87zgdm8xsf.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58734-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > + (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 From unknown Sun Jun 22 11:36:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Nov 2022 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator