-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Intermittent failure to recognize ports #573
Comments
This is fixed for me by These are the relevant changes:
|
I just downloaded version 2.0 RC7 No matter what I select as board I still get no ports discovered. Since it works for 1.8 i suspect there is a bug in 2.0? |
Hi @jegjessing. Please try this:
Are the ports discovered after restarting the Arduino IDE? I have been noticing this problem lately, but it is always fixed for me after restarting the IDE. |
You are right. It worked after restarting
…On Wed, 15 Jun 2022, 17.03 per1234, ***@***.***> wrote:
Hi @jegjessing <https://github.com/jegjessing>. Please try this:
1. Select *File > Quit* from the Arduino IDE menus.
2. Start the Arduino IDE.
Are the ports discovered after restarting the Arduino IDE? I have been
noticing this problem lately, but it is always fixed for me after
restarting the IDE.
—
Reply to this email directly, view it on GitHub
<#573 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC7F76XICZYPZV3NPBVU6Y3VPHWFBANCNFSM5GSM4OPQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It often happens on my Windows notebook when one of the boards is the Portenta H7. I reopen the issue. |
Seeing this exact behavior on Linux. Restarting does not help. I'm already in the |
Is this still open? Any clues? I'm using IDE 2.0.0 and have also tried nightly build 20220920 and have the same problem: IDE starts, edits, works up to uploading, then gives "no upload port provided" error. No ports listed in IDE > Tools. |
Here's some more info that is above my paygrade to understand, except it seems that when I plug in a board, it is at first recognized by serial-discovery, but then immediately told to remove the port. I start the 20220920 nightly build IDE with terminal command ./arduino-ide, with no arduino board plugged in.
|
Hi @jayrabe. I see you also posted about this problem over on the Arduino forum: https://forum.arduino.cc/t/arduino-ide-2-0-not-showing-ports/858267/8 We can use that forum thread for the purposes of investigating and supporting your problem. |
Very good. Thanks. |
If the board select dialog is listening on the backend's event, the frontend might miss the event when it comes up, although boards are connected and ports are discovered. Closes #573 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
If the board select dialog is listening on the backend's event, the frontend might miss the event when it comes up, although boards are connected and ports are discovered. Closes #573 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
If the board select dialog is listening on the backend's event, the frontend might miss the event when it comes up, although boards are connected and ports are discovered. Closes #573 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Describe the bug
From time to time, the IDE exhibits the follow symptoms when I open it:
However there are multiple detectable Arduino boards and generic serial ports on my computer and other times when I start the IDE the ports are detected just as expected.
To Reproduce
Command line looks like this when the issue occurs:
Click to expand
(note that the ports were discovered even though not shown in the IDE)
Command line looks like this when the issue does not occur:
Click to expand
Expected behavior
All connected ports and boards are always shown in the IDE.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Date: 2021-10-06T15:50:55.015Z
CLI Version: 0.19.1 alpha [718bbbf2]
Additional context
Possibly related:
Unfortunately, the issue occurs intermittently (maybe once every 10 open/close cycles) and I have not been able to identify any pattern to its occurrence. I have not noticed any correlation with
I have never had this problem with the Java IDE, even when I check it at the same time IDE2 is failing.
Thanks to a tip from @RudolfAtHome, I learned that new ports are still discovered when the IDE is in this condition, including previously unrecognized ports after disconnecting and then reconnecting the board.
The text was updated successfully, but these errors were encountered: