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

Command "wmic PROCESS 11756 get workingsetsize,usermodetime,kernelmodetime" failed with error Error: spawn wmic ENOENT #90

Closed
wgd99 opened this issue Jul 18, 2019 · 1 comment

Comments

@wgd99
Copy link

wgd99 commented Jul 18, 2019

Got this error message when trying open python jupyter window from Vs Code python extension.
VS code 1.36.1, OS windows 10 1903

 console.ts:134 [Extension Host] [pidusage] Command "wmic PROCESS 11756 get workingsetsize,usermodetime,kernelmodetime" failed with error Error: spawn wmic ENOENT	at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)	at onErrorNT (internal/child_process.js:407:16)	at process._tickCallback (internal/process/next_tick.js:63:19)
t.log @ console.ts:134
console.ts:134 [Extension Host] Python Extension: (pidusage) Error: 
Wed Jul 17 2019 21:19:18 GMT-0400  Wmic errored, please open an issue on https://github.com/soyuka/pidusage with this message.
Command was "wmic PROCESS 11756 get workingsetsize,usermodetime,kernelmodetime" 
 System informations: 
 - release: 10.0.18362 
 - type Windows_NT 
Wmic reported no errors (stderr empty).
Wmic exited with code -4058.
Stdout was empty
	at ChildProcess.<anonymous> (c:\apps\VSCode\data\extensions\ms-python.python-2019.6.24221\out\client\extension.js:68:96853)
	at ChildProcess.emit (events.js:182:13)
	at maybeClose (internal/child_process.js:962:16)
	at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:381:11)
	at Socket.emit (events.js:182:13)
	at Pipe.Socket._destroy._handle.close (net.js:606:12)
t.log @ console.ts:134
@soyuka
Copy link
Owner

soyuka commented Jul 18, 2019

Mhh according to https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--4000-5999- your error means:

An element already exists and was not replaced.

Are you sure that the process was running? IMO this issue should go on the python jupyter repository not here.

@wgd99 wgd99 closed this as completed Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants