micropython-ide-vscode icon indicating copy to clipboard operation
micropython-ide-vscode copied to clipboard

On Windows, creating a new project can not connect to COM port

Open MJLHThomassen opened this issue 7 years ago • 24 comments

On Windows 10, when creating a new project and specifying a COM port, you always get the message:

"Port not exist, please connect device and try again!"

I suspect this is because you access the COM port over the file system with the fs module, which probably doesn't work on Windows.

MJLHThomassen avatar Apr 08 '18 15:04 MJLHThomassen

The same. On Windows 10 I cannot connect to COM port. While REPL through Putty using the same port works well.

Zidar avatar Apr 13 '18 16:04 Zidar

@MJLHThomassen @Zidar give thanks to you. I will fix soon, this is my fault. Because I'm working on Linux so can't handle Windows OS exceptions. Sorry to confuse you. I will use another module instead of fs and fix soon.

dphans avatar Apr 14 '18 08:04 dphans

Same problem cannot connect to COM port.

rsa911 avatar Apr 18 '18 00:04 rsa911

Nice Extension for VS Code in a very early state :-), but I have the same problem here under Windows 10.. Hope you can fix it :-)

jtuttas avatar Apr 20 '18 09:04 jtuttas

I have the same isse here :) thank you if you fix it! ;)

nazsolti avatar Apr 23 '18 18:04 nazsolti

Same here. Would be awesome to receive an update :-)

AdrienHunter avatar Jun 07 '18 15:06 AdrienHunter

Same issue...

rdehuyss avatar Jun 20 '18 21:06 rdehuyss

Same problem... Waiting... your fixing!! Thanks.

JavierIglesias avatar Jul 03 '18 17:07 JavierIglesias

Waiting for the fix as well... Thanks!

podvlada avatar Aug 07 '18 12:08 podvlada

has this been fixed yet? Having same issue. Would like to use the product but cannot.

nobody102 avatar Aug 18 '18 01:08 nobody102

Is there any chance this will be fixed?

mlbk86 avatar Aug 21 '18 20:08 mlbk86

Same problem, and there has no upgrade available. Is the problem been fixed? Thanks.

Super169 avatar Sep 01 '18 20:09 Super169

Would be nice to use this on Windows

ldaponte avatar Nov 10 '18 22:11 ldaponte

Same issue. I am running on Windows 10 so will fork the code and try to fix it.

ghost avatar Nov 14 '18 20:11 ghost

Same problem, running on Windows 10.

grewhit25 avatar Nov 21 '18 16:11 grewhit25

Problem seems to stem from using the fs library. I think the serialport library is a better option, but having trouble compiling it on Windows, also. Including a compiled version might be the answer, because expecting a developer to compile it after the issues I've seen so far is not valid.

I'll keep looking, but am working on another issue right now.

On Wed, Nov 21, 2018 at 8:16 AM Greg White [email protected] wrote:

Same problem, running on Windows 10.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dphans/micropython-ide-vscode/issues/1#issuecomment-440723742, or mute the thread https://github.com/notifications/unsubscribe-auth/AArMRF9H5VahhRtcqueRHiIApRwuCZ3tks5uxXxKgaJpZM4TLlP- .

-- Paul Christian Allsopp

Please recycle - it ain't easy being green

ghost avatar Nov 21 '18 19:11 ghost

Problem still exists

wally666 avatar Dec 01 '18 16:12 wally666

I'm working one some other code right now, for another project, which uses the fs library just fine so this must be either a build or config issue. I think I'll find the time to tackle this today. It sure would be nice to have this working.

On Sat, Dec 1, 2018, 8:46 AM wally <[email protected] wrote:

Problem still exists

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dphans/micropython-ide-vscode/issues/1#issuecomment-443439522, or mute the thread https://github.com/notifications/unsubscribe-auth/AArMRM2a0QiU22r1u4-_qxDfvji0-9-fks5u0rJUgaJpZM4TLlP- .

ghost avatar Dec 01 '18 20:12 ghost

Does not work in Windows 10

AlexanderSemenov1 avatar Dec 02 '18 21:12 AlexanderSemenov1

It need to be changed:

https://github.com/dphans/micropython-ide-vscode/blob/master/src/app/classes/project/project.ts#L127

And:

https://github.com/dphans/micropython-ide-vscode/blob/master/src/app/classes/project/project.ts#L150

Windows have alternative command for 'which' => 'where'

Is this project alive?

wally666 avatar Dec 11 '18 19:12 wally666

I have the same problem and I think the following changes should be made in the code for windows:

esptool.py -> esptoo.py.exe rshell.py -> rshell.exe ...

ghost avatar Dec 24 '18 21:12 ghost

Это нужно изменить

https://github.com/dphans/micropython-ide-vscode/blob/master/src/app/classes/project/project.ts#L127

И

https://github.com/dphans/micropython-ide-vscode/blob/master/src/app/classes/project/project.ts#L150

У Windows есть альтернативная команда для' which ' = > 'where'

Этот проект жив?

What is wrong with these lines of code, you can write in more detail.

In the windows for some reason the port is not working.

AlexanderSemenov1 avatar Dec 25 '18 19:12 AlexanderSemenov1

is there any update on a fix for windows ?

Darkcast avatar Jun 30 '19 07:06 Darkcast

still exists

anecrow avatar Jun 24 '20 07:06 anecrow