* bug#44985: ANSI sequences in unattended-upgrades.log?
@ 2020-12-01 9:00 Simon Josefsson via Bug reports for GNU Guix
2020-12-18 21:05 ` Ludovic Courtès
2021-06-14 14:19 ` 藍挺瑋
0 siblings, 2 replies; 4+ messages in thread
From: Simon Josefsson via Bug reports for GNU Guix @ 2020-12-01 9:00 UTC (permalink / raw)
To: 44985
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#44985: ANSI sequences in unattended-upgrades.log?
2020-12-01 9:00 bug#44985: ANSI sequences in unattended-upgrades.log? Simon Josefsson via Bug reports for GNU Guix
@ 2020-12-18 21:05 ` Ludovic Courtès
2021-06-14 14:19 ` 藍挺瑋
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-12-18 21:05 UTC (permalink / raw)
To: Simon Josefsson; +Cc: 44985
Hi!
Simon Josefsson <simon@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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#44985: ANSI sequences in unattended-upgrades.log?
2020-12-01 9:00 bug#44985: ANSI sequences in unattended-upgrades.log? Simon Josefsson via Bug reports for GNU Guix
2020-12-18 21:05 ` Ludovic Courtès
@ 2021-06-14 14:19 ` 藍挺瑋
2021-06-18 9:57 ` Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: 藍挺瑋 @ 2021-06-14 14:19 UTC (permalink / raw)
To: 44985
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?'.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#44985: ANSI sequences in unattended-upgrades.log?
2021-06-14 14:19 ` 藍挺瑋
@ 2021-06-18 9:57 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2021-06-18 9:57 UTC (permalink / raw)
To: 藍挺瑋; +Cc: 44985
Please open a new bug as this does not relate to
<https://issues.guix.gnu.org/44985>.
Thanks in advance!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-18 9:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 9:00 bug#44985: ANSI sequences in unattended-upgrades.log? Simon Josefsson via Bug reports for GNU Guix
2020-12-18 21:05 ` Ludovic Courtès
2021-06-14 14:19 ` 藍挺瑋
2021-06-18 9:57 ` Ludovic Courtès
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).