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

WMI failures in getting local drive list show no indication of failure #4499

Open
1 task
foxtechnica opened this issue Dec 27, 2022 · 1 comment
Open
1 task

Comments

@foxtechnica
Copy link

foxtechnica commented Dec 27, 2022

What kind of issue is this?

  • Feature Request.

When going to Devices->Logical, indicate an error in getting the drives list instead of being entirely blank.

Similarly for when trying to start a new project or open an existing one. With WMI failing, unchecking "Use default location" loads an empty list under Devices, instead of indicating an error getting the device list.

edit: This also occurs using CLI command "pio device list --logical". It just returns nothing instead of indicating an error parsing from wmic.


Configuration

VSCode in Windows 10, probably Windows in general:

Description of problem

WMI initialization issues cause "wmic logicaldisk get name,VolumeName" to return "invalid namespace" instead of the list of drives.

A Windows problem for sure, but there's no indication from PIO what's actually going on.

Steps to Reproduce

  1. Force Windows Update to break WMI?

Additional info

https://learn.microsoft.com/en-us/answers/questions/684166/failed-to-initialize-all-required-wmi-classes.html

@ivankravets
Copy link
Member

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