Skip to content

Version 2.1.1 breaking lib compatibility #2141

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
3 tasks done
willie68 opened this issue Jul 15, 2023 · 1 comment
Closed
3 tasks done

Version 2.1.1 breaking lib compatibility #2141

willie68 opened this issue Jul 15, 2023 · 1 comment
Assignees
Labels
conclusion: invalid Issue/PR not valid topic: CLI Related to Arduino CLI type: imperfection Perceived defect in any part of project

Comments

@willie68
Copy link

willie68 commented Jul 15, 2023

Describe the problem

After installing Arduino IDE 2.1.1 (I was previously using the last 2.0) after startup, the ide tells me that there are lib to update.
But the IDE can't update the libs because the Library Manager doesn't know his old lib format on updating. All the things with folder renaming on update now confuses the lib manager.

ard_01

To reproduce

Just work something with an old IDE, adding some libs (in may case there are 208 folders in the libraries folder, but just round about 100 libs. 106 folders are updates from the libs.

Expected behavior

Simply read the libs and do the update rightly.

Arduino IDE version

2.1.1

Operating system

Windows

Operating system version

win 11

Additional context

I'm working with 1.8.x and 2.1.x in parallel... because the 2.1.x is incredible slow. Startup is about 4:30 min, without an life sign.


If you like I can provide my lib folder.

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
@per1234
Copy link
Contributor

per1234 commented Aug 2, 2023

As the error message explains, there is no way for Arduino IDE to know how to correctly perform an update when you have multiple copies of the same library installed. So the update being canceled with this error message is the intended and correct behavior under these conditions. There is a detailed explanation of why this is the only correct behavior here:

arduino/arduino-cli#1871

Please follow the instructions from the error message and delete the superfluous library installations.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
@per1234 per1234 added conclusion: invalid Issue/PR not valid topic: CLI Related to Arduino CLI labels Aug 2, 2023
@arduino arduino locked as resolved and limited conversation to collaborators Aug 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: invalid Issue/PR not valid topic: CLI Related to Arduino CLI type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants