Python error output in report view

Need help, or want to share a macro? Post here!
User avatar
Posts: 1945
Joined: Fri Apr 28, 2017 4:23 pm

Python error output in report view

Postby Joel_graff » Tue Sep 14, 2021 1:27 pm

Just a quick question - is there an easy way to get a complete stract trace from a python error in FreeCAD under Windows? The report view always cuts it off since it's usually too long. On my Linux machine, I just run FreeCAD from the terminal and look at that for the complete listing. It appears there's no equivalent under Windows...
FreeCAD Trails workbench for transportation engineering:

pivy_trackers 2D coin3D library:
Posts: 2504
Joined: Thu Apr 05, 2018 1:53 am

Re: Python error output in report view

Postby TheMarkster » Wed Sep 15, 2021 4:31 am

If you run from a command line prompt (or I guess you could edit the desktop link to include a command line arugment)

FreeCAD --log-file "c:\users\me\documents\mylogfile.txt"
My FreeCAD video series on youtube: