Skip to content
New issue

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

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

Already on GitHub? # to your account

Dependent menus not updated after .zip library install #659

Closed
per1234 opened this issue Dec 2, 2021 · 3 comments · Fixed by #1807
Closed

Dependent menus not updated after .zip library install #659

per1234 opened this issue Dec 2, 2021 · 3 comments · Fixed by #1807
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Dec 2, 2021

Describe the bug

🐛 After installing a library via Sketch > Include Library > Add .ZIP Library...", the library does not appear in the "File > Examples" and "Sketch > Include Library" menus until after the IDE is restarted.

To Reproduce

  1. Obtain an library in suitable .zip format which is not already installed on your computer: https://github.com/arduino-libraries/ArduinoMDNS/archive/refs/heads/master.zip
  2. Select Sketch > Include Library > Add .ZIP Library... from the Arduino IDE menus.
  3. Select the library .zip (ArduinoMDNS-master.zip).
  4. Click the Open button.
  5. Select File > Examples from the Arduino IDE menus.
    🐛 Note that the expected "ArduinoMDNS" submenu item is not present.
  6. Select Sketch > Include Library from the Arduino IDE menus.
    🐛 Note that the expected "ArduinoMDNS" submenu item is not present.
  7. Select File > Quit from the Arduino IDE menus.
  8. Start the Arduino IDE.
  9. Select File > Examples from the Arduino IDE menus.
    🙂 Note that the expected "ArduinoMDNS" submenu item is now present.
  10. Select Sketch > Include Library from the Arduino IDE menus.
    🙂 Note that the expected "ArduinoMDNS" submenu item is now present.

Expected behavior

Dependent menus are refreshed after .zip library install

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc1-snapshot.f0d9894
    Date: 2021-11-30T16:25:41.414Z
    CLI Version: 0.20.1 [abb21449]

Additional context

These menus are updated after .zip library installation in the classic Arduino IDE.

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Dec 2, 2021
@kittaakos
Copy link
Contributor

The new APIs should solve this. See somewhat related problem here and the new APIs here.

@kittaakos kittaakos assigned kittaakos and unassigned fstasi Sep 8, 2022
kittaakos pushed a commit that referenced this issue Jan 9, 2023
Closes #659

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 9, 2023
Closes #659

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 11, 2023
Closes #659

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 16, 2023
@roseanne09
Copy link

Error: 13 INTERNAL: Library install failed: library not valid. the error occurs when i try to add a zip library of esp32-camera-master in the add .ZIP library
Screenshot (9)

@per1234
Copy link
Contributor Author

per1234 commented Feb 17, 2023

@roseanne09 that is off topic here. Please post about it on the Arduino Forum. I'll help you to install the library over there:

https://forum.arduino.cc/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants