Closed uchan-nos closed 7 months ago
@uchan-nos could you please attach a zipped footprint, which is failing the loading process?
@easyw Here you are. CNZ1023_kicad_mod.zip
This is created by me, not part of the standard library.
@uchan-nos I think is because of the path ${UCHAN_3DMODEL_DIR} in your kicad_mod fp. The parser should be open the file coding in utf-8 anyway. Thanks for finding the issue. I'm going to push a fix as suggested.
Thank you for your quick response.
For your information:
UCHAN_3DMODEL_DIR = C:\Users\uchan\SynologyDrive\electronics\kicad_library\3dmodels
.
There are no spaces or non-ASCII characters.
@uchan-nos it is strange that I couldn't replicate the issue, anyway the parser now is opening the file coding in utf-8. I'm closing this as solved. Thanx.
I'm using KSU 11.1.6 on FreeCAD 0.21.2 and KiCad 7.0.10. OS is Windows 11.
When I tried to load a KiCad footprint by clicking "Load FootPrint" button, the following error occurred.
I could fix this error by changing this line
as follows
I suspect that newer versions of KiCad will use UTF-8, even when running in a Windows environment.