Problem loading footprints in cvpcb

I’m on Win 7 and running Kicad 2015-07-24 BZR 5989

I have been using this version since mid-oct with no problems until yesterday. I create a schematic, annotate the schematic then click on cvpcb to set the footprints. I am now getting an error msg window that has the following:

Errors were encountered loading footprints
IO_ERROR: http GET command failed
Cannot get/download Zip archive: ‘https://codeload.github.com/Kicad/Transistors_SMD.pretty/zip/master
for library path: ‘https://github.com/Kicad/Transistors_SMD.pretty’.
Reason: ‘Not found’
from C:/msys64/home/nosterga/MINGW-packages/mingw-w64-kicad/pcbnew/github/github_plugin.cpp:remote_get_zip() : line 580

This is repeated about 10-12 times for other .pretty’s. “C:/msys64” is not on my machine and I have checked the Kicad preferences and it is not there either.
When I am in cvpcb some of the libraries show up as blank/empty and so are not accessible. I don’t really want to start re-installing at this point as I’m waiting for the binaries to show up for the new stable version and will re-install then. Any help in solving this would be appreciated…

404 not found…
seems they changed the repo’s URL?

I thought about that too, but this is affecting my footprints too. I have three local footprint libs that I have made. Now, one of them I cannot access thru cvpcb and the other two I can sometimes after repeatedly opening cvpcb and saving.

Quite recently a lot of libraries on github were deleted!

There used to be 97, now I count 76.

I assume parts were moved to other libraries.

-Capacitors_Elko_ThroughHole.pretty
-Crystals_Oscillators_SMD.pretty
-Housings_ROHM.pretty
-Housings_SOT-23_SOT-143_TSOT-6.pretty
-Housings_SOT-89.pretty
-Housings_SOT.pretty
-Housings_TO-12_TO-18_TO-42_TO-43.pretty
-Housings_TO-50.pretty
-Housings_TO-78.pretty
-Housings_TO-92.pretty
-Muonde.pretty
-Oscillator-Modules.pretty
-Pentawatts.pretty
-Power_Packages_SMD.pretty
-Power_Packages_ThroughHole.pretty
-Printtrafo_CHK.pretty
-Sockets_DIP.pretty
-Sockets_PGA.pretty
-Transistors_SMD.pretty
-Transistors_TO-220.pretty
-Transistors_TO-247.pretty

These .pretty’s show up in the err msg:

Housings_TO-50
Power_Packages_ThroughHole
Crystal_Oscillators_SMD
Housings_TO-78
Transistors_SMD
Pentawatts
Housings_SOT
Transistors_TO-220
Oscillator-Modules
Capacitor_Elko_ThroughHole
Housings_ROHM
Housings_SOT-23_SOT-143_TSOT-6

And they are all in your list. Pin_Headers is not in your list but in cvpcb it shows up consistently as being empty. Other libs, mine and those on Github, are sometimes showing their contents and at other times not. I could kind of understand it if only Github libs were erratic, I can put that down to somebody working on them, but my libs are local and they share the same random behaviour…

In the meantime is there a setting I can clear so that cvpcb does not go looking for libs that are no longer there?

For info, this part of the message comes from an assert() type macro. It’s the name of the source file and line number of the file on the user’s system where the binary was compiled. The function “remote_get_zip” is trying to retrieve the repo from github, and getting the error.

I don’t know why this would affect local libraries though.

I have the same problem but it is limited to the SOT-23 housings.

How do I update my library definitions so that I have the most up to date references?

Is there a searchable table on the kicad library web portal that states which patterns can be found where?

thx Bobc, that is more or less what I figured out except for the compilation bit. I didn’t… I downloaded the binary. Another thing I’ve just discovered is that though a lib’s contents may not be visible in cvpcb I can access it in the footprint editor. So this morning I copied two pin headers to one of my “always visible” libraries and I was able to get them onto the pcb.

I’m also having a problem all the sudden with cvpcb not loading correctly.

When I try to open cvpcb from eeschema I get the following errors.

And then when it does open there are no parts in alot of the libraries.

Is there any specific recommend solution for this?

I have a few board designs that I made with this version of the software so I’m hesitant to install new software that might screw with loading my previous designs.

Any help would be greatly appreciated.

Some of libraries were removed from github (footprints moved to another libraries) so they are “not found”. To fix the problem the libraries should be removed from your footprint library table (Preferences -> Footprint Libraries Manager).

I think that much better solution is to remove the default footprint library table that uses libraries “online” and download libraries from github using Preferences -> Footprint Libraries Wizard.
Using libraries “online” is dangerous because they may change without notification.

2 Likes

@michal777

So this is good advice here also? : https://acassis.wordpress.com/2015/09/01/fixing-kicad-library-not-found-issue/

Thank you RWB that was exactly what I was looking for.

If you fix it as in


the libraries are still “online” - which is bad (I think).

Okay… couple of questions then:
1> Won’t I miss any future changes, such as this recent change, in the libs if they are local?
2> How to download and make them local?
3> Do I have to download ALL libs? I don’t use a lot of them. For example - The Valves lib. I don’t use valves, but in the future I might make an amp that uses valves - what to do?
4> This is all about the footprints, is it the same for schematic symbols?

Having this problem in OSX, but it’s making kicad completely unworkable, as the error window goes off screen, so it’s not possible to say exit out of the window. The window is also not re-sizeable.

Here’s what it looks like one my screen:

Anybody have a work around? The blog post linked earlier does not help.

@skaevola The escape button does not delete the window?

@RWB No, it does not. The only thing I’ve been able to do is force quit out of Kicad.

@skaevola Can you change the screen resolution just long enough to click out of it.

Can you hit TAB to end up on the button you can’t see below then hit the Enter/Return key to close the window. In windows you hit tab to select different buttons that are open.

1 Like

@RWB Good idea, I was able to close out of it after rotating my display to be vertical (because it’s a very long dialog box…) Thanks.

1 Like

To fix you can remove your fp-lib-table (file installed with kicad with list of the libraries).