ANSI sequences in unattended-upgrades.log?

OpenSubmitted by Simon Josefsson.
Details
3 participants
  • 藍挺瑋
  • Ludovic Courtès
  • Simon Josefsson
Owner
unassigned
Severity
normal
S
S
Simon Josefsson wrote on 1 Dec 2020 10:00
(address . bug-guix@gnu.org)
875z5ldhpk.fsf@latte.josefsson.org
Hi! The unattended-upgrades.log file is quite unreadable due to ANSIsequences. Probably use of them should be disabled when output is a logfile?
/Simon
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCX8YGFwAKCRBRcisI/kdFopweAQCuk8rulEnw2mdvz66KjBbq1uuyesIGoRB8NW3eUJWpYAD+KT8x6FZ/hw3vc3NoouU2OB2pkg8KDrwePP/BmT2lVwU==RBmo-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 18 Dec 2020 22:05
(name . Simon Josefsson)(address . simon@josefsson.org)(address . 44985@debbugs.gnu.org)
871rfmakpu.fsf@gnu.org
Hi!
Simon Josefsson <simon@josefsson.org> skribis:
Toggle quote (4 lines)> 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 workbecause it’s written on the daemon side.
Ludo’.
藍挺瑋 wrote on 14 Jun 16:19 +0200
ANSI sequences in unattended-upgrades.log?
(address . 44985@debbugs.gnu.org)
adfb2d96758061498a67f0e622c20a49dea81633.camel@gmail.com
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?'.
L
L
Ludovic Courtès wrote on 18 Jun 11:57 +0200
(name . 藍挺瑋)(address . lantw44@gmail.com)(address . 44985@debbugs.gnu.org)
87a6nnh4wf.fsf@gnu.org
Please open a new bug as this does not relate tohttps://issues.guix.gnu.org/44985.
Thanks in advance!
Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 44985@debbugs.gnu.org