kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #20669
Re: Packaging the python footprint wizards for the release
> On 29 Sep 2015, at 10:49, Brian Sidebotham <brian.sidebotham@xxxxxxxxx> wrote:
>
> See the comments about stdout not being open for python:
> https://github.com/KiCad/kicad-source-mirror/blob/master/scripting/kicadplugins.i#L43
>
> Just open a new file to direct stdout to temporarily while you're
> debugging/testing:
> http://stackoverflow.com/questions/4675728/redirect-stdout-to-a-file-in-python#answer-4675744
>
> Best Regards,
>
> Brian.
Thanks for the tip… worked.
I need some help, though:
I changed the paths and I verified that all of the python wizards/plugins are loaded fine.
All paths are correct, python seems to load the plugins via __import__ just fine (there seems to be a valid object when doing a print on it), no other errors.
But, I just don’t find those plugins anywhere in pcbnew… :(
Maybe I am just blind, but where are they supposed to be?
If they should appear in the menu, where are the menu entries created?
I don’t know if related, I did not notice that before:
When opening the Tools menu I always get an OS X wxWidgets assertion about invalid checked/unchecked menu items which obviously are created wrong (at least for OS X)… maybe those are the ones I am missing?
Regards,
Bernhard
Follow ups
References
-
Packaging the python footprint wizards for the release
From: Nick Østergaard, 2015-09-27
-
Re: Packaging the python footprint wizards for the release
From: Miguel Angel Ajo, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Wayne Stambaugh, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Nick Østergaard, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Wayne Stambaugh, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Nick Østergaard, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Wayne Stambaugh, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: LordBlick, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Bernhard Stegmaier, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Nick Østergaard, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Bernhard Stegmaier, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Wayne Stambaugh, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Bernhard Stegmaier, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Bernhard Stegmaier, 2015-09-28
-
Re: Packaging the python footprint wizards for the release
From: Brian Sidebotham, 2015-09-29