Skip to content

Library Manager install fails ~silently if dependency not available #621

Closed
@butor32

Description

@butor32

Describe the problem

Installation of version 3.0.0 of the "Forced-BME280" by Jocchem van Kranenburg via Library Manager fails silently.

To reproduce

  1. Open the "LIBRARY MANAGER" view.
  2. Type forced-bme280 in the "Filter your search..." field.
  3. Select "3.0.0" from the dropdown version menu in the "Forced-BME280" library entry.
  4. Click the "INSTALL" button.

🐛 The library installation fails silently.

Expected behavior

The cause of the problem is clearly communicated to the user when it is not possible to install a library.

Arduino IDE version

Original report

2.0.0-beta.12

Last verified with

964ea3b

Operating system

  • Windows
  • Linux

Operating system version

  • Windows 11
  • Debian Blueseye

Additional context

An error is shown in the terminal window:

root ERROR Request listDependencies failed with error: 9 FAILED_PRECONDITION: No valid dependencies solution found: dependency 'stdint' is not available

However, the message only flashes for an instant in the Arduino IDE window; so fast that the user could never read it.

Additional reports

Workaround

Use the "Add .ZIP Library..." method to install the problematic library:

https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries#importing-a-zip-library

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions