Describe the bug
UnicodeEncodeError: 'ascii' codec can't encode characters
[A clear and concise description of what the bug is.]
cat txt.txt
Traceback (most recent call last):
File "/usr/local/bin/bpytop", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 4872, in main
Init.start()
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 4414, in start
Draw.out("banner")
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 955, in out
cls.now(out)
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 914, in now
print(*args, sep="", end="", flush=True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-31: ordinal not in range(128)
To Reproduce
[Steps to reproduce the behavior:]
bpytop
Expected behavior
[A clear and concise description of what you expected to happen.]
Screenshots
[If applicable, add screenshots to help explain your problem.]
Info (please complete the following information):
bpytop version: bpytop -v
bpytop version: 1.0.54
psutil version: bpytop -v (version 5.7.0 or above is required)
psutil version: 5.9.2
(Linux) Linux distribution and version:
"18.04.6 LTS (Bionic Beaver)"
Terminal used:
any
Font used:
any
Python version, python3 --version (version 3.6 or above is required):
Python 3.6.9
Additional context
contents of ~/.config/bpytop/error.log
(try running bpytop with --debug flag if error.log is empty)
Describe the bug UnicodeEncodeError: 'ascii' codec can't encode characters
[A clear and concise description of what the bug is.] cat txt.txt Traceback (most recent call last): File "/usr/local/bin/bpytop", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 4872, in main
Init.start()
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 4414, in start
Draw.out("banner")
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 955, in out
cls.now(out)
File "/usr/local/lib/python3.6/dist-packages/bpytop.py", line 914, in now
print(*args, sep="", end="", flush=True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-31: ordinal not in range(128)
To Reproduce
[Steps to reproduce the behavior:] bpytop
Expected behavior
[A clear and concise description of what you expected to happen.]
Screenshots
[If applicable, add screenshots to help explain your problem.]
Info (please complete the following information):
bpytop version:
bpytop -v
bpytop version: 1.0.54
psutil version:
bpytop -v
(version 5.7.0 or above is required) psutil version: 5.9.2(Linux) Linux distribution and version: "18.04.6 LTS (Bionic Beaver)"
Terminal used: any
Font used: any
Python version,
python3 --version
(version 3.6 or above is required): Python 3.6.9Additional context
contents of
~/.config/bpytop/error.log
(try running bpytop with
--debug
flag if error.log is empty)