all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59510: cuirass-remote-server: put-char encoding failed
@ 2022-11-23  8:51 Mathieu Othacehe
  2022-11-23 13:59 ` Ludovic Courtès
  2024-01-21  3:56 ` Felix Lechner via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2022-11-23  8:51 UTC (permalink / raw)
  To: 59510


Hello,

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

--8<---------------cut here---------------start------------->8---
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)'.
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59510: cuirass-remote-server: put-char encoding failed
  2022-11-23  8:51 bug#59510: cuirass-remote-server: put-char encoding failed Mathieu Othacehe
@ 2022-11-23 13:59 ` Ludovic Courtès
  2024-01-21  3:56 ` Felix Lechner via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-11-23 13:59 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 59510

Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

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

Is this a regression?

> 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’.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59510: cuirass-remote-server: put-char encoding failed
  2022-11-23  8:51 bug#59510: cuirass-remote-server: put-char encoding failed Mathieu Othacehe
  2022-11-23 13:59 ` Ludovic Courtès
@ 2024-01-21  3:56 ` Felix Lechner via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Felix Lechner via Bug reports for GNU Guix @ 2024-01-21  3:56 UTC (permalink / raw)
  To: 59510; +Cc: Mathieu Othacehe, Ludovic Courtès

Hi,

> 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

[1] https://lists.gnu.org/archive/html/guile-user/2020-09/msg00015.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/errno.h#n67
[3] https://git.savannah.gnu.org/cgit/guile.git/commit/?id=43b6feeb1adafe54170304e7cc3c29a15c1d3808
[4] https://debbugs.gnu.org/68624




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-21  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  8:51 bug#59510: cuirass-remote-server: put-char encoding failed Mathieu Othacehe
2022-11-23 13:59 ` Ludovic Courtès
2024-01-21  3:56 ` Felix Lechner via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.