kicad_jlcpcba
kicad_jlcpcba copied to clipboard
Cannot execute plugin
Hi! I have put the folder inside my plugin folder (tried both the one in AppData\Roaming and in Program Files) but I get the following error:  but I get the following error:  [GCC 9.3.0 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. Startup script executed: C:\Users\livigvi001\AppData\Roaming\kicad\PyShell_pcbnew_startup.py
Hi. I get the exact same error. windows 10, KiCad 5.1.7, Python 3.8 installed but the scripting shell is 2.7.18 as @livigni has reported. it seems we need to force the script to use python 3.... Somehow?
seems the answer is here: https://forum.kicad.info/t/why-is-python-version-shown-as-2-7-in-kicad5-1-0/15874/6
I'm using latest stable kicad (not nightly). I'm missing a lot of components in the pos file.
I get kind of proper files (bom/bottom_pos/top_pos), but looks like exception still happens:
[Window Title]
Exception on python action plugin code
[Main Instruction]
Traceback (most recent call last):
[Content]
File "C:\Users\user\AppData\Roaming\kicad\scripting\plugins/kicad_jlcpcba/jlcpcba_action.py", line 29, in Run
tb = ''.join(traceback.format_exception(None, e, e.__traceback__))
AttributeError: 'exceptions.IOError' object has no attribute '__traceback__'
[OK]
Looks like I'm not getting pos entries for the customized footprints that are embedded in the pcb file.
Looks like the traceback above happens when it can't open/read footprint file by name.