arduino / arduino/Arduino

Intermittent - Error opening serial port - 1.8.8 portable

Open
#8,608 0 comments 0 reactions 0 assignees View on GitHub
Component: Uploading Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

I intermittently get the "error opening serial port" error in IDE 1.8.8 portable on Windows 7 64 bit.
Arduino 1.8.5 does not have this problem. I can run them both at the same time or just either one, the issue follows 1.8.8 but I can't comment on whether it's related to my portable installation.

My only fix so far is to close (if open) the serial monitor and try opening it repeatedly until it opens. Then it works to flash the sketch and continue. I think I recall the error only appearing if the serial monitor was already open.

Contributor guide

Open the contributing guide

Research direction

The report names no source files, tests, or entry points. Start by reproducing the serial-monitor and port-opening sequence on Windows 7 with IDE 1.8.8 portable, comparing it with 1.8.5 and checking whether the portable installation changes the result. Done means the intermittent opening error is reproduced and resolved without disrupting sketch uploads.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.