mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
PythonEmbed - Duplicate timeout waiting for Python version output
Some users have reported intermitent errors, likely depending on machine load.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user