Skip to content

Library with invalid depends field causes silent failures #534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
per1234 opened this issue Dec 30, 2019 · 0 comments · Fixed by #544
Closed

Library with invalid depends field causes silent failures #534

per1234 opened this issue Dec 30, 2019 · 0 comments · Fixed by #544
Assignees

Comments

@per1234
Copy link
Contributor

per1234 commented Dec 30, 2019

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 [email protected]

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

arduino-cli lib install [email protected]

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 [email protected]. I did not submit a separate report for that because I thought it might be resolved by fixing the issue in arduino-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants