Hi, Dňa Wed, 22 Jan 2014 16:50:08 -0800 Jeremiah Mahler <jmmah...@gmail.com> napísal:
> On Sun, Jan 19, 2014 at 02:30:39PM +0100, Slavko wrote: > > Hi, > > > > some days ago the Kicad was updated in testing. Today i am trying to > > develop one PCB, but the module (*.mod) files are missing. After i > It is certainly broken. I tried opening a known working project I > had and CvPcb generated lots of missing *.mod errors. > I also couldn't open the pcb. > > I got around this problem by downgrading from the 0.20131208 version > to 0.20130727. Luckily I had them in my /var/cache/apt/archives/ Finally i was success with the testing's KiCad version. Steps below. Whole problem is coming from the change of footprints/modules syntax. The KiCad was moved from the .mod files to the .pretty directories. But this behavior became default from the bzr revision r4535, and the library repository was changed and the .mod files was removed from it. But old footprints repository is archived here: https://code.launchpad.net/~dickelbeck/kicad/library-read-only The new .pretty footprints format seems to be nice, because KiCad is moving from libraries where more footprints was in one common file(s) and new format is only one footprint in one .mod file and librery is the directory which name ends with .pretty. How to get old .mod files back to KiCad: 1, clone the bzr repo somewhere (i use the /tmp dir): cd /tmp bzr branch lp:~dickelbeck/kicad/library-read-only 2, make and install it: cmake . make sudo make install - they will be installed into /usr/local/share/kicad, where kicad can find them 3, create the footprints.pdf: cd /usr/local/kicad/modules/footprints_doc psmerge -ofootprints.pdf merge_ps-files.ps Due naming changes (mostly only uppercase), the kicad.pro need to be updated: 1, copy /usr/share/kicad/template/kicad.pro somewhere into writable dir 1a, open copied kicad.pro in kicad 2, open cvpcb from kicad, go to Preferences - Libraries, remove all missing libraries and add new from /usr/share/kicad/modules/ 2a, if one want, do the same for the Footprint alias files 3, open pcbnew from kicad, go to Preferences - Libraries, check that libraries was changed 3b, set the path to the footprints.pdf 4, close kicad 5, copy kicad.pro back to the /usr/share/kicad/template/ (need root) I suggest to make backup of the kicad.pro file, because it will be changed on kicad-common update. Or do dpkg-divert on it... To make the "New from template" to work, one can create symlink: cd /usr/share sudo ln -s kicad/template template The steps need to do for all old .pro files or delete the project file and create the new one... I am sending copy to the BTS, perhaps it helps the maintainers too. regards -- Slavko http://slavino.sk
signature.asc
Description: PGP signature