Skip to content

Library with invalid depends field causes silent failures #534

Closed
@per1234

Description

@per1234

Bug Report

The MD_Parola library version 3.2.0 has a depends field in library.properties that contains a misspelled library name (https://github.com/MajicDesigns/MD_Parola/blob/v3.2.0/library.properties#L11). This causes arduino-cli lib deps and arduino-cli lib install to fail silently.

Current behavior

arduino-cli lib deps MD_Parola@3.2.0

No dependencies are listed (normally MD_Parola would be listed even if there were no other dependencies defined).

arduino-cli lib install MD_Parola@3.2.0

The library is not installed and no error message is displayed.

Expected behavior

Ignore invalid dependency names. Perhaps provide a warning message, but continue executing the command anyway.

Environment

  • CLI version (output of arduino-cli version): 0.7.0-rc1 Commit: 49897ef
  • OS and platform: Windows 10 64 bit, Ubuntu 19.04

Additional context

The Arduino IDE also displays undesirable behavior when installing MD_Parola@3.2.0. I did not submit a separate report for that because I thought it might be resolved by fixing the issue in arduino-cli.

Metadata

Metadata

Assignees

Labels

conclusion: resolvedIssue was resolvedtopic: codeRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariestype: 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