KiCad freeze when i try to use Cvpcb editor

Every time i want to open the Cvpcb-editor to assign footprints to my schematic symbols, the window openes, the idle-cursor appears and never go away. The application seems freezed and i only can terminate the whole KiCad :slight_frown:
Same when search for parts. Selecting them from a library work, but search will never return and freezes KiCad also.

Whatā€™s wrong?
Iā€™m using latest KiCad 4.0.7 on Windows 7 64-Bit, on HP ProBook 650G Core i5 with 8Gig RAM.

KiCad is looking to GitHub.

Let it ā€œhangā€ for at least 1 minute, it might work fine if you wait long enough for it to ā€œloadā€ the information from the interwebs.

Hopefully this gets fixed the next time around.

Ok, i removed the KIGITHUB environment variable from the settings and the window now openes.
But there is an error message telling that KiCad canā€™t load some libs from Github. I hope i do not use themā€¦
Wouldā€™nt it be even smarter to download them to local computer?

1 Like

How to install local footprint libs by @bobc

1 Like

Thanks Rene for the hint. Unfortunately this does not work (for me). I could remove all libs, but in the next step to download them from github, it get an error message
I think my Problem is that iā€™m behind a Proxy server, which could not be set in Windows-Version of KiCad?!

Also, i do not get all the paths and library files and such. Maybe iā€™m confusedā€¦ why is this so complicated? As far as i know until now, KiCad is written in Python and uses git to access the libs from Github. Git should be able to handle proxies, so why isnā€™t there an setting for it? I mean, we are on Version 4.x not 0.x beta ;-)))

Kicad is written in c++ and it does not use git to access libs but it uses the github API to get zip archives of the lib. (This is how the github plugin works.)
But there also exists a python script that can download all footprint libs using git.


This does not setup kicad though you need to add the downloaded libs manually using the footprint library wizard. (add local libs)
1 Like

I see. Thanks for pointing this out.
I downloaded and execute the script, but it does not download anything either.
ā€œError loading fp-lib-table from gibhubā€
The same proxy problemā€¦

Iā€™ve had problems cloning from github recently and resorted to downloading zips directly. This wasnā€™t just Kicad stuff. I forget the error now.

Yeah, i did it that way now, also. This is how:
1.) Download https://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-github
2.) Write a little Shell-Script to build the libfile from the content. E.g. from the line
(lib (name Capacitors_SMD)(type KiCad)(uri ${KISYSMOD}/Capacitors_SMD.pretty)(options "")(descr "Capacitors, surface mount"))
i took ā€œCapacitors_SMD.prettyā€, prefixed it with ā€œhttps://github.com/KiCad/ā€ and also add suffix ā€œ/archive/master.zipā€, i get this download-URL: ā€œhttps://github.com/KiCad/kicad-library/Capacitors_SMD.pretty/archive/master.zipā€.
3.) Download the archive using wget
4.) Extract the contents into a temporary directory (e.g. c:\temp) and rename the extracted directory from ā€œCapacitors_SMD.pretty-masterā€ to just ā€œCapacitors_SMD.prettyā€.
5.) After doing this for all files, i removed all folders in ā€œC:\Program\KiCad\share\kicad\modulesā€ and move the downloaded libs from temp-dir here.
6.) Last, put the content of this table ā€œhttps://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-prettyā€ into ā€œ%APPDATA%\Roaming\kicad\fp-lib-tableā€

After starting KiCad i could access all libs, and it now has the performance it expect. This also works behind a proxy :wink:

2 Likes