wexi / impart

Helps to build KiCad component libraries imported from octopart, samacsys, ultralibrarian and snapeda zipfiles.
2 stars 1 forks source link

2 No such file or directory #2

Open Steffen-W opened 2 years ago

Steffen-W commented 2 years ago

https://www.snapeda.com/parts/EPC2019/EPC/view-part/

./impart.py

Library zip file: EPC2019.zip
Generic device name: EPC2019
Adding EPC2019 to snapeda
Device description [=clipboard]: 
Datasheet URL [=clipboard]: 
2 No such file or directory

Hi, unfortunately I can not identify the problem. Can you help me what the message means.

wexi commented 2 years ago

$ impart --init --zap Erase/Initialize which library? octopart samacsys snapeda ultralibrarian
Erase/Initialize which library? octopart Erase/Initialize which library? samacsys Erase/Initialize which library? ultralibrarian Erase/Initialize which library? snapeda Library zip file: EPC2019.zip Generic device name: EPC2019 Adding EPC2019 to snapeda Device description [=clipboard]: Device description: N-Channel 200 V 8.5A (Ta) - Surface Mount Die Datasheet URL [=clipboard]: Datasheet URL: https://www.snapeda.com/parts/EPC2019/EPC/datasheet/ footprints: 1 OK: Library zip file: EOF

Did you customize mydirs.py ?

I have it as follows:

from pathlib import Path

SRC = Path.home() / 'Desktop' LIB = Path.home() / 'private/edn/kicad-libs'

SRC is where it finds the zip's, LIB is where it builds the libraries.

Thanks, Enoch.

Steffen-W commented 2 years ago

Hello, it seems that I had not initialized the library. But maybe it would be a good idea to do this if the library is missing.