Thanks! I’ll do it right away.
I’m back with a few questions. Maybe I found another bug, maybe I did something wrong. I updated to the most recent nightly and relaunched KiCad 9. The two addons (mine and rounded tracks) are still in the folder.
After launching KiCad, a terminal window appeared:
And the KiCad UI took forever to load. At some point the UI was properly loaded though. I was unable to close the terminal window though and my systems CPU usage was at 100% until the KiCad UI was built (took around 20 seconds).
This is the process of the terminal window:
Closing it via the task manager worked. However, after restarting KiCad again, the issue with the terminal popup could not be reproduced. The slow loading time stayed unchanged though.
The plugin and content manager detects both plugins as installed:
However, in the UI only round tracks is shown (maybe there is another issue with my plugin, I don’t know. It looks good to me and KiCad doesn’t throw any errors, so I’m not sure where to look).
Pressing the round tracks UI doesn’t do anything though. @albin reported some issues with round tracks as well, also with a strange terminal. However, their obvservations were different than mine.
Ah. the very slow loading seems to be tied to an anti malware checker at my work PC:
I also just noticed that every action in KiCad triggers this, even just launching the PCB editor takes solid 30 seconds
I had similar issues the first time I opened the Nightly build with the round tracks example placed in the plugins directory. But after the first time it has worked okay, although the loading time seems to be longer sometimes. I meant to re-do these steps to be able to report it properly, but haven’t gotten to it yet.
For me the round tracks example works, but I believe that I have to open KiCad 9.0 Command Prompt and run pip install kicad-python
and pip install wxPython
, or pip install -r requirements.txt
on the file in the round tracks folder. As I understand it, this has to be done if the folder is simply placed in the plugins folder, but not if the plugin is installed through PCM.
The problems I’m having with round tracks is only when I compile kicad-python myself, it works fine with kicad-python from pipy using pip.
I get the round tracks icon in PCB Editor, but it’s not listed as installed in PCM. Did you install it using PCM, or simply place it in plugins folder? I placed it in C:\Users\denne\Documents\KiCad\9.0\plugins
(not C:\Users\denne\Documents\KiCad\9.0\scripting\plugins
), because the documentation says so.
I tried it 10 times so far, the windows malware checker always chimes in.
ahh! I will try this later today and report back. I did not manually install any dependencies. Thank you!
I manually installed it by dropping it in the folder (after I downloaded it from GitLab). I used this path: <user documents>/KiCad/<version>/3rdparty/plugins/
Ah! That explains it. I moved it to that folder and now it shows up as installed for me as well.
You will need to use the debugging tools listed in the dev docs site to get more info.
Although @Mineotopia I don’t think KiCad can do much about your antivirus
That’s the PCM-controlled path. I would just use /KiCad/<version>/plugins
for things you are manually adding.
This is not accurate – you need to do this if you are trying to use an unreleased version of kicad-python, where you might need to install from a locally-built wheel. You don’t need to do this if the plugin can use the version of kicad-python on PyPI, whether installed by PCM or not.