-
Notifications
You must be signed in to change notification settings - Fork 214
ldshell logs show
is broken in OSS build
#62
Comments
Even easier, running this inside the container triggers the error.
I tried it on my personal laptop outside the container and it worked correctly. I use Maybe we should install Python 3.7 in the container then? |
@MohamedBassem, unfortunately, Nubia and hence LDShell are not Python 3.7 compatible at the moment (see facebookarchive/python-nubia#2). I hope @calebmarchent and/or myself will be able to address it soon(-ish). |
Logs Show is using hardcoded utf-8 charaters to render the tree; ▼ is "\u25BC". But by default the docker container shell is configured without UTF-8 support.
Docker containers are intended to provide lean controlled environments for individual services to run in so the majority of the terminal things we are used to as developers are not present (e.g. an editor). In terms of a solution: we could update the Docker container shell to have UTF-8 enabled. Or we could remove the UTF-8 characters from the ldshell UI, replacing "▼" with "V" and "▶" with ">". |
Discussed further internally: the key features of ldshell include enhanced and hence intuitive presentation; use of UTF-8 will remain. |
Fixed by: #63 |
Steps to reproduce:
ld-dev-cluster
using the ubuntu docker imagelogs show
The text was updated successfully, but these errors were encountered: