You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Kathara terminal renders text from pc1/a, starts the shell and stays open.
Screenshots
Error (visible for <1 second):
"check" Command Output
* Current Manager is: Docker (Kathara)
* Manager version is: 23.0.1
* Python version is: 3.10.7 (main, Dec 28 2022, 15:08:11) [GCC 12.2.0]
* Kathara version is: 3.5.5
* Operating System version is: Linux-6.1.15-1-lts-x86_64
* Trying to run `Hello World` container...
Deploying devices...|###################################################################################################################################################################################################################################################| 1/1
* Container run successfully.
Deleting devices...|####################################################################################################################################################################################################################################################| 1/1
Tested on Arch Linux (updated today) and Windows 10
The text was updated successfully, but these errors were encountered:
We have this error since the current version of Kathará manages the print of the startup logs on the terminal directly in Python and using the 'utf-8' encoding.
The new version will manage the print on the container, using its locale and preventing the terminal emulator from crashing.
Describe the bug
Kathara terminal crashes if startup script output contains text that cannot be parsed as UTF-8
To Reproduce
Steps to reproduce the behavior:
kathara lstart
pc1
terminal should show up and immediately crash with an error shown on screenshot below.$ tree
:pc1/a
:lab.conf
:pc1.startup
:Note that contents of
pc1/a
are not valid UTF-8:cat pc1/a | xxd
:file -i pc1/a
iconv -t utf-8 pc1/a
Expected behavior
Kathara terminal renders text from
pc1/a
, starts the shell and stays open.Screenshots
Error (visible for <1 second):
"check" Command Output
Tested on Arch Linux (updated today) and Windows 10
The text was updated successfully, but these errors were encountered: