Skip to content

1.6.6 Library Manager - CRC errors occurred during updating libraries #4303

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
Myriads opened this issue Dec 14, 2015 · 7 comments
Closed

1.6.6 Library Manager - CRC errors occurred during updating libraries #4303

Myriads opened this issue Dec 14, 2015 · 7 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager

Comments

@Myriads
Copy link

Myriads commented Dec 14, 2015

During updating libraries, CRC errors are occurred:

  • FreqCount, MsTimer2, Time and TimeOne
  • FreqCount and MsTimer2 updated manually after CRC errors occurred.

librarymanager_01

@ffissore
Copy link
Contributor

Please delete files from %LOCALAPPDATA%\Arduino15\staging\libraries and retry

@ffissore ffissore added the Component: Board/Lib Manager Boards Manager or Library Manager label Dec 14, 2015
@Myriads
Copy link
Author

Myriads commented Dec 14, 2015

Even if %LOCALAPPDATA%\Arduino15\staging\libraries were deleted, CRC errors still come out.
But zip files are downloaded in there.

@Myriads
Copy link
Author

Myriads commented Dec 15, 2015

In DownloadableContributionsDownloader.java, FileHash.hash function generates a quite different hash value with the checksum value of the Time library:

checksum : SHA-256:1b658b9d71cddd4c24a63ec5c0c1cf345a44b32d46e0a207c7e129f8bc6e6492
hash value : SHA-256:3ae1f8839a6d48aeb3c0c4489e0ddeb32b245df700b8fb01b03f784a47aee18e

Tested with Time library.

@bukrat
Copy link

bukrat commented Apr 28, 2016

I have the same problem here. Any help?

@Myriads
Copy link
Author

Myriads commented Apr 28, 2016

Please try with the newest IDE version.
2016. 4. 28. 오후 4:27에 "Bukrat" notifications@github.com님이 작성:

I have the same problem here. Any help?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4303 (comment)

@Myriads
Copy link
Author

Myriads commented Apr 28, 2016

Please try with the newest IDE version.
2016. 4. 28. 오후 4:27에 "Bukrat" notifications@github.com님이 작성:

I have the same problem here. Any help?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4303 (comment)

cmaglie added a commit to cmaglie/Arduino that referenced this issue Oct 5, 2016
Previously the CRC error was quite annoying to recover because
the user needed to manually delete the corrupted file from the
staging folder (without knowing the exact path of the file to
remove).

Now the IDE tries autonomously to resolve the situation by
removing the file and downloading it again.

Fixes arduino#5394 arduino#4303
@cmaglie cmaglie added this to the Release 1.6.13 milestone Oct 14, 2016
@cmaglie
Copy link
Member

cmaglie commented Nov 9, 2016

This issue has been fixed with #5453.
The fixed version is available in the hourly build, or the next IDE release 1.6.13.

@cmaglie cmaglie closed this as completed Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager
Projects
None yet
Development

No branches or pull requests

4 participants