You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, a Glances' user report me an issue on the process command line with malformed UTF8 chars. See complete report here: nicolargo/glances#391
Extract:
File "/usr/lib/python3.4/site-packages/psutil/__init__.py", line 551, in cmdline
return self._proc.cmdline()
File "/usr/lib/python3.4/site-packages/psutil/_pslinux.py", line 694, in wrapper
return fun(self, *args, **kwargs)
File "/usr/lib/python3.4/site-packages/psutil/_pslinux.py", line 771, in cmdline
return [x for x in f.read().split('\x00') if x]
File "/usr/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 61: unexpected end of data
Can you have a look on it ?
The text was updated successfully, but these errors were encountered:
Hey there, sorry for the late reply. I think psutil is doing the right thing in letting that kind of exception propagate. It should be up to the app (e.g. glances) to decide what to do in that situation. For the record, I think it's likely that the OP problem is related to the terminal using a locale different than UTF-8. I'm going to close this out as won't fix.
Hi, a Glances' user report me an issue on the process command line with malformed UTF8 chars. See complete report here: nicolargo/glances#391
Extract:
Can you have a look on it ?
The text was updated successfully, but these errors were encountered: