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
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 323, in init
self._init(pid)
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 359, in _init
self.create_time()
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 752, in create_time
self._create_time = self._proc.create_time()
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1714, in wrapper
return fun(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1945, in create_time
ctime = float(self._parse_stat_file()['create_time'])
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1714, in wrapper
return fun(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/psutil/_common.py", line 497, in wrapper
raise raise_from(err, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.9/dist-packages/psutil/_common.py", line 495, in wrapper
return fun(self)
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1796, in _parse_stat_file
ret['blkio_ticks'] = fields[39] # aka 'delayacct_blkio_ticks'
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Summary
Description
We run smartos and blkio_ticks is not supported in the OS. There should be a validation of each supported modules before adding into the object.
Problematic code above and error below:
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 323, in init
self._init(pid)
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 359, in _init
self.create_time()
File "/usr/local/lib/python3.9/dist-packages/psutil/init.py", line 752, in create_time
self._create_time = self._proc.create_time()
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1714, in wrapper
return fun(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1945, in create_time
ctime = float(self._parse_stat_file()['create_time'])
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1714, in wrapper
return fun(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/psutil/_common.py", line 497, in wrapper
raise raise_from(err, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.9/dist-packages/psutil/_common.py", line 495, in wrapper
return fun(self)
File "/usr/local/lib/python3.9/dist-packages/psutil/_pslinux.py", line 1796, in _parse_stat_file
ret['blkio_ticks'] = fields[39] # aka 'delayacct_blkio_ticks'
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: