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

psutil 5.7.0 issue on Windows 10 #810

Closed
stennie opened this issue Jul 3, 2020 · 0 comments
Closed

psutil 5.7.0 issue on Windows 10 #810

stennie opened this issue Jul 3, 2020 · 0 comments
Milestone

Comments

@stennie
Copy link
Collaborator

stennie commented Jul 3, 2020

There is apparently an issue with psutil 5.7.0 on Windows 10 that causes mlaunch list to fail with a permission error: giampaolo/psutil#1723

For example:

mlaunch list
Traceback (most recent call last):
  File "c:\program files (x86)\python38-32\lib\site-packages\psutil\_common.py", line 449, in wrapper
    ret = self._cache[fun]
AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "c:\program files (x86)\python38-32\lib\site-packages\psutil\_pswindows.py", line 679, in wrapper
    return fun(self, *args, **kwargs)
  File "c:\program files (x86)\python38-32\lib\site-packages\psutil\_common.py", line 452, in wrapper
    return fun(self)
  File "c:\program files (x86)\python38-32\lib\site-packages\psutil\_pswindows.py", line 766, in exe
    exe = cext.proc_exe(self.pid)
PermissionError: [WinError 24] The program issued a command but the command length is incorrect: '(originated from NtQuerySystemInformation)'

Installing the previous minor version (python3 -m pip install psutil==5.6.7) resolves the issue.

mtools' psutil dependency should specify <5.7.0 until this is resolved.

@stennie stennie added this to the 1.6.4 milestone Jul 3, 2020
stennie added a commit to stennie/mtools that referenced this issue Jul 3, 2020
@stennie stennie closed this as completed in 9eda0a4 Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant