cuirass-remote-server: put-char encoding failed

  • Open
  • quality assurance status badge
Details
3 participants
  • Felix Lechner
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Mathieu Othacehe
Severity
normal

Debbugs page

M
M
Mathieu Othacehe wrote on 23 Nov 2022 00:51
(address . bug-guix@gnu.org)
878rk2vys9.fsf@gnu.org
Hello,

On Cuirass 1.1.0-13.1341725, the fetch workers are experimenting the
following issue:

Toggle snippet (15 lines)
2022-11-22 00:28:15 In cuirass/scripts/remote-server.scm:
2022-11-22 00:28:15 415:12 3 (_)
2022-11-22 00:28:15 387:7 2 (run-fetch _)
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/wbnmp70x7hcwr9h5iw0v3w7waclw277x-rust-openssl-sys-0.9.75.drv'
2022-11-22 00:28:15 In unknown file:
2022-11-22 00:28:15 1 (display "2022-11-22T00:28:15 fetching '/gnu/store/hl2dkk1ayavfxpydm5r12kjz201idk1g-rust-num-0.3.0.drv' from http://141.80.167.165:5558\n" #<output: file 2>)
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/12dyhjzl0cy984jif7pp9w9hsrdgkcdf-rust-trust-dns-openssl-0.18.1.drv'
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/j44ia9xffsggflgwg29q1l89vbga2y25-rust-trust-dns-https-0.18.1.drv'
2022-11-22 00:28:15 In ice-9/boot-9.scm:
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/g9xa21wmxyk1sfra84pq3mx8hvlx10hh-rust-actix-server-config-0.1.2.drv'
2022-11-22 00:28:15 1685:16 0 (raise-exception _ #:continuable? _)
2022-11-22 00:28:15 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2022-11-22 00:28:15 Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<output: file 2> #\2)'.

Thanks,

Mathieu
L
L
Ludovic Courtès wrote on 23 Nov 2022 05:59
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 59510@debbugs.gnu.org)
878rk1hiux.fsf@gnu.org
Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

Toggle quote (3 lines)
> On Cuirass 1.1.0-13.1341725, the fetch workers are experimenting the
> following issue:

Is this a regression?

Toggle quote (14 lines)
> 2022-11-22 00:28:15 In cuirass/scripts/remote-server.scm:
> 2022-11-22 00:28:15 415:12 3 (_)
> 2022-11-22 00:28:15 387:7 2 (run-fetch _)
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/wbnmp70x7hcwr9h5iw0v3w7waclw277x-rust-openssl-sys-0.9.75.drv'
> 2022-11-22 00:28:15 In unknown file:
> 2022-11-22 00:28:15 1 (display "2022-11-22T00:28:15 fetching '/gnu/store/hl2dkk1ayavfxpydm5r12kjz201idk1g-rust-num-0.3.0.drv' from http://141.80.167.165:5558\n" #<output: file 2>)
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/12dyhjzl0cy984jif7pp9w9hsrdgkcdf-rust-trust-dns-openssl-0.18.1.drv'
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/j44ia9xffsggflgwg29q1l89vbga2y25-rust-trust-dns-https-0.18.1.drv'
> 2022-11-22 00:28:15 In ice-9/boot-9.scm:
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/g9xa21wmxyk1sfra84pq3mx8hvlx10hh-rust-actix-server-config-0.1.2.drv'
> 2022-11-22 00:28:15 1685:16 0 (raise-exception _ #:continuable? _)
> 2022-11-22 00:28:15 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> 2022-11-22 00:28:15 Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<output: file 2> #\2)'.

The string passed to ‘display’ above is pure ASCII so I wonder how we
can get that exception, apart from having ‘current-error-port’ using a
non-ASCII-compatible encoding such as UTF-32.

Ludo’.
L
L
Ludovic Courtès wrote on 8 Dec 2022 03:00
control message for bug #59510
(address . control@debbugs.gnu.org)
87k032f9e3.fsf@gnu.org
tags 59510 + moreinfo
quit
F
F
Felix Lechner wrote on 20 Jan 19:56 -0800
Re: bug#59510: cuirass-remote-server: put-char encoding failed
(address . 59510@debbugs.gnu.org)
8734urz6ds.fsf@lease-up.com
Hi,

Toggle quote (4 lines)
> 2022-11-22 00:28:15 Throw to key `encoding-error' with args
> `("put-char" "conversion to port encoding failed" 84 #<output: file 2>
> #\2)'.

Could the error be due to the 7-bit encoding in HTTP headers? [1] The
"84" is EILSEQ from errno.h. [2] Wingo added the functionality here. [3]

I also submitted a patch to resolve in the errno in Guile. [4]

Kind regards
Felix

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 59510@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59510
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch