Open pwalczysko opened 3 years ago
An easy way around this is to add a --output <filename>
or --append <filename>
argument to the script instead of relying on stdout.
from https://github.com/IDR/SubmissionWorkflow/pull/32#issuecomment-698402503 should https://github.com/ome/omero-py/commit/1657d142d3349f0f7e2d7a107a36373bf76cbe68 not be updated to also check stdout for tty-ness?
>>> import sys
>>> sys.stdout.isatty()
True
>>>
(base) ~ $python -c "import sys; print(sys.stdout.isatty())" | cat
False
See https://github.com/IDR/SubmissionWorkflow/pull/32#issuecomment-698356122 and the follow-up comments and the output below for the bckgr.
Synopsis: If you are not logged in to OMERO and start the
stats.py
script as per the doc, there will be a wait and no output or warning. The script will not start executing, instead waiting for you to log in, but giving you no indication of that.Long wait
Then, in another terminal, a new ssh and
which shows
cc @manics @sbesson