From 0cfa1e7d49eb90174fdc8bef5161113a4a43fae9 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Wed, 10 Nov 2021 09:18:28 -0300 Subject: [PATCH] PythonEmbed - Duplicate timeout waiting for Python version output Some users have reported intermitent errors, likely depending on machine load. --- src/Python/PythonEmbed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Python/PythonEmbed.cpp b/src/Python/PythonEmbed.cpp index cce9ed8b7..8752e0fd1 100644 --- a/src/Python/PythonEmbed.cpp +++ b/src/Python/PythonEmbed.cpp @@ -136,7 +136,7 @@ bool PythonEmbed::pythonInstalled(QString &pybin, QString &pypath, QString PYTHO } // wait for output, should be rapid - if (py.waitForReadyRead(2000)==false) { + if (py.waitForReadyRead(4000)==false) { fprintf(stderr, "Didn't get output: %s\n", pythonbinary.toStdString().c_str()); py.terminate(); return false;