[SOLVED} Upload Problems with Firebeetle ESP32-E

I am having problems uploading more than once to my Firebeetle ESP32-E from the IDE version 2:1.8.19+dfsg1-1 and I am on Linux Mint
If I want to upload a code change I have to shut down the IDE and reopen then it uploads fine.
Here is the output on the second upload attempt (first one works fine)


panic: runtime error: index out of range [6] with length 6

goroutine 1 [running]:
arduino.cc/builder.(*includeCache).Next(...)
	arduino.cc/builder/container_find_includes.go:209
arduino.cc/builder.findIncludesUntilDone(0xc000044c00, 0xc0003f2750, {{0x52ee20, 0xc0003d7e00}, {0xc0003fa0e1, 0xa}})
	arduino.cc/builder/container_find_includes.go:321 +0x119d
arduino.cc/builder.(*ContainerFindIncludes).Run(0xc0000621a0, 0xc000044c00)
	arduino.cc/builder/container_find_includes.go:149 +0xc25
arduino.cc/builder.runCommands(0x8, {0xc0004efc58, 0x22, 0x5555555}, 0x10)
	arduino.cc/builder/builder.go:191 +0xda
arduino.cc/builder.(*Builder).Run(0x7ffc22b0ffb1, 0x19)
	arduino.cc/builder/builder.go:124 +0x890
arduino.cc/builder.RunBuilder(...)
	arduino.cc/builder/builder.go:222
main.main()
	arduino.cc/arduino-builder/main.go:338 +0x988
arduino-builder returned 2
Error compiling for board FireBeetle ESP32-E.

I can manage, but it is very annoying.
Any clues on how to fix this?

Hi @themetman. I see a bug report about a similar fault here:

However, that was fixed some time ago. So it is unexpected that you would still experience it if you are using Arduino IDE 1.8.19.

I see you are using a 3rd party modified version of Arduino IDE from a package repository. It is possible the problem is specific to that version. I recommend you to try using the official Arduino IDE build downloaded from the "Software" page here on the arduino.cc website:

If possible, you should use the latest version (currently Arduino IDE 2.1.0). If for some reason you can't or won't use Arduino IDE 2.x, you can download the official build of Arduino IDE 1.8.19 from the links listed farther down the page here:

https://www.arduino.cc/en/software#legacy-ide-18x

That is not IDE 2.x; it's an antique version of IDE 1.x :slight_smile: Stupid Linux idiots (not you) decided to name it 2.something so now it's causing confusion.

Many thanks, @ptillisch and @sterretje I will give the official IDE a go. This one was from the Mint Repo.
Now I understand about the Version numbers, I confess I was a little confused by the numbering.
Regards

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.