View Issue Details

IDProjectCategoryView StatusLast Update
0004081FreeCADFeaturepublic2019-08-07 19:43
ReporterberndhahnebachAssigned Towmayer 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version0.19 
Target Version0.19Fixed in Version 
Summary0004081: Abillity to show console output when running under Python
DescriptionForum thread: https://forum.freecadweb.org/viewtopic.php?f=39&t=38238&p=325582#p325582
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.

bernd
TagsNo tags attached.

Activities

There are no notes attached to this issue.

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