kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #20664
Re: Packaging the python footprint wizards for the release
On 28 September 2015 at 22:10, Bernhard Stegmaier
<stegmaier@xxxxxxxxxxxxx> wrote:
> And maybe a dumb question, but… how do I get some debugging output from kicadplugins.i?
> Will a simple Python print() show something? Where?
>
> Regards,
> Bernhard
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.
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