-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It doesn't work with KiCad version 8 for me #162
Comments
Somehow, during upgrade, PIP managed to mismatch version of the mistune library. We require https://github.com/yaqwsx/PcbDraw/blob/a748a8ed32e5c37aa7517c264f6daf78b4c31bec/setup.py#L29C9-L29C35, but it seems that you have version 3 installed. |
I installed PcbDraw via KiCad 8.0 command line - pip install PcbDraw |
#166 should resolve this. |
It still doesn't work for me. It will draw a small square in png. |
I used the same startup script as in KiCad version 7.
Here is an extract from the running script:
D:\Projects\PCB_designs\KiCad\Projects\LINET\W240228 - MIC Amp\W240228.01>D:\Renda\Documents\KiCad\8.0\3rdparty\Python311\Scripts\pcbdraw.exe plot "D:\Projects\PCB_designs\KiCad\Projects\LINET\W240228 - MIC Amp\W240228.01\W240228.01.kicad_pcb" "D:\Projects\PCB_designs\KiCad\Projects\LINET\W240228 - MIC Amp\W240228.01\Documentation\W240228.01(PCB_Bot).png" --no-components --style D:\Projects\PCB_designs\KiCad__3rdparty_8.0\plugins\ProjectReleaser\wiser-blue-enig.json --side back --dpi 800
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "D:\Renda\Documents\KiCad\8.0\3rdparty\Python311\Scripts\pcbdraw.exe_main.py", line 4, in
File "D:\Renda\Documents\KiCad\8.0\3rdparty\Python311\site-packages\pcbdraw\ui.py", line 15, in
from .populate import populate
File "D:\Renda\Documents\KiCad\8.0\3rdparty\Python311\site-packages\pcbdraw\populate.py", line 16, in
from mistune.plugins.table import plugin_table # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'plugin_table' from 'mistune.plugins.table' (D:\Renda\Documents\KiCad\8.0\3rdparty\Python311\site-packages\mistune\plugins\table.py)
The text was updated successfully, but these errors were encountered: