Skip to content
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

KiCAD error. Archive does not contain a valid metada.json file #142

Closed
fjrg76-com opened this issue Jan 2, 2024 · 7 comments
Closed

KiCAD error. Archive does not contain a valid metada.json file #142

fjrg76-com opened this issue Jan 2, 2024 · 7 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@fjrg76-com
Copy link

Hi, I've just downloaded the project and while attempting to open it with the KiCAD7's PCM manager I got the above error.

Did I miss something? Any hint?

@pedrominatel
Copy link
Member

Hi,

If you are using macOS: Make sure to download the correct zip file and do not extract the files. If you are using macOS and Safari, ensure to that the automatic unzip feature (Open safe files after downloading) is disabled.

@pedrominatel pedrominatel added the question Further information is requested label Jan 3, 2024
@zerovijay
Copy link

zerovijay commented Jan 4, 2024

use this link download the zip file or go to this page

@pedrominatel
Copy link
Member

Any update, @fjrg76-com?

@grantgumina
Copy link

Ran into the same issue and disabling Safari's "auto open" feature worked great.

@Navarro-Franco
Copy link

I found a partial solution.

  1. Clone the repo.
    git clone https://github.com/espressif/kicad-libraries
  2. Go to the repo and run the script with python
    cd kicad-libraries/ && python package.py
    you should get an output like this:
This script helps to generate a new kicad addon release.
It generates the release zip file and the metadata.json
Enter the new addon version (required format: major[.minor[.patch]]): 

  1. Enter a version like 2.0.7
    Enter the new addon version (required format: major[.minor[.patch]]): 2.0.7
    ( note: it must be higher than the version you download, in my case, the latest version is the 2.0.6)
    The script will generate a folder called " build " and a zip file with a valid metada.json

@pedrominatel
Copy link
Member

Use this link to download the latest version.

Download here the latest library!

Do not unzip the file and zip again and disable the auto-open/opan-safe function on Safari.

@dacut
Copy link

dacut commented Jan 31, 2024

I encountered this myself (on Chrome). In my case, my mistake was going to the Tags and selecting the zip link under the 2.0.6 tag, because GitHub hides the releases off to the side of the UI. This issue helped me find the right link to use.

@pedrominatel pedrominatel added the duplicate This issue or pull request already exists label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants