From unknown Mon Aug 18 14:22:00 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#35542 <35542@debbugs.gnu.org> To: bug#35542 <35542@debbugs.gnu.org> Subject: Status: Installer does not display full backtrace on error Reply-To: bug#35542 <35542@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:22:00 +0000 retitle 35542 Installer does not display full backtrace on error reassign 35542 guix submitter 35542 "pelzflorian (Florian Pelz)" severity 35542 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 04:59:41 2019 Received: (at submit) by debbugs.gnu.org; 3 May 2019 08:59:41 +0000 Received: from localhost ([127.0.0.1]:47692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMU2f-00027f-C5 for submit@debbugs.gnu.org; Fri, 03 May 2019 04:59:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMU2e-00027T-07 for submit@debbugs.gnu.org; Fri, 03 May 2019 04:59:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:58178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMU2Y-0007Vy-QU for submit@debbugs.gnu.org; Fri, 03 May 2019 04:59:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMU2X-0001RM-Sy for bug-guix@gnu.org; Fri, 03 May 2019 04:59:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMU2X-0007V5-5I for bug-guix@gnu.org; Fri, 03 May 2019 04:59:33 -0400 Received: from pelzflorian.de ([5.45.111.108]:52840 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMU2W-0007UZ-UE for bug-guix@gnu.org; Fri, 03 May 2019 04:59:33 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 30053360038 for ; Fri, 3 May 2019 10:59:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556873967; bh=yRnvTUEYytNJgy1Zo8qJ6kfbGTiLZzJG9CkpNDAfsfU=; h=Date:From:To:Subject; b=JPaKBck66s2rSWebgPWKoYB9J+/eshMtm8YaG0H6iI+bwfpCndubadCIftRPHEHrP /SrTw29ahGFAb9yxZxG7PDTjhSG4jE4HhvIaBWcBN5OLrleEobR2zWocdSRdb+k/F4 m0HjcnuPU2MwxSiB/TgM8nvmwIQUYQJXbWn8ddDI= Date: Fri, 3 May 2019 10:59:27 +0200 From: "pelzflorian (Florian Pelz)" To: bug-guix@gnu.org Subject: Installer does not display full backtrace on error Message-ID: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) When the Newt installer displays a backtrace, it is possible to scroll up and down, but not left and right. This cuts off important error messages. From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 05:40:25 2019 Received: (at 35542) by debbugs.gnu.org; 3 May 2019 09:40:25 +0000 Received: from localhost ([127.0.0.1]:47756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMUg4-0005CQ-Ni for submit@debbugs.gnu.org; Fri, 03 May 2019 05:40:24 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:60436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMUg3-0005CI-G9 for 35542@debbugs.gnu.org; Fri, 03 May 2019 05:40:23 -0400 Received: from localhost (77.116.218.251.wireless.dyn.drei.com [77.116.218.251]) by dd26836.kasserver.com (Postfix) with ESMTPSA id BD8473360CD2; Fri, 3 May 2019 11:40:21 +0200 (CEST) Date: Fri, 3 May 2019 11:40:19 +0200 From: Danny Milosavljevic To: "pelzflorian (Florian Pelz)" Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190503114019.1dfba960@scratchpost.org> In-Reply-To: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/tEQ_ur+d1S2iaGJOihjTQ2="; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org 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: -1.7 (-) --Sig_/tEQ_ur+d1S2iaGJOihjTQ2= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 3 May 2019 10:59:27 +0200 "pelzflorian (Florian Pelz)" wrote: > When the Newt installer displays a backtrace, it is possible to scroll > up and down, but not left and right. This cuts off important error > messages. IMO the better solution would be to wrap the text--and not to add another scrollbar. It might help to change gnu/installer/newt/page.scm's run-file-textbox-page so that it uses make-reflowed-textbox instead of make-textbox in file-textb= ox. (I have no idea how to test that, though) --Sig_/tEQ_ur+d1S2iaGJOihjTQ2= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzMDIMACgkQ5xo1VCww uqW5TQf/dnTMIQUiqK6vbu0df9uNzI04hhG6ho4tOhdS7TDgw/KBrPA7cUmsAsi2 KenIX0T4LIflo9wY0U7h6G1T+iUx4rEQHFniTkcxTY4FoDPfrwKL3RwpNS2K8yfc B0uyOWf9iKyDPnxAwev7aSnF70Ay3r4i9dug98bixclP6wQ6TRoH+MzaURxBsTEO LF6QzYNGjTyqHU1ZFojVhrDZw5tz7P3cpIE2+Bs48UUC1jdIOtAGIw/lsl8BGtEs N5O6Wqn3CbBV5VoCjy0tw1AMh8rvuVf/v5qab20cO2cvXb1P5fq2HSRxcNM+42Aj Yy3ofBboKSoR1NjI6jfciZAaUbZP2Q== =Zaus -----END PGP SIGNATURE----- --Sig_/tEQ_ur+d1S2iaGJOihjTQ2=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 06:09:35 2019 Received: (at 35542) by debbugs.gnu.org; 3 May 2019 10:09:36 +0000 Received: from localhost ([127.0.0.1]:47791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMV8J-0005sP-MG for submit@debbugs.gnu.org; Fri, 03 May 2019 06:09:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMV8G-0005sB-1f for 35542@debbugs.gnu.org; Fri, 03 May 2019 06:09:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMV8A-0000P4-L8; Fri, 03 May 2019 06:09:26 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=55632 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMV8A-000303-6L; Fri, 03 May 2019 06:09:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35542: Installer does not display full backtrace on error References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 03 May 2019 12:09:24 +0200 In-Reply-To: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 3 May 2019 10:59:27 +0200") Message-ID: <87ef5fetnv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Mathieu Othacehe 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 (---) "pelzflorian (Florian Pelz)" skribis: > When the Newt installer displays a backtrace, it is possible to scroll > up and down, but not left and right. This cuts off important error > messages. Not sure if this can be fixed. Mathieu? The backtrace is kept in /tmp though. Ludo'. From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 08:15:37 2019 Received: (at 35542) by debbugs.gnu.org; 3 May 2019 12:15:37 +0000 Received: from localhost ([127.0.0.1]:47948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMX6G-0004iz-TY for submit@debbugs.gnu.org; Fri, 03 May 2019 08:15:37 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:33147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMX6F-0004im-FH for 35542@debbugs.gnu.org; Fri, 03 May 2019 08:15:35 -0400 Received: by mail-wr1-f54.google.com with SMTP id e28so7645400wra.0 for <35542@debbugs.gnu.org>; Fri, 03 May 2019 05:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Tt8QissG5i8oNnUmq6dVTx35W7muy8jMtET8ZYa7RDA=; b=jDgTpAjO0u33FEaFwhRZJGqGnrzpZIbLAv/5UiTSVIuce2gEK9Urx41UrTEcKGCE9E c2LSEA85W+RWQEYrdKTjuczUWBlGh/rBKuU6Il3iu9p3XNcyK6MzKQBcPuv/GZRFW8nB czVosx9Ph8iWT58gLhakVbIbh1ADN1cFZNpsq1koULYPpx5V8+MzOINsEyhCBnZT7Lq9 gYv/zKzQnV4DDdcPYk9cHwRg15Q606dlIbV+1Aq2gI0zZhDqlHhRXHjPuLcqsNMYlf7w sHWrTwPC2xwZ9pWtmt7EBD6kVVYhxSRwd85zJF0mVE/bRefV4iLvc6vHG/S2hq53EV9k zs4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Tt8QissG5i8oNnUmq6dVTx35W7muy8jMtET8ZYa7RDA=; b=avGncESylOa/0ZI65tnfkO3Wx5DxAy3xg1E3WIft3pUqe4OcVkjmGT/DfAHoz4TfCu 5dnhvTjQHRjtNqKIJ7sRfa8y8MiTjXa/ujRe6MIbYi28bMvu6GyWHtXvdAXMuYcp4nS2 j4PGMAbfHL67IIXC6H6Ms+0JV/sjkgrP/gOfZAkKmiS24FMMB+Me2ubSrcUIUCzCgtqT 9ZVfQkp9qopqhpVqEcEuaJPXSzadSsX7KJi/OSrn8cNmWkWfGk54vjJGL+JliiR1q7uy 5jzg9xQL77oPcW630AE2OKRmGdr3vIU5pSnFqMhsl8C9RYPS8/5vuZgwh761zhnpw4eE SEmA== X-Gm-Message-State: APjAAAXsjkgSxQ8YFi4orxzG8mjiKDHRgt2SiiUce/LJUxVjbtFtg1Ii cd609VDWyRwnPlYnfQ2K0d0ItwPm X-Google-Smtp-Source: APXvYqw1yww9Py5AjB6TmFwiXpIMjllj+8ELQd8gv0DewAuGkeJe6GoclHU3g2ZUmSuPrQHLNpYjZQ== X-Received: by 2002:adf:dd8e:: with SMTP id x14mr6405964wrl.252.1556885729585; Fri, 03 May 2019 05:15:29 -0700 (PDT) Received: from fuji (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d6sm1441372wrp.9.2019.05.03.05.15.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2019 05:15:28 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.1 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35542: Installer does not display full backtrace on error In-reply-to: <87ef5fetnv.fsf@gnu.org> Date: Fri, 03 May 2019 14:15:27 +0200 Message-ID: <8736lvka3k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" 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: -1.0 (-) Hey, > Not sure if this can be fixed. Mathieu? The textbox object used for the backtrace window only supports vertical scrolling. However, the text should be broken in lines that fit the box horizontally, I'll try to find why it doesn't work. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri May 03 13:46:45 2019 Received: (at 35542) by debbugs.gnu.org; 3 May 2019 17:46:45 +0000 Received: from localhost ([127.0.0.1]:49602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMcGh-0000OZ-L3 for submit@debbugs.gnu.org; Fri, 03 May 2019 13:46:44 -0400 Received: from pelzflorian.de ([5.45.111.108]:39190 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMcGf-0000OM-5q for 35542@debbugs.gnu.org; Fri, 03 May 2019 13:46:42 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 0941A360038; Fri, 3 May 2019 19:46:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556905594; bh=egb2vonGwpTbnFkqJ33MDoZJIaBk/nMC4ajDze6v0jg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=2J3iDsgzBFovuF6qj9hATu0xnKBAvh76i83h+ClqkNet+7TAq7zdvuzY3Zjqyk3ND tqIzzBRZAns5MLbOR/V9wqgSOvaaoxAs0TeBQ0NOPm/NlOnH9MXpCZ0BCN6dUe6z58 kKBqK8C6bvzT05BjLqM6tyLYw4K4ewfBs1ZOIzQ4= Date: Fri, 3 May 2019 19:46:33 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8736lvka3k.fsf@gmail.com> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) On Fri, May 03, 2019 at 02:15:27PM +0200, Mathieu Othacehe wrote: > > Hey, > > > Not sure if this can be fixed. Mathieu? > > The textbox object used for the backtrace window only supports vertical > scrolling. However, the text should be broken in lines that fit the box > horizontally, I'll try to find why it doesn't work. > > Mathieu I believe I read about Guile error messages not doing line wrapping in terminals on the Guix or Guile mailing lists recently, but I cannot find it. Proper line wrapping may be the better solution. From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 05:43:41 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 09:43:41 +0000 Received: from localhost ([127.0.0.1]:50394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMrCm-0001yc-Ow for submit@debbugs.gnu.org; Sat, 04 May 2019 05:43:41 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:36518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMrCl-0001yR-Q6 for 35542@debbugs.gnu.org; Sat, 04 May 2019 05:43:40 -0400 Received: by mail-wr1-f41.google.com with SMTP id o4so10832307wra.3 for <35542@debbugs.gnu.org>; Sat, 04 May 2019 02:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:message-id:in-reply-to :date:mime-version; bh=e8BFdZrWYTz6rAuHUyatQ67/9OAzVy/2810W4nFvzwA=; b=T1aYAfBFgdea59SLtYqNKPjLSwc+qb7vzRJGhSq9mPYRih6knHBFHc06JlzHngIgw+ feXEIqcjtIZswN1q08bMbC5bVN/xaBYZ6iDArK4L+TojMJ3rDPvtdoQX7zN1v865pdUs 5FlCXLrDcYwohK6iyKkF3P6OgufMjOj3rYr33PU+UwjaQ1+hHy2PFPzNAYTyhf5FCqqD qyvfeXrTTVROQMOmgY+c3x74hp4eDl4d9Sg9Rdb9iZqPaRujafZQI8+6nVEp0mvAWx9s BI955M5n6mJuvHrGlHegd/KL5BK99OqXiv7zha3oqCNtBOHaLddyVYI23MDSHZp0wGAD 9AxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :message-id:in-reply-to:date:mime-version; bh=e8BFdZrWYTz6rAuHUyatQ67/9OAzVy/2810W4nFvzwA=; b=KRxA7xyfQ29SkIKIay8ErhaN0rrdAawAK3PxuzAtMguXrGNkxN2pywYH1/GJkiOLMY 1Rm/yy/F+MSA4KHeYQvm/YesNotKV760SMGD5B8iHYBjYuxXKZrH7Zh/mZzu2787zoSB Q/cETfNn+HRGli5a1WpvjRedrfdnO8Wr4QwM6vG5OV9O76P2H2M8JvUWOEljXooY+DKK eRdjm92WdP5mahT7gt2LJcRqq7Yu5jShkuFJhHIXKNYUEcvdjIC66n+D7i+m+X597gnJ BdIaG/f2t4jDcf1qYwVnV56VbHdVjd53ykJmvVkeYBN92DaA1tDxxY8jPySkMlYF6Q+Y fg1A== X-Gm-Message-State: APjAAAUwOEFSUSAiO/5XrqOUbyq8J3z3zBg0q239trCVWiY7lNESWFSK Fs8nrQ4rVAvrjO3fmBEOTnuoncI1 X-Google-Smtp-Source: APXvYqwnwkTax/WWyBX0qU/Fc0irneE1aX1+aAxl8zC+vyPcCQ3DPzc9ZWFth1e6rZ/G8PSGSFAnUw== X-Received: by 2002:adf:8bc5:: with SMTP id w5mr10221148wra.226.1556963013367; Sat, 04 May 2019 02:43:33 -0700 (PDT) Received: from cervin ([78.192.96.126]) by smtp.gmail.com with ESMTPSA id a6sm4114288wrp.49.2019.05.04.02.43.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 May 2019 02:43:32 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> User-agent: mu4e 1.2.0; emacs 26.2 From: Mathieu Othacehe To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <87y33msgmy.fsf@gmail.com> In-reply-to: <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> o--text follows this line-- Date: Sat, 04 May 2019 11:43:28 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) --=-=-= Content-Type: text/plain Hello, > I believe I read about Guile error messages not doing line wrapping in > terminals on the Guix or Guile mailing lists recently, but I cannot > find it. Proper line wrapping may be the better solution. In fact the textbox where the backtrace is displayed isn't doing any line wrapping. The attached patch fixes the issue. Thanks, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-installer-Reflow-run-file-textbox-page-text.patch >From f68ded2f134d55c20f98300c0514c4fc18cd1d50 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 4 May 2019 11:33:33 +0200 Subject: [PATCH] installer: Reflow run-file-textbox-page text. * gnu/installer/newt/page.scm (run-file-textbox-page): Reflow FILE-TEXT so that it fits horizontally in the textbox. --- gnu/installer/newt/page.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/installer/newt/page.scm b/gnu/installer/newt/page.scm index 3173d54737..8a32c403df 100644 --- a/gnu/installer/newt/page.scm +++ b/gnu/installer/newt/page.scm @@ -559,7 +559,12 @@ ITEMS when 'Ok' is pressed." '()))))) (form (make-form))) - (set-textbox-text file-textbox file-text) + (set-textbox-text file-textbox + (receive (_w _h text) + (reflow-text file-text + file-textbox-width + 0 0) + text)) (add-form-to-grid grid form #t) (make-wrapped-grid-window grid title) -- 2.17.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 08:24:14 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 12:24:14 +0000 Received: from localhost ([127.0.0.1]:50518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMtiA-00084x-09 for submit@debbugs.gnu.org; Sat, 04 May 2019 08:24:14 -0400 Received: from pelzflorian.de ([5.45.111.108]:40334 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMti8-00084p-3P for 35542@debbugs.gnu.org; Sat, 04 May 2019 08:24:13 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 88244360038; Sat, 4 May 2019 14:24:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556972643; bh=7x/wnStxAUdZuCXfULB50tqvFQFxgsWu+sRkrNXFKXY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DuuWENODtx3p7DWjdgxp4LdNMYT5PiACLw2icvWb1Ekv8GPuxP4sMaNr4RXaO8toW tgG804wIFVLf8802gXnM9tGj/UammsRfwERa4X4j8bs/Jr/iLUOP3oSR7NRLD+XJXD DNjtWYixZ3Vb1qVHF/rGG5WFMWpudquverhf9tL8= Date: Sat, 4 May 2019 14:24:03 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y33msgmy.fsf@gmail.com> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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: -1.0 (-) On Sat, May 04, 2019 at 11:43:28AM +0200, Mathieu Othacehe wrote: > Hello, > > > I believe I read about Guile error messages not doing line wrapping in > > terminals on the Guix or Guile mailing lists recently, but I cannot > > find it. Proper line wrapping may be the better solution. > > In fact the textbox where the backtrace is displayed isn't doing any > line wrapping. The attached patch fixes the issue. > I now get linewrapping, but provoked errors (these are not new bugs!) are cut off like In ./gnu/installer/keymap.scm 163:7 8 (_ _) In unknown file: 7 (scm-error misc-error #f "~A" ("Unable to locate keym…") …) This seems like the same issue as Guile error backtraces only reaching until the right end of the terminal and then getting cut off with ellipses …. I hope it is enough to guix pull from a Guix repo with the patch applied and I do not get wrong output because I have not changed the gnu/packages/package-management.scm Guix package to refer to a patched version as well. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 08:54:26 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 12:54:26 +0000 Received: from localhost ([127.0.0.1]:50551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMuBN-0004aq-Rj for submit@debbugs.gnu.org; Sat, 04 May 2019 08:54:26 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:45982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMuBL-0004ah-WA for 35542@debbugs.gnu.org; Sat, 04 May 2019 08:54:24 -0400 Received: from localhost (178.113.194.41.wireless.dyn.drei.com [178.113.194.41]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4589C3360EF2; Sat, 4 May 2019 14:54:22 +0200 (CEST) Date: Sat, 4 May 2019 14:54:09 +0200 From: Danny Milosavljevic To: "pelzflorian (Florian Pelz)" Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504145409.00768bf6@scratchpost.org> In-Reply-To: <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Bfvt/VOdqADMlK9.91qIBtA"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Mathieu Othacehe 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: -1.7 (-) --Sig_/Bfvt/VOdqADMlK9.91qIBtA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Sat, 4 May 2019 14:24:03 +0200 "pelzflorian (Florian Pelz)" wrote: > I now get linewrapping, but provoked errors (these are not new bugs!) > are cut off like >=20 > In ./gnu/installer/keymap.scm > 163:7 8 (_ _) > In unknown file: > 7 (scm-error misc-error #f "~A" ("Unable to locate > keym=E2=80=A6") =E2=80=A6) >=20 > This seems like the same issue as Guile error backtraces only reaching > until the right end of the terminal and then getting cut off with > ellipses =E2=80=A6. Oh, that again. I've had it before and worked around it before. Try ,use (system repl debug) ; or #:use-module (system repl debug) (terminal-width 2000000) f.e. at the top of gnu/installer.scm --Sig_/Bfvt/VOdqADMlK9.91qIBtA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzNi3EACgkQ5xo1VCww uqWorAf+MrtIKmYI/X6MBSC5j0U/lfovg9ok97H2/gS6eTs8wcEsR7QuICUft7HS aeEAh0KvzlnBL02ujQObPoDLSrpPOiHqHl8QllFqdkZF0Oj33V00rgAdq3bwhHgD 0BbYbMBTBXWFN5sBPwLrfmVxpTY/0htNZfVzBHmC4sPCKKnDrcz5DU99yqSFdAfO +Fj2+oWzpiU2xjb+23UldHGgxiWJLA43qfZkHkNtgw1iEdty+RkctIQjWWD74yVd Wl5JVwpRb7NdYkaz9r/UG8o62fi51VtodHYt+5MCcAc6Cp6pf0qFJnImap+qVk3T dsPcOb1+Un1pILQ4gi5Urr7RKHP8Uw== =nBAA -----END PGP SIGNATURE----- --Sig_/Bfvt/VOdqADMlK9.91qIBtA-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 12:14:59 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 16:14:59 +0000 Received: from localhost ([127.0.0.1]:52049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMxJS-0001Sr-Rb for submit@debbugs.gnu.org; Sat, 04 May 2019 12:14:59 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:42104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMxJQ-0001Sb-LZ for 35542@debbugs.gnu.org; Sat, 04 May 2019 12:14:57 -0400 Received: by mail-wr1-f46.google.com with SMTP id l2so11621422wrb.9 for <35542@debbugs.gnu.org>; Sat, 04 May 2019 09:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=fWT0vzdHcngVWjcxiUBuSONhy79+4655fqiMOfBi7+Y=; b=fATqdFlXLvffpXr3XcttbH+btkGFHNqJBca4n2j6HA1+4lEPuRfa4B386PRrAx8vHi K6h2f75nuL0QY0F7rpOl+ANPrq6IUf5rGpFpnAPpYzgQTDkUj2vgH3tHG+bl69TVbyQA ojWpIhh1PbifbxU2mQEQYrv3diUgD3axkW1PdxLHoSfXiw5vZuMrqOgIuRJPBl2Cwfz9 TNp26Ams6L1F2duT2ymiOQLETAfr+c+MI7o1jVpF9fbRxTXxQe/Xits7Zm1lDbTwNABr L7C7/W8lxKzz+nx9n/ctMxvywuaWSh4Bsu1GLbcB0FPtyTY994aEMq3twlkp/AwRQo2a 3d0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=fWT0vzdHcngVWjcxiUBuSONhy79+4655fqiMOfBi7+Y=; b=GTky5NNIM2TsYZo1BqxPruxlr+2skRdxWsX0OaYviWXvyKc35bGfjX+wtJqmdkvdjf HaX/ZIUezaeyVwnI1LPdJBLYaxy/YHXIEs8unFZE0QeZ0UQhJbtVo2w4Q8NrlvdxXoCT 7wU7ZWgi0rDr0AwUMouz14MS2NV18BTrwooOEZ0Df5OEXWFS/gDAUxiVZKXGFB7VCQY7 2w9rcS0b04XAYSn9FjIseEWP196cfODt7HwTOoUSBiy/P6ZopoMq9p632qnQHPb6fwSt 7xQBdKTT44QGI/gB60ohCfi2IXEs+SnecKFnL8krSnctsY03UbLUs0AqQftQoTd53Qxd O7iA== X-Gm-Message-State: APjAAAWAmmpbyMTDWHqmRfqeLgmXNlnBm/AYdZTNo9ta691xm8Tzbt6M MFbhTJFv0fpBR8iS+TtAuAO0L61n X-Google-Smtp-Source: APXvYqx3N13QqnAvljGd3r7dhSK2746zo6C9JNlDdOFpHvEfVrzj5KZMW+45iZH33Mcef4PGcRyLnQ== X-Received: by 2002:a5d:4ec6:: with SMTP id s6mr10942476wrv.87.1556986490673; Sat, 04 May 2019 09:14:50 -0700 (PDT) Received: from cervin ([78.192.96.126]) by smtp.gmail.com with ESMTPSA id v20sm3738803wmj.10.2019.05.04.09.14.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 May 2019 09:14:49 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Mathieu Othacehe To: Danny Milosavljevic Subject: Re: bug#35542: Installer does not display full backtrace on error In-reply-to: <20190504145409.00768bf6@scratchpost.org> Date: Sat, 04 May 2019 18:14:48 +0200 Message-ID: <87pnoy42o7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" 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: -1.0 (-) Hey, > ,use (system repl debug) ; or #:use-module (system repl debug) > (terminal-width 2000000) > > f.e. at the top of gnu/installer.scm Thanks for testing Florian. Based on Danny suggestion we could set COLUMNS to 200 to have a more verbose backtrace (like guix itself). Using higher values, the backtrace becomes really long and harder to read. WDYT? Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 12:16:05 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 16:16:05 +0000 Received: from localhost ([127.0.0.1]:52055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMxKW-0001Vb-8d for submit@debbugs.gnu.org; Sat, 04 May 2019 12:16:05 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:43129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMxKT-0001Up-Ut for 35542@debbugs.gnu.org; Sat, 04 May 2019 12:16:02 -0400 Received: by mail-wr1-f51.google.com with SMTP id q10so2917371wrj.10 for <35542@debbugs.gnu.org>; Sat, 04 May 2019 09:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=vId2oixmUOk4v7To1jw4upLrq+2y4lAite65XzOOizI=; b=FFkui+iLCzzoPtVYIHss+jK1QQqQD89egtIp2opiVSyRpA12EugJCctQRlq2nSH03c SOkKY9vbf/WlE9pHe1DD9OlW1v9He7ORrntuPyHMws9W8G0GeZJZ7uWOIstPLlAV8xVz h//apsDf5w6ugdFMojeiaJsc84GuBau5WiwDDT0Zl7kvUHyLjRpILApFmg+R6tn1rUxf NFLqzlnF3CqKJ40ZOrBWwHyLKdZ48tSmXxc3Hx2zaxPQPF/bJOKD7bDZNQB/r45Iypu3 hxQeQ+Yo5QjfTy93CpFlUUqxHJVGO4HM6ZH6Iq0DzhuOo8bsSx9dSGqL7XYOAq2V12MN wwWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=vId2oixmUOk4v7To1jw4upLrq+2y4lAite65XzOOizI=; b=kYWiUrfbJNeuONnY6hRmFOJwRDAFK9HYujwdQhi2VfBvMmibUZORPcqImoRieQvB8d U3GSYbA76/0QUXBkueL3XrxXfb/0BmsvSwmp9DXXg5m/okF0AK5kosTliFi4gDQKrV8o Ojw8j19x9PxDa/ejsipizu/X4MyWoEPhV1uBRhmKYJU2+c7fTmCx9eSKnYySl3AMDo87 YjvGiGoYVAXrtZMfMaySB8AfDpLWeEP3Ph2an7grox2V5xC5LIuR7LIqJ3n68ld97tff izs55rFHJU83EWLG7oy0Ct1m8b2d9s+n9cYguHcPoO2q0yD0HtHP3KwbrMcaImnzDGWF CRjQ== X-Gm-Message-State: APjAAAVNHSbnGJtfWMDBKoKRFnumb7U2zpfhPy6PtYXko9ApnXyEfUe+ kgzp0skuJ/vI96ZJlpFP/63PCGnq X-Google-Smtp-Source: APXvYqxkQuB8zd3vVRBGRVtn5HkC1cLWXTFmnAg8YXXjrJzT9qLNnF2LxN6xfigK0TQKFG9RTPSA3A== X-Received: by 2002:adf:cd04:: with SMTP id w4mr5626396wrm.38.1556986556129; Sat, 04 May 2019 09:15:56 -0700 (PDT) Received: from cervin ([78.192.96.126]) by smtp.gmail.com with ESMTPSA id d29sm9673444wrb.61.2019.05.04.09.15.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 May 2019 09:15:55 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.2 From: Mathieu Othacehe To: Danny Milosavljevic Subject: Re: bug#35542: Installer does not display full backtrace on error In-reply-to: <87pnoy42o7.fsf@gmail.com> Date: Sat, 04 May 2019 18:15:54 +0200 Message-ID: <87o94i42md.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" 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: -1.0 (-) --=-=-= Content-Type: text/plain And the patch ... Sorry, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-installer-Increase-backtrace-verbosity.patch >From 3348df0c72e9bcdf31b63155d9c6bdbaee515524 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 4 May 2019 18:10:40 +0200 Subject: [PATCH] installer: Increase backtrace verbosity. * gnu/installer.scm (installer-program): Set COLUMNS env variable to 200 to make guile backtraces more verbose. --- gnu/installer.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/installer.scm b/gnu/installer.scm index fe2841397e..435cad507d 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -400,5 +400,9 @@ selected keymap." ;; some reason, unicode support is not correctly installed ;; when calling this in 'installer-builder'. (setenv "LANG" "en_US.UTF-8") + ;; Initialize 'terminal-width' in (system repl debug) + ;; to a large-enough value to make backtrace more + ;; verbose. + (setenv "COLUMNS" "200") (execl #$(program-file "installer-real" installer-builder) "installer-real")))) -- 2.17.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 13:06:29 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 17:06:29 +0000 Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMy7I-0002o9-Qm for submit@debbugs.gnu.org; Sat, 04 May 2019 13:06:29 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:37686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMy7F-0002nz-Uo for 35542@debbugs.gnu.org; Sat, 04 May 2019 13:06:27 -0400 Received: from localhost (178.113.194.41.wireless.dyn.drei.com [178.113.194.41]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 0614D33606E0; Sat, 4 May 2019 19:06:23 +0200 (CEST) Date: Sat, 4 May 2019 19:06:17 +0200 From: Danny Milosavljevic To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504190617.1b8a8efa@scratchpost.org> In-Reply-To: <87pnoy42o7.fsf@gmail.com> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/hUManB7/ql+7CL/4eZhUaVY"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" 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: -1.7 (-) --Sig_/hUManB7/ql+7CL/4eZhUaVY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Mathieu, On Sat, 04 May 2019 18:14:48 +0200 Mathieu Othacehe wrote: > Thanks for testing Florian. Based on Danny suggestion we could set > COLUMNS to 200 to have a more verbose backtrace (like guix itself). Good idea in principle. > Using higher values, the backtrace becomes really long and harder to > read. WDYT? When we have a designed error message, we present one--and, there, brevity is good. But backtraces are for developers only anyway, and are not designed error messages. So for backtraces I'm against throwing *anything* of the backtrace message away because we don't know what part of it is important (if we did, we'd print a designed error message instead--I'm all for doing that). I think this is something the default Guile setting gets wrong and I don't understand how it can be a good idea to suppress half of a message intended to simplify debugging for a developer "because it's too long". The length is nothing compared to the amount of text a developer has to type in order to reproduce the missing parts later on, if it's even possible. I'm even actually using core files (including attaching to them using a debugger in order to examine variable values), so I might be an outlier. So I'd be for either presenting the entire backtrace or suppressing the entire backtrace, not having teaser backtraces :) --Sig_/hUManB7/ql+7CL/4eZhUaVY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzNxokACgkQ5xo1VCww uqWrtggAjM1wnHPwxkPEpC5vjdrIj45hnnsyPK5LieaMAkdbbFceFtBs65Hbsnvu FFdoqcsVJMnpAjx4iBSMKnh+qdofE3A9MiRjcgNfRe1cxfENvtefcrPb/6iq5goT UN83bhqeQ/DMzmpKDY/Io/NBA65nFRPnmtxo7LYVXiw8RUdFjAX26pYwuAqQyE+4 ygeyhKA3mJZQO9Ekuusi0sxkPjwbGqVaovPiMU4248LtKYwd8xY5QgldLaPhj5AE EG2lWCMhBG5IOuP/DfZoK6Z2gwIWzxTo8wYDIZFo0+cRvyJOKUtVerNbgsmwMjhw HMO2DdbZMq2sAUhF/xltMS2n1Ppn2w== =m2Xv -----END PGP SIGNATURE----- --Sig_/hUManB7/ql+7CL/4eZhUaVY-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 13:26:58 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 17:26:58 +0000 Received: from localhost ([127.0.0.1]:52152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyR8-0003LJ-AT for submit@debbugs.gnu.org; Sat, 04 May 2019 13:26:58 -0400 Received: from pelzflorian.de ([5.45.111.108]:40718 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyR6-0003LA-Ci for 35542@debbugs.gnu.org; Sat, 04 May 2019 13:26:57 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 40A84360038; Sat, 4 May 2019 19:26:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556990807; bh=iMjNy2bFlU9WdvPd6iikhUMLju65Id/VyD2CzkIT31k=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=xKTh/4w57XWSkqf60gtAgyyT5i+ijpHlXW5ZHxk74L2h7KoYAPTxHk/2LXmg1ASWk ImcMEreNyAnayfAHp/PNpcTCrkK3S5fniPAJeZSWmziZy6+tsx5DTzLoXaQICwD9/8 WQw6sHZBAxCWktKfgRu1PrfYGWyWfQjvQvsMHJuc= Date: Sat, 4 May 2019 19:26:47 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504172647.ta3aaigex2tzb5ry@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pnoy42o7.fsf@gmail.com> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Danny Milosavljevic 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: -1.0 (-) On Sat, May 04, 2019 at 06:14:48PM +0200, Mathieu Othacehe wrote: > Thanks for testing Florian. Based on Danny suggestion we could set > COLUMNS to 200 to have a more verbose backtrace (like guix itself). > It works (I have applied both patches). This is one of the longer backtrace steps: In ice-9/eval.scm: 619:8 17 (_ #(#(#(# #< name: newt init: # exit: # exit-error: # fi…> …)) …)) From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 13:38:18 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 17:38:18 +0000 Received: from localhost ([127.0.0.1]:52176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyc6-0003ef-1b for submit@debbugs.gnu.org; Sat, 04 May 2019 13:38:18 -0400 Received: from pelzflorian.de ([5.45.111.108]:40738 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyc4-0003eX-F9 for 35542@debbugs.gnu.org; Sat, 04 May 2019 13:38:16 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id DBA63360038; Sat, 4 May 2019 19:38:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556991488; bh=luYE2jnh+n+3nY1FGZzCz3t3Av3L/Mp1LPSPYoDyyy0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DTQ2Bq+qnUwwoubtoqDwlAf8ZAGcKDOhQ2q91Wd9m2lCTLgxXEmu/ASrzHzotUIh/ 1yKkJziU5EB6woPqHyLRXvzUsCLWSLazqYqzEyUiVEebiOOYXx0UzCm1DqkJ3HTF0v 9qxbY+eHaro6s/cFkUmY5RI6M3OAm8rb3tF7cX5k= Date: Sat, 4 May 2019 19:38:07 +0200 From: "pelzflorian (Florian Pelz)" To: Danny Milosavljevic Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504173807.2fxseiyoa4nvaoae@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <20190504190617.1b8a8efa@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190504190617.1b8a8efa@scratchpost.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Mathieu Othacehe 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: -1.0 (-) On Sat, May 04, 2019 at 07:06:17PM +0200, Danny Milosavljevic wrote: > So I'd be for either presenting the entire backtrace or suppressing the > entire backtrace, not having teaser backtraces :) Let’s assume someone is getting an error in the installer for some reason. If they are Guix developers, maybe they understand the issue from the (trimmed) backtrace. If they are not well-versed in Unix, with the backtrace they can exfiltrate the (trimmed) error with a camera. I hope I understand the purpose correctly. Maybe it saves the people on the mailing list complicated explanations. These maybes become more likely with a fuller backtrace, I suppose. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 13:40:43 2019 Received: (at 35542) by debbugs.gnu.org; 4 May 2019 17:40:43 +0000 Received: from localhost ([127.0.0.1]:52181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyeR-0003iv-Gj for submit@debbugs.gnu.org; Sat, 04 May 2019 13:40:43 -0400 Received: from pelzflorian.de ([5.45.111.108]:40752 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyeP-0003in-Nh for 35542@debbugs.gnu.org; Sat, 04 May 2019 13:40:42 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 3D6B0360038; Sat, 4 May 2019 19:40:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1556991633; bh=3t3l6unxtGBhWlORBpvdPMDfiOkY6cSjpJGow67I7iQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gAez1mM/F1ywZmGj6J6TY6irL9IpPYoUBiYtBuYRqPGrS12PKQpu582J7+6tgVrEF v7/TOHgHNiaQbgQ+q74TLZOebMMyeiliQGkfXeuunSAMAa6yvBLr5PXdtlM1pX2j0U MHiMONRtHpWS6Qd07zaSq8SGnnjt0/kmwnTFB/zs= Date: Sat, 4 May 2019 19:40:32 +0200 From: "pelzflorian (Florian Pelz)" To: Danny Milosavljevic Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190504174032.r756yfjld5gqyabh@pelzflorian.localdomain> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <20190504190617.1b8a8efa@scratchpost.org> <20190504173807.2fxseiyoa4nvaoae@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190504173807.2fxseiyoa4nvaoae@pelzflorian.localdomain> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Mathieu Othacehe 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: -1.0 (-) On Sat, May 04, 2019 at 07:38:07PM +0200, pelzflorian (Florian Pelz) wrote: > On Sat, May 04, 2019 at 07:06:17PM +0200, Danny Milosavljevic wrote: > > So I'd be for either presenting the entire backtrace or suppressing the > > entire backtrace, not having teaser backtraces :) > > Let’s assume someone is getting an error in the installer for some > reason. If they are Guix developers, maybe they understand the issue > from the (trimmed) backtrace. If they are not well-versed in Unix, > with the backtrace they can exfiltrate the (trimmed) error with a > camera. I hope I understand the purpose correctly. Maybe it saves > the people on the mailing list complicated explanations. These maybes > become more likely with a fuller backtrace, I suppose. > On the other hand the error message after the backtrace is hopefully enough most of the time. But maybe it is not. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Wed May 08 10:35:20 2019 Received: (at 35542) by debbugs.gnu.org; 8 May 2019 14:35:20 +0000 Received: from localhost ([127.0.0.1]:33723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONfD-0006cI-Ni for submit@debbugs.gnu.org; Wed, 08 May 2019 10:35:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hONfB-0006c3-E7 for 35542@debbugs.gnu.org; Wed, 08 May 2019 10:35:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONf6-00056H-13; Wed, 08 May 2019 10:35:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37638 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hONex-0007yK-44; Wed, 08 May 2019 10:35:07 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <87o94i42md.fsf@gmail.com> Date: Wed, 08 May 2019 16:35:01 +0200 In-Reply-To: <87o94i42md.fsf@gmail.com> (Mathieu Othacehe's message of "Sat, 04 May 2019 18:15:54 +0200") Message-ID: <87y33hui96.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Danny Milosavljevic , "pelzflorian \(Florian Pelz\)" 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 (---) Hi Mathieu, Mathieu Othacehe skribis: > + ;; Initialize 'terminal-width' in (system repl debug) > + ;; to a large-enough value to make backtrace more > + ;; verbose. > + (setenv "COLUMNS" "200") What about instead doing something like this: (use-modules ((system repl debug) #:select (terminal-width))) (with-fluids ((terminal-width 200)) =E2=80=A6) ? That would ensure we=E2=80=99re only changing Guile=E2=80=99s notion of the= terminal width and not interfering with other tools we might launch as child processes. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 08:10:05 2019 Received: (at 35542) by debbugs.gnu.org; 14 May 2019 12:10:05 +0000 Received: from localhost ([127.0.0.1]:47589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQWFx-0004da-7v for submit@debbugs.gnu.org; Tue, 14 May 2019 08:10:05 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:51338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQWFt-0004ct-9a for 35542@debbugs.gnu.org; Tue, 14 May 2019 08:10:03 -0400 Received: by mail-wm1-f43.google.com with SMTP id o189so2617013wmb.1 for <35542@debbugs.gnu.org>; Tue, 14 May 2019 05:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Iu3EsSImTcrl3BESl8LLkSbxrqRjhDUvEk9CGS3Ab+4=; b=gBlsU4KWUuleJCpVAEiN5OwjGk3hgIHRWVLC4fFdVMgN61+35aifwARmdG3pdss6ou 08hwhbVfD6yUug0+goRyv7jr3scscz6d+8jOl95yxEd3ELvrcDfc5KKh0AiSSv/opDQf R5E4tVH6sDWbxbSUd9dprTgn38ZahLYY1qvLYj1UrzfE4sFW40Q4wPi37DKWTNjfwZl6 EE/f5S3LmzmtBIrMpLsatkxAdPT7JmYhHoYDkHY1c0obToGxisRNu6c8I0FPxVorks8y DV+uChRNfE9HoyG1xOGv2iDlkPRZ0jO/FSWvBWA1xyv3wkBGEaCK1c4CxZ/VjtyE3ywK +fTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Iu3EsSImTcrl3BESl8LLkSbxrqRjhDUvEk9CGS3Ab+4=; b=dmpwW5OYfHmOPTgivOQbUOULJYjNS3AnLMsZR8joj9Lx5TlYyQN9pfI5+24kdni+1/ 4dLkN0/qYrwyFYvdiWZAdP+nOzWIqFtez/gvDhnHB3Td5DBNQvbvKpfjT8Allr8WA2Zo CsU8Nk4dU7GO8EjT/zD16GbfrscCebaDkmmOq/1ZfyesDsJCDrLrAEo2162PcdQidVGp QkPoUj55QLlvQBjpgqC1MYyZOS0MRwsj+72hMsIvRgaUpw3LCUKIhcYI6/lOmqEW23wF h3bDfvYfgne0nJv1tZCQ51unFtsWCuDC9KXPDp+91LJWq8C0qaDIbtztYQ7nu1mxWom9 OCtQ== X-Gm-Message-State: APjAAAVnOfcYQhXVAfyWVaBZhVp+jGVfgQoi/OLbfTBKlNn4kOROX7Up zGrMYnq3FMUaE9qyV2YbhsA= X-Google-Smtp-Source: APXvYqwgk22z8W93NkYu8mqO5EboM11ey3EV9n/8zXeRg6zz+MrTIynUGxnH/F5GBueYrz1u5FQVkw== X-Received: by 2002:a1c:4083:: with SMTP id n125mr15190932wma.54.1557835795613; Tue, 14 May 2019 05:09:55 -0700 (PDT) Received: from fuji (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id p67sm2897628wmp.22.2019.05.14.05.09.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 05:09:53 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <87o94i42md.fsf@gmail.com> <87y33hui96.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.1 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35542: Installer does not display full backtrace on error In-reply-to: <87y33hui96.fsf@gnu.org> Date: Tue, 14 May 2019 14:09:52 +0200 Message-ID: <87y339i6en.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Danny Milosavljevic , "pelzflorian \(Florian Pelz\)" 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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey Ludo, > That would ensure we=E2=80=99re only changing Guile=E2=80=99s notion of t= he terminal > width and not interfering with other tools we might launch as child > processes. > > Thoughts? Seems like a better idea indeed. Here's an update patch. About using 200 or a much larger value as Danny suggested, I don't have a strong opinion myself. WDYT? Thanks, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-installer-Increase-backtrace-verbosity.patch >From d5f792414d0666d554dc8c7b6fee351bbe7a1c14 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Tue, 14 May 2019 14:05:36 +0200 Subject: [PATCH] installer: Increase backtrace verbosity. * gnu/installer.scm (installer-program): Set terminal-width to 200 to make guile backtraces more verbose. --- gnu/installer.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/installer.scm b/gnu/installer.scm index 3dd76707bf..40c06af320 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -336,6 +336,8 @@ selected keymap." (gnu services herd) (guix i18n) (guix build utils) + ((system repl debug) + #:select (terminal-width)) (ice-9 match)) ;; Initialize gettext support so that installers can use @@ -359,6 +361,11 @@ selected keymap." (bindtextdomain "xkeyboard-config" #+(file-append xkeyboard-config "/share/locale")) + ;; Initialize 'terminal-width' in (system repl debug) + ;; to a large-enough value to make backtrace more + ;; verbose. + (terminal-width 200) + (let* ((current-installer newt-installer) (steps (#$steps current-installer))) ((installer-init current-installer)) -- 2.17.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 12:01:27 2019 Received: (at 35542) by debbugs.gnu.org; 14 May 2019 16:01:27 +0000 Received: from localhost ([127.0.0.1]:49654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQZrq-0004T9-8X for submit@debbugs.gnu.org; Tue, 14 May 2019 12:01:27 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:60864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQZrn-0004T0-Ls for 35542@debbugs.gnu.org; Tue, 14 May 2019 12:01:24 -0400 Received: from localhost (178.113.152.22.wireless.dyn.drei.com [178.113.152.22]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 9A6E53360B40; Tue, 14 May 2019 18:01:21 +0200 (CEST) Date: Tue, 14 May 2019 18:01:19 +0200 From: Danny Milosavljevic To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error Message-ID: <20190514180119.3506313b@scratchpost.org> In-Reply-To: <87y33msgmy.fsf@gmail.com> References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ygGYHUW/CDMdyxS/Ax40uyE"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" 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: -1.7 (-) --Sig_/ygGYHUW/CDMdyxS/Ax40uyE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Mathieu, On Sat, 04 May 2019 11:43:28 +0200 Mathieu Othacehe wrote: > Hello, >=20 > > I believe I read about Guile error messages not doing line wrapping in > > terminals on the Guix or Guile mailing lists recently, but I cannot > > find it. Proper line wrapping may be the better solution. =20 >=20 > In fact the textbox where the backtrace is displayed isn't doing any > line wrapping. The attached patch fixes the issue. I've tested and applied that patch. I've also fixed the btrfs problem. I've also added fat16 support (there was ar report about it--although I can't for the life of me find the associated bug report anymore). Oh well, should be an improvement. All these things are available on guix master now. --Sig_/ygGYHUW/CDMdyxS/Ax40uyE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlza5k8ACgkQ5xo1VCww uqWRJAf/T88b4F8yEuVhyy+l7WriiEKvaNfKfuBSOA16cQPu0R4asuOz7R9Wlbf0 T13zQZT/8eu7T+jHsWMdLzVFF5eC22YPAiW34wrQHT9GxJAYvzkEn4vR/xhcpwqE rwnsPJk4s5wqCWZhcdZlWS7Yv/BKpP7gLewYN+87DkScIiWc1IwTlM5Z12ypTnjZ 8LPyh7xyFUa/T+QtZB7n6d3yQd5+CitJt8ysEyi2jRATv4v9wMpA6bnIqdBLrcXZ YoXhT85mOKnGyQR63eIOAWoHIZBt+8bjy3ojkeOxdzAGjGSvT6fXbTEVghK1BR6X GQF6Nf9yovptd8hGiXon+y5yd0AP/w== =8qa3 -----END PGP SIGNATURE----- --Sig_/ygGYHUW/CDMdyxS/Ax40uyE-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 17:02:12 2019 Received: (at 35542) by debbugs.gnu.org; 14 May 2019 21:02:12 +0000 Received: from localhost ([127.0.0.1]:50040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQeYt-0005Pk-TH for submit@debbugs.gnu.org; Tue, 14 May 2019 17:02:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQeYt-0005PX-2T for 35542@debbugs.gnu.org; Tue, 14 May 2019 17:02:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQeYm-0006zV-QT; Tue, 14 May 2019 17:02:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37470 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hQeYl-0000w9-V4; Tue, 14 May 2019 17:02:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#35542: Installer does not display full backtrace on error References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <87o94i42md.fsf@gmail.com> <87y33hui96.fsf@gnu.org> <87y339i6en.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 14 May 2019 23:02:01 +0200 In-Reply-To: <87y339i6en.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 14 May 2019 14:09:52 +0200") Message-ID: <87pnokwy0m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35542 Cc: 35542@debbugs.gnu.org, Danny Milosavljevic , "pelzflorian \(Florian Pelz\)" 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 (---) Hi Mathieu, Mathieu Othacehe skribis: >> That would ensure we=E2=80=99re only changing Guile=E2=80=99s notion of = the terminal >> width and not interfering with other tools we might launch as child >> processes. >> >> Thoughts? > > Seems like a better idea indeed. Here's an update patch. > > About using 200 or a much larger value as Danny suggested, I don't have > a strong opinion myself. WDYT? I think 200 is good. You wouldn=E2=80=99t want the backtrace to be filled = with bytevectors, for instance. Also, if people take pictures of their screen with a backtrace, I hope there=E2=80=99ll still be enough stack frames on the picture. :-) With a = large =E2=80=98terminal-width=E2=80=99, there=E2=80=99s a risk that a single fram= e would fill 10 lines. > From d5f792414d0666d554dc8c7b6fee351bbe7a1c14 Mon Sep 17 00:00:00 2001 > From: Mathieu Othacehe > Date: Tue, 14 May 2019 14:05:36 +0200 > Subject: [PATCH] installer: Increase backtrace verbosity. > > * gnu/installer.scm (installer-program): Set terminal-width to 200 to > make guile backtraces more verbose. LGTM! Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed May 15 03:30:27 2019 Received: (at 35542-done) by debbugs.gnu.org; 15 May 2019 07:30:27 +0000 Received: from localhost ([127.0.0.1]:50860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQoMs-00006w-VX for submit@debbugs.gnu.org; Wed, 15 May 2019 03:30:27 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:32778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQoMq-00006j-Tx for 35542-done@debbugs.gnu.org; Wed, 15 May 2019 03:30:25 -0400 Received: by mail-wm1-f50.google.com with SMTP id c66so4002227wme.0 for <35542-done@debbugs.gnu.org>; Wed, 15 May 2019 00:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=bRYfr0XbK1z0b9hHRjpxuEu0GeSqy0L6iPhmDBH+3Eg=; b=c0/BdlbhnwGnDzpr0RiKrvS0xJ4fo9Z/Tj03lC0EMOPxqh1kC/GbuVGBC3uC+AFl91 0/xxam2FSzHuIwghKZdnSdWDaLsGA5XsEAVEeSGqHZ9fqQYgRj0Ul6PPpZX9g3QDDEIQ D7kj9cWfOheMIMS9KI7ZDA8oEHAuuHzs4/7acUqIic50ZHVwiWNOyfmmi2SyPuM5ZfbF JWUBPHq7AQUqAA7ldnHClNwZTy30WwmtHwguC0Gmzr/gO3T+zOzgvXUWoK6O2zeDrije RID/ICzNzpuZWetA7M1UZUYVBa9TepPKyW1Obzrx1AfD+G+OwpFUiDs447AnG2F/+smS XKdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=bRYfr0XbK1z0b9hHRjpxuEu0GeSqy0L6iPhmDBH+3Eg=; b=iMJbzjTxgF4xAJy6zKS16/bNG6Vq5I6PuDR7QeeEEGXkuL9hmvTJIFZGjf02XmIyfr TYSf48tlFE4HhQOeoJoLesZ9SvIjlVUnjjNFycoudM8WybiZq3p8/PE/aoXvllYHin3m x1JMieCRMrCX9feb5Hf4ZZnAo8vsphABOMXeB22eD64JI/wFz/BrTft+RKh+/ASYxWSs YD1PrZcHm9H1+DcebencJ1tHSyYufU3lthHlO1J9PDEh6YKVwTJ/Ez9gc6IUrHbW9RtU cyHYEubxPp9npNDXrDmz15Ho4bkj3/4PgsubqLhUmdCjjvm+w9vRma7ulxOrPos+4KtO BuFg== X-Gm-Message-State: APjAAAUMV4BVhMyqTSEPdzeemU4M8aZWYMgA3utqjnoS3rppRx9DEr3M VlMrrcN5A/RxkiOpH/uVOYI= X-Google-Smtp-Source: APXvYqxthp6KP5m6FQ82EQIbBR4D5OR1XD7fSaBBhqdXw1/gZJ9AqmO5WFFMobxMrE1+kftlCXjD7A== X-Received: by 2002:a1c:e718:: with SMTP id e24mr12347242wmh.27.1557905419074; Wed, 15 May 2019 00:30:19 -0700 (PDT) Received: from fuji (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id f81sm1228367wmf.10.2019.05.15.00.30.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 00:30:17 -0700 (PDT) References: <20190503085927.ib5gudynudeknclm@pelzflorian.localdomain> <87ef5fetnv.fsf@gnu.org> <8736lvka3k.fsf@gmail.com> <20190503174633.otzjizlfjhr4bkca@pelzflorian.localdomain> <87y33msgmy.fsf@gmail.com> <20190504122403.noe5hirk6u3qtmcm@pelzflorian.localdomain> <20190504145409.00768bf6@scratchpost.org> <87pnoy42o7.fsf@gmail.com> <87o94i42md.fsf@gmail.com> <87y33hui96.fsf@gnu.org> <87y339i6en.fsf@gmail.com> <87pnokwy0m.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.1 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#35542: Installer does not display full backtrace on error In-reply-to: <87pnokwy0m.fsf@gnu.org> Date: Wed, 15 May 2019 09:30:16 +0200 Message-ID: <87v9yci393.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35542-done Cc: 35542-done@debbugs.gnu.org, Danny Milosavljevic , "pelzflorian \(Florian Pelz\)" 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: -1.0 (-) Hey, > I think 200 is good. You wouldn=E2=80=99t want the backtrace to be fille= d with > bytevectors, for instance. Fine with me. Pushed. Thanks for reviewing, Mathieu From unknown Mon Aug 18 14:22:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 12 Jun 2019 11:24:06 +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