-
Notifications
You must be signed in to change notification settings - Fork 33
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
KiBuzzard disappears from action plugins list after refreshing plugins #30
Comments
Ahh, neat! Thanks for digging into this. I do have the same issue, and I see other plugins don't do this, so this is probably something we can fix. |
I renamed the issue to a more appropriate title. Because the actual issue is that this plugin disappears when refreshing the plugins. I'll look into this again today. |
Hmm. This morning I couldn't repo this, the button never disappeared. But just then I did have it happen just now. But after restarting KiCad It's now not disappearing... |
That's weird. Happens to me all the time. And when you get the icon to disappear. Do you get the same error when you try to launch the plugin via the scripting console as seen in the screenshot? |
Yeah, I've seen it happen to me too. Weird that it's now in a state that works.... I'm on I was going to try that. But I thought I needed to be in the correct directory for |
Opening the scripting console and running |
Can you try with 6218cf3? I might need to deep dive into how the python plugins are imported. |
Wohooo! It seems fixed! 🚀 And the best part is: It also takes code changes into consideration. No more having to restart KiCad when some python code has changed. Extremely good for the dev workflow. Great job Greg! |
When I hit
Refresh Plugins
the KiBuzzard Icon disappears from the toolbar and only reappears when I relaunch KiCad.After refreshing the plugins I am still able to try to launch the plugin from the scripting console but I get a TypeError.
By the way, this is a nice way to test the code without restarting KiCad or being able to successfully reload the plugins. To run the code simply
import KiBuzzard
and then run the plugin viaKiBuzzard.KiBuzzard.plugin.Run()
The text was updated successfully, but these errors were encountered: