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

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 1: ordinal not in range(128) #114

Open
Merlincool opened this issue Dec 2, 2021 · 0 comments

Comments

@Merlincool
Copy link

Merlincool commented Dec 2, 2021

I am getting this error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 1: ordinal not in range(128)

Traceback (most recent call last):
File "/home/$USER/bin/chtor", line 11, in
load_entry_point('pyrocore', 'console_scripts', 'chtor')()
File "/home/$USER/.local/pyroscope/src/pyrocore/scripts/chtor.py", line 311, in run
MetafileChanger().run()
File "/home/$USER/.local/pyroscope/src/pyrocore/scripts/base.py", line 268, in run
self.mainloop()
File "/home/$USER/.local/pyroscope/src/pyrocore/scripts/chtor.py", line 247, in mainloop
metafile.add_fast_resume(metainfo, datadir)
File "/home/$USER/.local/pyroscope/src/pyrocore/util/metafile.py", line 330, in add_fast_resume
filepath = os.path.join(datapath, fmt.to_utf8(filepath.strip(os.sep)))
File "/home/$USER/.local/pyroscope/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 1: ordinal not in range(128)

Details of my OS.
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-5-amd64
Architecture: x86-64

Can't find anyway to make it utf-8 decoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant