View Issue Details

IDProjectCategoryView StatusLast Update
0004081FreeCADFeaturepublic2021-04-01 16:00
Reporterberndhahnebach Assigned Towmayer  
Status closedResolutionfixed 
Target Version0.20 
Summary0004081: Abillity to show console output when running under Python
DescriptionForum thread:
related bug: 0004000

Whenn running in pur Python Console prints are not printed. In FEM, Arch and Draft we gone make heavy usage of console prints. In lot of cases not an error is raised but with a try except the problem is catched and an error is printed to the user someing has not been done, but the method runs further. If the console errors are surpressed the used does not get informed if something goes wrong.

We should be able to catch the console errors somehow in python mode. Best would be if it is possible to only catch these errors because than something went wrong.

The other way would be not to use console print at all an raise an error in each problem case in Arch, Draft and FEM. An very good example can be seen in the first post of the forum topic linked above.

TagsNo tags attached.
FreeCAD Information


related to 0004000 closedwmayer Ability to suppress console output when running under python 



2021-04-01 16:00

administrator   ~0015590

Fix committed to master branch.

Related Changesets

FreeCAD: master 377b01b4

2021-04-01 15:51:10


Details Diff
Py3: fixes 0004081: Abillity to show console output when running under Python Affected Issues
mod - src/App/Application.cpp Diff File
mod - src/Main/FreeCADGuiPy.cpp Diff File

Issue History

Date Modified Username Field Change
2019-08-07 19:43 berndhahnebach New Issue
2019-08-07 19:43 berndhahnebach Status new => assigned
2019-08-07 19:43 berndhahnebach Assigned To => wmayer
2020-10-14 21:10 Kunda1 Relationship added related to 0004000
2021-02-06 06:49 abdullah Target Version => 0.20
2021-04-01 16:00 wmayer Changeset attached => FreeCAD master 377b01b4
2021-04-01 16:00 wmayer Note Added: 0015590
2021-04-01 16:00 wmayer Status assigned => closed
2021-04-01 16:00 wmayer Resolution open => fixed