library-loader icon indicating copy to clipboard operation
library-loader copied to clipboard

Showing "ZipArchiveEmpty" for libraries that should be OK

Open tobiasvogel opened this issue 2 years ago • 6 comments

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).

tobiasvogel avatar Jun 11 '22 13:06 tobiasvogel

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

olback avatar Oct 09 '22 13:10 olback

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.

Freshdouble avatar Oct 17 '22 10:10 Freshdouble

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).

tobiasvogel avatar Oct 17 '22 10:10 tobiasvogel

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.

Thomas73951 avatar Feb 19 '23 15:02 Thomas73951

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.

warrickw avatar Apr 07 '23 01:04 warrickw