Shell output

We’ve just installed 2022 and none the python scripts are outputting anything to the shell like they did before. Do you need to launch Flame in a different way to get the output from scripts back into the shell or am I missing something?

Unfortunately the ability to have scripts output info to the shell is somewhat broken in 2022. You can get around it by adding flush=True to your print functions like this:

print (‘something’, flush = True)

Doing this will cause the script to not work in 2021.x.

Ah, I see. Well that’s a bit inconvenient.

This issue (FLME-57455 : “The output of the print functions executed in the Python Console no longer appears in the Terminal/Konsole right away”) has been fixed in the Flame 2022.1 Update.

1 Like