-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Sometimes it will not compile after switching development version #1970
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @Tinyu-Zhao. Thanks for your report. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the Arduino IDE from the command line, then share the output. Please do this:
Please let me know if you have any questions or problems while following those instructions.
I'm not sure I understood correctly what you mean by this. Please provide a more detailed description to help me to understand it. |
Hi @per1234. I'm having the same issue. If I try to compile the Blink example for an Arduino AVR, (e.g., Uno), it compiles correctly. Switching to the ESP32 board, which is my goal, creates the no connection established error even if I'm purely trying to compile. Switching back to Uno also creates the error. Attached is my terminal log showing successful compile to Uno, unsuccessful compile to the ESP32, and following unsuccessful compile to Uno. Thank you for your guidance and advice! |
|
Can confirm that reverting to 2.0.0 fixes this issue. I am also using the ESP32. |
Use a legacy version (1.8.X) for me works |
Hi all. Thanks for your reports. cmaglie investigated the problem and identified a potential cause. A fix has been prepared, but unfortunately we were never able to reproduce the fault despite quite some attempts. So we are hoping that you might be willing to help us out by testing the fix and letting us know whether the error still occurs. Everyone is welcome to test, but the most conclusive results will be in the case where the error is produced reliably with the regular production version of the software. So please first test with Arduino IDE 2.0.1 (or the latest nightly build of Arduino IDE if you prefer) to make sure you are able to reproduce the error. I'll provide the instructions for getting the tester build of Arduino IDE that has the proposed fix:
After doing that, please comment here to let me know the following:
Please let me know if you have any questions or problems while following those instructions. |
Had same problem on Mac with the ide for arduino uno and esp01. problem occurs on regular version and disappears after installing this snapshot. thank you for solving it :-) |
Had the same problem after updating to 2.0.1 w/ esp32, went away when I restarted the IDE. 🤷♂️ |
Yes, I am using ESP8266 rather than ESP32 for my work.
No, the tester version works fine for me. |
logs below. Test version (beta version) worked perfectly when executed through a terminal. Crashed when run on a clean install of Fedora 36 when executed by double clicking in terminal/graphical display manager. The current fix also allows the user to select the example sketches. See detailed logs. Running very tired when testing (and typing this) so may have made an error my side. I'll check again with fresh eyes tomorrow. Let me know if you want another beta version tested later please if you can see a simple fix. The error code when this is double-clicked seemed logical, but... ... ... |
|
Hi all, I had one of the forum issues above. Confirming.... (1) sudo usermod -aG dialout horace Then open app image by double clicking in graphical file manager. Functions perfectly this way. Had one successful run and one daemon panic in command line. running in terminal/command line through ./arduino-ide_nightly-20221114_Linux_64bit.AppImage gives the following kernel panic
Might be a linux bug we live with for a while - it's intermittent, so a re-loading of the program appears to fix it. Thanks again to you and Cristian. Regards, A |
I encounter same problem today, without using above fix, I just uninstall esp32 from board manager and re-install, the problem fixed |
Fixed the problem for me as well. Thank you much! |
As a temporary solution, I re-install my board manager everytime I restart my computer to fix it. The problem appears to occur when I click Tools > board > board_name |
Hi @emrullahjack. Please give the new Arduino IDE 2.0.2 release a try. The bug should be fixed in that version. The download links are listed here: |
Hi @per1234 thank you! 2.0.2 release works perfectly fine for me!! |
Describe the problem
Sometimes it fails to compile after switching to the development version, and it says "No connection established".
But strangely enough, after restarting the IDE, most of them will be able to compile normally.
To reproduce
Sometimes switching clients and compiling will cause this problem, and sometimes not.
Expected behavior
2.0.1
Arduino IDE version
Normal compilation
Operating system
macOS
Operating system version
Big Sur 11.7 (20G817)
Issue checklist
The text was updated successfully, but these errors were encountered: