yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.55k stars 201 forks source link

kikit libs installation path #752

Open laenzlinger opened 1 month ago

laenzlinger commented 1 month ago

Prerequisites

KiKit version

1.6.0-2 (installed with pacman python-kikit)

KiCAD version

8.0.5

Operating system

arch linux

Description

First of all, thanks for providing kikit.

I was using it mainly via Kibot but for a new project wanted to use the panalize functions. Fro that I have used the footprints and symbol library.

After upgrading to KiCAD 8 (and moving to another computer), I got warnings about missing kikit libraries.

Therefore I followed https://yaqwsx.github.io/KiKit/v1.4/installation/gui_and_libs/ .

After installing the GUI and libs via PCM the libraries are found in:

s ~/.local/share/kicad/7.0/3rdparty/footprints
 footprints
└──  com_github_yaqwsx_kikit-library
    └──  kikit.pretty
        ├──  Board.kicad_mod
        ├──  Fiducial.kicad_mod
        ├──  NPTH.kicad_mod
        └──  Tab.kicad_mod

However, the official KiKit 8 installation on arch linux does not use this '7.0' path by default.

KICAD8_3RD_PARTY=~.local/share/kicad/8.0/3rdparty

Steps to Reproduce

laenzlinger commented 1 month ago

I am not a KiCAD specialist, but a wild guess is that version 8 should be mentioned also here: https://github.com/yaqwsx/KiKit/blob/309b937551146aabb3d5af3edcc21d94f3969d3a/pcm/kikit-lib/metadata.json#L32

?

yaqwsx commented 1 month ago

I am not a KiCAD specialist, but a wild guess is that version 8 should be mentioned also here:

https://github.com/yaqwsx/KiKit/blob/309b937551146aabb3d5af3edcc21d94f3969d3a/pcm/kikit-lib/metadata.json#L32

?

Based on https://dev-docs.kicad.org/en/addons/index.html:

kicad_version: (required) The minimum required KiCad version for this package (major.minor).

To be honest, I would suspect a problem in arch packaging. I tested this on Ubuntu 22.04 and the libraries installed to a correct location. Could you verify that other PCM footprint libraries doesn't suffer from this problem?

yaqwsx commented 2 weeks ago

@laenzlinger : Do you have any inputs regarding this issue?

laenzlinger commented 4 days ago

Thank you for your answer. No sorry, I did not check anymore, I will have to look again into it, and try it again from scratch on arch. Feel free to close the issue, if you think its not relevant.