This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients rajeevkchaurasia, serhiy.storchaka
Date 2021-06-14.12:43:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623674631.09.0.557023326599.issue44415@roundup.psfhosted.org>
In-reply-to
Content
I do not know what are lib.logger.Log and lib.debugger.Tee, but I guess that lib.logger.Log() creates a logger which writes to sys.stdout, and lib.debugger.Tee() is a file-like object which writes to the specified file and to standard output.

Standard output of your program is not consumed, so your program writes to it until fill the buffer and then hangs. Add >/dev/null 2>/dev/null at the end of the command in cronjob to redirect stdout and stderr. This issue is not specific for Python, you can get the same issue with any program which outputs to stdout or stderr.
History
Date User Action Args
2021-06-14 12:43:51serhiy.storchakasetrecipients: + serhiy.storchaka, rajeevkchaurasia
2021-06-14 12:43:51serhiy.storchakasetmessageid: <1623674631.09.0.557023326599.issue44415@roundup.psfhosted.org>
2021-06-14 12:43:51serhiy.storchakalinkissue44415 messages
2021-06-14 12:43:51serhiy.storchakacreate