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

net_connections() are broken after 4.3.1 in Windows XP #1027

Closed
alxchk opened this issue Apr 27, 2017 · 1 comment
Closed

net_connections() are broken after 4.3.1 in Windows XP #1027

alxchk opened this issue Apr 27, 2017 · 1 comment
Labels

Comments

@alxchk
Copy link
Contributor

alxchk commented Apr 27, 2017

Last working release is 4.3.1

>>> psutil.net_connections()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\psutil\__init__.py", line 1935, in net_connections
    return _psplatform.net_connections(kind)
  File "C:\Python27\lib\site-packages\psutil\_pswindows.py", line 273, in net_connections
    rawlist = cext.net_connections(_pid, families, types)
WindowsError: [Error 50] The request is not supported
>>>
@giampaolo
Copy link
Owner

giampaolo commented Apr 27, 2017

I see. Well, win XP is no longer supported and I don't want to invest time into fixing this bug, sorry.
I suppose latest release will have other issues as well.
As per psutil doc 3.4.2 is the latest binary version working with XP and current code "may" work on win XP if compiled from sources:
https://pythonhosted.org/psutil/#q-a

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

No branches or pull requests

2 participants