pyrocore icon indicating copy to clipboard operation
pyrocore copied to clipboard

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

Open Merlincool opened this issue 4 years ago • 0 comments

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.

Merlincool avatar Dec 02 '21 18:12 Merlincool