Python macro error output

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
cutuk

Python macro error output

Post by cutuk »

Is it possible to have error output in FreeCAD's python console while working with macros?
wmayer
Founder
Posts: 20298
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Python macro error output

Post by wmayer »

Yes, go to Edit > Preferences > General > Output window and set the check mark "Redirect internal Python errors to output window".
cutuk

Re: Python macro error output

Post by cutuk »

I have set the "Redirect internal Python errors to output window" check mark but nothingh changes, when I run macro that has an error using play button there is no error displayed in python console so it makes me difficult to debug code.
wmayer
Founder
Posts: 20298
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Python macro error output

Post by wmayer »

Did you restart the application afterwards?
cutuk

Re: Python macro error output

Post by cutuk »

Everything works fine, I was looking for error output in python console window, but i have find out that it is actually in report window. Thanks, amazing software!
Post Reply