Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeEncodeError: 'ascii' codec can't encode characters in position #392

Open
freeload101 opened this issue Oct 11, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@freeload101
Copy link

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)

@freeload101 freeload101 added the bug Something isn't working label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants