Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Unable to start serial monitor #851

Closed
ghost opened this issue Jul 4, 2019 · 24 comments
Closed

Unable to start serial monitor #851

ghost opened this issue Jul 4, 2019 · 24 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jul 4, 2019

The serial monitor worked fine but couple of days ago something happened because If I try to open the following error appears:
"Failed to open serial port COM6 due to error: + TypeError: Cannot read property 'close' of null"
Similar as in issue #596.
Also I am not able to change the serial port because the dialog not opens.
I have the latest 1.36.0 and 0.2.26 version.
By the way the uploading works! So the port is alive.
And also in the Arduino IDE everything is fine.

@MichaelPfezer
Copy link

Same issue here

@CodeNameHawk
Copy link

CodeNameHawk commented Jul 5, 2019

Same issue here
Failed to open serial port COM4 due to error: + TypeError: Cannot read property 'close' of null
Version: 1.36.0 (user setup)
Commit: 0f3794b38477eea13fb47fbe15a42798e6129338
Date: 2019-07-03T13:11:51.716Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT ia32 10.0.18362

@rido-min
Copy link
Member

rido-min commented Jul 5, 2019

I also see this issue

@halfrafu
Copy link

halfrafu commented Jul 5, 2019

Also have this issue. It started after update to VS Code 1.36.0.
I see it's been reported already in issue #848.

@Cube-Line
Copy link

+1 like: ----->>>> Failed to open serial port COM3 due to error: + TypeError: Cannot read property 'close' of null

@ArthurMa1978
Copy link
Member

We are working on the fix will release new version soon.

@ArthurMa1978
Copy link
Member

Fixed since v0.2.27, thanks @szormok @rido-min @MichaelPfezer @CodeNameHawk @Cube-Line @rafalp9728 .

@DanwithArduino
Copy link

trying to change the serial port "crashes the extension host".

@CodeNameHawk
Copy link

@ArthurMa1978
now work Select Serial Port, and Open Serial Monitor,
but I use an USB-COM adapter FTDI FT232RL with control DTR and RTS, to automatic programming ESP8266
Unfortunately, the plugin incorrectly sets the levels to DTR and RTS, which does not allow to use normally Serial Monitor

@ArthurMa1978
Copy link
Member

@CodeNameHawk thanks for report this, can you help to file a new issue to us?

@CodeNameHawk
Copy link

@ArthurMa1978 Ok.

@dzuda11
Copy link

dzuda11 commented Nov 14, 2019

We are working on the fix will release new version soon.

Hey!! We have the same issues again with VS Code v1.40.1. can you fix it again or show how can it be fixed? Than you!

@xinyiz1226
Copy link

Duplicate with #918 , we are working on the fix and will let you know when it is ready.

@fmlin429
Copy link

fmlin429 commented Mar 9, 2020

Have the problem resolved? looks like I have the same issue.

@dzuda11
Copy link

dzuda11 commented Mar 9, 2020

Have the problem resolved? looks like I have the same issue.

Did you update VS Code and extension?
If you are up-to-date then we have the same problem again....

@cooperbaker
Copy link

Same problem here :(

@dzuda11
Copy link

dzuda11 commented Mar 10, 2020

Same problem here :(

Duplicated with #980
Downgrade VS code to 1.42 and wait for Arduino extension update....

@wouterds
Copy link

Downgrade VS code to 1.42 and wait for Arduino extension update....

Can confirm that downgrading to January 2020 release works ❤️!

@DeadpoolKerns
Copy link

I am having the same issue and would love to downgrade but it appears that the January version is only offering a Win64 release. I downloaded the file VSCodeUserSetup-x64-1.42.1.exe. Although the download link has a reference of https://update.code.visualstudio.com/1.42.1/win32-x64-user/stable ,which might infer an offer for 32 or 64 bit installations, the download was a Win64 release.

Where can I download the 1.42.1 Win32 release?

@DeadpoolKerns
Copy link

Thank you very much 333fps. I installed 1.42.1 and the serial monitor is functioning as expected again. You've made my day. Now on to getting used to Vscode 👍 after using arduino UI :( for so long

@GregTerrell
Copy link

I am having the same issue and would love to downgrade but it appears that the January version is only offering a Win64 release. I downloaded the file VSCodeUserSetup-x64-1.42.1.exe. Although the download link has a reference of https://update.code.visualstudio.com/1.42.1/win32-x64-user/stable ,which might infer an offer for 32 or 64 bit installations, the download was a Win64 release.

Where can I download the 1.42.1 Win32 release?

https://code.visualstudio.com site, then click Updates. This is a history of monthly releases. The link below is the redirect as of today. Left navigation to January 2020 is 1.42.1. Confirmed that rolling back to 1.42.1 fixes the serial monitor fails to open for my Windows10 install.

https://code.visualstudio.com/updates/v1_43

@DeadpoolKerns
Copy link

Thanks Greg but the file I referenced in my comment came from that site. The only January version available for download is the win64 version. This will not install on my Windows 7 32 bit OS

@Awbmilne
Copy link

@fmlin429 @dzuda11 @cooperbaker @wouterds @DeadpoolKerns

I created issue #1002 for this problem resurfacing, please post a comment there aswell. Thanks!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests