-
-
Notifications
You must be signed in to change notification settings - Fork 443
rc9.1 breaks uploading for me #1277
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
Comments
Same issue here. I worked for two hours trying to understand the problem but could never fix it. Something is very wrong with the COM ports assignment to boards ... very strange. All I get is error 1 or exit code. I had to go back to IDE v 1.8.19 until this is fixed because I cannot upload anything to UNO boards. |
Hi @InstantMuffin and @xrunner. Please try an upload after making sure the Serial Monitor view in the bottom panel is closed and then tell me whether the upload still fails. If the Serial Monitor is open, you can close it by clicking the X icon that appears when you hover the mouse pointer over its tab: I am able to reproduce the newly introduced bug where the Serial Monitor interferes with uploads (#1278), but am not certain whether it is the same problem you are experiencing since you didn't mention Serial Monitor as a factor here.
Unfortunately there is a recently introduced bug that can cause the loss of some or all of the verbose upload output: arduino/arduino-cli#1818 This may be the explanation to your observation in the other thread:
You can test this out by disabling verbose output:
You may actually find that you get a more informative output with this preference disabled until arduino/arduino-cli#1818 is fixed. |
You are correct. I disabled verbose output during "compile" and "upload" and further disabled the serial monitor as per your exact instructions, and I'm getting: Assuming that by closing the monitor a connection might still be open, I unplugged and reconnected the adapter I am using. No serial monitor window opened, and I was still getting that error. Thank you for your instructions. |
Ah, a little edit which I am putting in a new reply since you already saw the comment. Turns out if I closed the monitor, and even after replugging the device, I got this terminal output:
Restarting Arduino IDE (which then had the serial monitor window closed by default) shows that the upload works. Just getting this:
even with the notification window leaves me questioning "Did it upload?". |
Disabling the serial monitor does allow the uploads! |
Yes, and when in doubt, disable it, then restart the IDE, so it starts with the monitor disabled. |
Disabling the serial monitor worked for me. Obviously the 9.0 behavior was better where it didn't matter if the serial monitor was open, but at least this workaround allows program uploads for now. |
Me also disabling the serial monitor X fix the issue, on 9.1 I will admit I tried everything else, preferences.txt, device in win 11, the usb cable, 3 types of microcontroller, and going back to ver 1.8.19 which works perfectly, 2 computers. Lost a day of work because of this update that was proposed to me yesterday. I will be more carefull in the future with auto update. |
Multiple distinct defects were reported here. To recap:
We determined in the end that this was #1278, which has already been fixed by #1279. The fix will be available in tonight's nightly build, or you can get it right now from the links under the "Artifacts" section of this page: https://github.com/arduino/arduino-ide/actions/runs/2789685901#artifacts (You must be signed in to your GitHub account for the links to be downloadable)
The "Light (Theia)" theme you are using is deprecated and no longer supported by Arduino (#1283). Please switch to using Arduino's own "Light (Arduino)" theme:
This is already being tracked at arduino/arduino-cli#1818
This is definitely unexpected. I was not able to reproduce it even using a similar setup:
If you are still able to reproduce the problem, this is something we should definitely track. However, I don't think this issue will serve well for that purpose since the issue was only mentioned in a comment. So please do open a dedicated issue for this specific defect if you can still reproduce it with the latest nightly build.
Please open a dedicated issue for this specific enhancement request. We can not effectively track requests made tangentially in issue comment threads.
I believe this would be resolved by: #1154
Please open a dedicated issues for this specific enhancement request. We can not effectively track requests made tangentially in issue comment threads. Since the primary defects (failed upload, "Light (Theia)" theme bug) have already been addressed, I will close this as resolved. Thanks so much @InstantMuffin for this important report (which actually came before my more general #1278)! |
Describe the problem
Changing from rc9.0 to 9.1 sketches aren't uploading for me anymore.
Two things:
The first dark entry on the left is selected. It just shorts the text of the selected entry and switches to "..." earlier.

Same on the right. The usual dark blue like in the board combobox isn't there. According to the combobox the selection does work:
The nightly build has issue 2) as well, but it does look like in regards to 1) it shows a checkmark next to the selected item.
Failed uploading: uploading error: exit status 1
That is all. No warnings, no other errors. I'm using verbose output by default.
I still have a second folder with rc9.0.
It still works flawlessly there.
To reproduce
Use latest build of megatinycore (2.5.11).
Select device with optiboot.
Upload.
Expected behavior
That the sketch uploads
Arduino IDE version
2.0rc-9.1
Operating system
Linux
Operating system version
XUbuntu 22.04 LTS
Additional context
I am using megaTinyCore 2.5.11 and uploading using a USB-TTL adapter and optiboot.
Issue checklist
The text was updated successfully, but these errors were encountered: