Skip to content

IDE hangs on startup: "discovery builtin:serial-discovery not found" #2484

Open
@Violettica

Description

@Violettica

Describe the problem

The Arduino IDE appears to not be able to use its Arduino CLI backend properly at all, yet using the CLI directly doing equivalent operations appears to get results.

To reproduce

  1. Start a fresh install of Arduino IDE which updates the index. Eq. CLI: arduino-cli update
  2. Do nothing and wait for the Arduino_Builtin library to install. Eq. CLI: arduino-cli lib install Arduino_Builtin
  3. Install the Arduino AVR board core. Eq. CLI: arduino-cli core install arduino:avr

Expected behavior

In every step of the reproduction, the IDE fails to do these operations and it's required to stop the IDE process and run the CLI equivalents marked before starting the IDE again to make progress.
Symptoms shown are as follows, corresponding to each step:

  1. On start-up, hangs forever. Logs show "network unreachable" error. CLI seems to be able to reach the network just fine, though, so logically there is no problem with my network.
  2. Arduino_Builtin installation error shown. Network unreachable again.
  3. AVR installer cannot reach network. Network unreachable.

Arduino IDE version

2.3.3-nightly-20240630

Operating system

Linux

Operating system version

Garuda Linux Hyprland Edition

Additional context

CLI testing done with 1.0.3-1 from Arch Linux extra repo.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions