Code Monkey home page Code Monkey logo

Comments (6)

pedrominatel avatar pedrominatel commented on September 21, 2024 1

Hi @ariyyyaaannn,

Thank you for the detailed explanation. This information about Safari "Open safe..." preference will be included on the README file soon.

from kicad-libraries.

pedrominatel avatar pedrominatel commented on September 21, 2024

Hello,
Are you using Safari to download the ZIP file?

PTAL #112

from kicad-libraries.

jacobnrohan avatar jacobnrohan commented on September 21, 2024

Is there a suggested solution? #112 specifies a solution for Safari users.

I've download using both github.com -> download ZIP and using git clone https://github.com/espressif/kicad-libraries and re-zipping the file. Both methods result in Archive does not contain a valid metadata.json error message in Kicad 7.0.7. The same is true after I upgraded to Kicad 7.0.9.

EDIT: Potential Solution

After doing some digging, I've noticed several archives contain an extra folder. For example:

The metadata.json in kicad-libraries-main.zip (downloaded from github.com) gets extracted as ./kicad-libraries-main/kicad-libraries-main/metadata.json. Selecting all the files and adding them to an archive fixes the issue I was having.

Untitled

from kicad-libraries.

pedrominatel avatar pedrominatel commented on September 21, 2024

Have you tried this file from the assets, @jacobnrohan?

from kicad-libraries.

ariyan-hawez avatar ariyan-hawez commented on September 21, 2024

Safari automatically unzips compressed files when downloaded. If you 'rezip' this folder, you get the following file structure:

>espressif-kicad-addon.zip
   >espressif-kicad-addon
      >3dmodels
      >footprints
      >metadata.json
      >....

As @jacobnrohan mentioned, You need the contents of the 'espressif-kicad-addon' to be at the root of the .zip file. Instead, select the contents of the downloaded folder and recompress them into a new .zip file. This is the desired structure:

>Archive.zip
   >3dmodels
   >footprints
   >metadata.json
   >....

You should be able to upload this new archive to the Kicad PCM with no issue.

image

You could also disable the extraction of zip files in safari preferences to avoid the issue in the first place.

image

from kicad-libraries.

pedrominatel avatar pedrominatel commented on September 21, 2024

Closing this issue. Now we have a note on the readme.

from kicad-libraries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.