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

Showing "ZipArchiveEmpty" for libraries that should be OK #85

Open
tobiasvogel opened this issue Jun 11, 2022 · 5 comments
Open

Showing "ZipArchiveEmpty" for libraries that should be OK #85

tobiasvogel opened this issue Jun 11, 2022 · 5 comments

Comments

@tobiasvogel
Copy link

I encountered a number of Parts (via mouser.com) where the library-loader GUI says "ZipArchiveEmpty", however when downloading the file via componentsearchengine.com the zip-files look like valid zip files and the desired library is indeed included.
Example:
RAC10E-12SK/277 Recom Power Module
fails via mouser.com (Eagle library).

@olback
Copy link
Owner

olback commented Oct 9, 2022

I just tried that same part, and it worked for me. Can you try that part with the new 0.4 release?

@Freshdouble
Copy link

Have the same problem on my machine with Linux Mint.

Since the application shows the message that an update is available all libraries i am trying to download throw the same error. Before that the download worked most of the time.
There is no 0.4 release on the release page so i am also not able to update to this release.

@tobiasvogel
Copy link
Author

I compiled v. 0.4 from the master branch and tried with the same exact part as posted above but I still get the "ZipArchiveEmpty" error (Ubuntu 22.04.1 LTS, compiled natively, not via docker).

@Thomas73951
Copy link

Hi, I'm also having this issue through cli and gui, using v0.3.1 (as nothing built for v0.4.0), with parts that install fine with the library loader on windows.

@warrickw
Copy link

warrickw commented Apr 7, 2023

First of all - here's a workaround:
Copy/paste/clone the downloaded zip file in your downloads folder - that will get the copy picked up by the library-loader.

Here's the underlying problem:
If the zip file is found and processed by this tool before it has finished downloading, you will run into this problem.

The branch in this PR solves the problem for me. I'm using Firefox on Ubuntu 22.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants