unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <m.othacehe@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 35542@debbugs.gnu.org
Subject: bug#35542: Installer does not display full backtrace on error
Date: Sat, 04 May 2019 18:15:54 +0200	[thread overview]
Message-ID: <87o94i42md.fsf@gmail.com> (raw)
In-Reply-To: <87pnoy42o7.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 36 bytes --]


And the patch ...

Sorry,

Mathieu

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-installer-Increase-backtrace-verbosity.patch --]
[-- Type: text/x-diff, Size: 1010 bytes --]

From 3348df0c72e9bcdf31b63155d9c6bdbaee515524 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <m.othacehe@gmail.com>
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


  reply	other threads:[~2019-05-04 16:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-03  8:59 bug#35542: Installer does not display full backtrace on error pelzflorian (Florian Pelz)
2019-05-03  9:40 ` Danny Milosavljevic
2019-05-03 10:09 ` Ludovic Courtès
2019-05-03 12:15   ` Mathieu Othacehe
2019-05-03 17:46     ` pelzflorian (Florian Pelz)
2019-05-04  9:43       ` Mathieu Othacehe
2019-05-04 12:24         ` pelzflorian (Florian Pelz)
2019-05-04 12:54           ` Danny Milosavljevic
2019-05-04 16:14             ` Mathieu Othacehe
2019-05-04 16:15               ` Mathieu Othacehe [this message]
2019-05-08 14:35                 ` Ludovic Courtès
2019-05-14 12:09                   ` Mathieu Othacehe
2019-05-14 21:02                     ` Ludovic Courtès
2019-05-15  7:30                       ` Mathieu Othacehe
2019-05-04 17:06               ` Danny Milosavljevic
2019-05-04 17:38                 ` pelzflorian (Florian Pelz)
2019-05-04 17:40                   ` pelzflorian (Florian Pelz)
2019-05-04 17:26               ` pelzflorian (Florian Pelz)
2019-05-14 16:01         ` Danny Milosavljevic

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=87o94i42md.fsf@gmail.com \
    --to=m.othacehe@gmail.com \
    --cc=35542@debbugs.gnu.org \
    --cc=dannym@scratchpost.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).