View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004081||FreeCAD||Feature||public||2019-08-07 19:43||2021-04-01 16:00|
|Summary||0004081: Abillity to show console output when running under Python|
|Description||Forum 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.
|Tags||No tags attached.|
|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|