GNU bug report logs - #44985
ANSI sequences in unattended-upgrades.log?

Previous Next

Package: guix;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Tue, 1 Dec 2020 09:01:01 UTC

Severity: normal

To reply to this bug, email your comments to 44985 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#44985; Package guix. (Tue, 01 Dec 2020 09:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Josefsson <simon <at> josefsson.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 01 Dec 2020 09:01:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Josefsson <simon <at> josefsson.org>
To: bug-guix <at> gnu.org
Subject: ANSI sequences in unattended-upgrades.log?
Date: Tue, 01 Dec 2020 10:00:07 +0100
[Message part 1 (text/plain, inline)]
Hi!  The unattended-upgrades.log file is quite unreadable due to ANSI
sequences.  Probably use of them should be disabled when output is a log
file?

/Simon
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#44985; Package guix. (Fri, 18 Dec 2020 21:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 44985 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 44985 <at> debbugs.gnu.org
Subject: Re: bug#44985: ANSI sequences in unattended-upgrades.log?
Date: Fri, 18 Dec 2020 22:05:33 +0100
Hi!

Simon Josefsson <simon <at> josefsson.org> skribis:

> Hi!  The unattended-upgrades.log file is quite unreadable due to ANSI
> sequences.  Probably use of them should be disabled when output is a log
> file?

This is mostly fixed by d613c1771a1986d3c0f1e034155fde41f32f9b8e.

There’s one remaining case where ANSI escapes can go through, that’s the
“updating substitutes” messages.  This one requires a bit more work
because it’s written on the daemon side.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#44985; Package guix. (Mon, 14 Jun 2021 14:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 44985 <at> debbugs.gnu.org (full text, mbox):

From: 藍挺瑋 <lantw44 <at> gmail.com>
To: 44985 <at> debbugs.gnu.org
Subject: ANSI sequences in unattended-upgrades.log?
Date: Mon, 14 Jun 2021 22:19:23 +0800
The commit d613c1771a1986d3c0f1e034155fde41f32f9b8e seems to break tests/guix-
environment.sh test for Guix 1.3.0 on Guile 2.2.7.

The line which causes the test to fail is:

  (when (zero? (modulo (round (* 100. (/ transferred size))) 10))

When Guile 2.2.7 runs this line, it fails with the error:

  Wrong type (expecting exact integer): 2.0

The error comes from the call to 'zero?'.




Information forwarded to bug-guix <at> gnu.org:
bug#44985; Package guix. (Fri, 18 Jun 2021 09:58:01 GMT) Full text and rfc822 format available.

Message #14 received at 44985 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 藍挺瑋 <lantw44 <at> gmail.com>
Cc: 44985 <at> debbugs.gnu.org
Subject: Re: bug#44985: ANSI sequences in unattended-upgrades.log?
Date: Fri, 18 Jun 2021 11:57:04 +0200
Please open a new bug as this does not relate to
<https://issues.guix.gnu.org/44985>.

Thanks in advance!

Ludo’.




This bug report was last modified 2 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.