dphans / micropython-ide-vscode

Micropython integrated development for VSCode
Apache License 2.0
57 stars 35 forks source link

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

Open MJLHThomassen opened 6 years ago

MJLHThomassen commented 6 years ago

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.

Zidar commented 6 years ago

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

dphans commented 6 years ago

@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.

rsa911 commented 6 years ago

Same problem cannot connect to COM port.

jtuttas commented 6 years ago

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 :-)

nazsolti commented 6 years ago

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

AdrienHunter commented 6 years ago

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

rdehuyss commented 6 years ago

Same issue...

JavierIglesias commented 6 years ago

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

podvlada commented 5 years ago

Waiting for the fix as well... Thanks!

nobody102 commented 5 years ago

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

mlbk86 commented 5 years ago

Is there any chance this will be fixed?

Super169 commented 5 years ago

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

ldaponte commented 5 years ago

Would be nice to use this on Windows

ghost commented 5 years ago

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

grewhit25 commented 5 years ago

Same problem, running on Windows 10.

ghost commented 5 years ago

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 notifications@github.com 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

wally666 commented 5 years ago

Problem still exists

ghost commented 5 years ago

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 <notifications@github.com 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- .

AlexanderSemenov1 commented 5 years ago

Does not work in Windows 10

wally666 commented 5 years ago

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?

ghost commented 5 years ago

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 ...

AlexanderSemenov1 commented 5 years ago

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

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.

Darkcast commented 5 years ago

is there any update on a fix for windows ?

anecrow commented 4 years ago

still exists