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

list(psutil.win_service_iter()) throwing exception UnicodeDecodeError #879

Closed
Kozubi opened this issue Sep 1, 2016 · 1 comment
Closed

Comments

@Kozubi
Copy link

Kozubi commented Sep 1, 2016

Hello,
My platform is:
Windows 10 pro 64 bit polish language
When I try to use

list(psutil.win_service_iter())
psutil.win_service_get("alg")

I get exception:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Python34\lib\site-packages\psutil\_pswindows.py", line 342, in win_service_iter
    for name, display_name in cext.winservice_enumerate():
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 2: invalid start byte
@giampaolo
Copy link
Owner

Closing as a duplicate of #866. I will release a new version soon.

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

2 participants