-
-
Notifications
You must be signed in to change notification settings - Fork 398
Running arduino-cli lib install NTPClient_Generic
hangs forever on 100% CPU
#2135
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
Comments
Thanks for the report @urish. The problem here is that the Normally, a missing dependency will result in a https://github.com/khoih-prog/Timezone_Generic/blob/main/library.properties#L12 @per1234 do you think we could add a check in the library repository engine to reject libraries with missing dependencies? In the meantime, I'll try to work out a fix to speed up the dependencies resolution in this particular case. |
Fixed by #2140 |
Thanks for the super quick turnaround! |
Still seeing this issue with arduino-cli version 0.32.2, which I believe includes the fix in #2140. |
I confirm it, it's happening again, something changed in the index, I'll check this out. |
Describe the problem
Installing the
NTPClient_Generic
library through Arduino CLI hangs foreverTo reproduce
Just run
arduino-cli lib install NTPClient_Generic
and watch it hangs.After seeing it on my Ubuntu machine, I also verified this reproduces on a pristine ubuntu-20.04 docker container:
then inside the container I ran:
Expected behavior
Should install the library successfully, or at least quit with an error.
Arduino CLI version
arduino-cli Version: nightly-20230402 Commit: 7eae0bd Date: 2023-04-02T01:32:57Z
Operating system
Linux
Operating system version
Ubuntu 20.04
Additional context
Running the same command with verbose output, this is what I see:
at which point it hangs forever
Issue checklist
The text was updated successfully, but these errors were encountered: