Skip to content

FileNotFoundError: Unable to open KiCad Schematic Library File device #211

Answered by devbisme
Lakroft asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Thanks for trying SKiDL!

First, make sure the KiCad V6 symbol directory is in lib_search_paths. Here's what mine looks like:

>>> print(lib_search_paths)
{'spice': ['.'], 'kicad': ['.', '/home/devb/projects/KiCad/kicad_symbols/v6'], 'skidl': ['.', '/home/devb/.pyenv/versions/skidltest/lib/python3.11/site-packages/skidl/libs']}

You can see the local directory where my KiCad V6 symbols are stored in the list under the kicad key.

If that's OK, then the problem is the need to be a little more explicit with your library name. Try this:

led = Part('Device.kicad_sym', 'D', footprint='Diode_SMD:D_0201_0603Metric', dest=TEMPLATE)

Let me know if that works.

(The next release of SKiDL won't requi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lakroft
Comment options

Answer selected by Lakroft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants