0

Whenever I try to compile a valid project (with loop and setup) it just throws a rust error, don't know what to do.

The error:

thread 'main' panicked at 'assertion failed: `(left != right)`
  left: `0`,
 right: `0`: Failed to get path name. Error code: 3', main.rs:65:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
exit status 101

Compilation error: exit status 101

It doesn't really run any sketch, even an empty loop and setup functions.

3
  • Have you tried clean installing the IDE? And why is your question tagged esp32? Commented Jan 22 at 14:59
  • Yeah, I already reinstalled it. The question is related to esp32 since that's the board that I'm trying to upload to, so it might be an IDE board problem Commented Jan 24 at 20:41
  • So when you say it doesn't really run any sketch, does it mean that if you choose an Arduino Uno board it also doesn't work? Or the problem only happens for eap32? It's unclear from your question and it looks like it doesn't run any sketch at all, not even Arduino ones. Commented Jan 25 at 7:51

1 Answer 1

2

I had the same problem, it´s caused because of the new upgrade of esp 32 desk. Just downgrade the version of the esp 32 board and it should be okay.

2
  • Thanks a lot! I'm kinda new, could please tell how I could do that? Manually download and link it with the IDE or maybe choose another board version in the editor itself? Thanks again Commented Jan 24 at 20:43
  • in the board manager, u will see the version of the board u are using and simply u just have to pick a different version and reinstall
    – Vojta
    Commented Jan 26 at 14:18

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.