View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004081||FreeCAD||Feature||public||2019-08-07 19:43||2020-10-14 21:10|
|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.|