You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is suggested to update the binary package libomsensplugin with our manual solution:
Create a symlink, because the plugin checks for the presence of pyhton with 'which python'
ln –s /usr/bin/python /usr/bin/python3
Update source code for OMSensDialog.cpp with the attached patch after you’ve verified the quality of patch
diff --git a/OMSensDialog.cpp b/OMSensDialog.cpp
index 32955b8..43b0c0b 100644
--- a/OMSensDialog.cpp
+++ b/OMSensDialog.cpp
@@ -270,14 +270,14 @@ bool OMSensDialog::runProcessAndShowProgress(QString scriptDirPath, QString comm
// Start process
pythonScriptProcess.start(command);
if (pythonScriptProcess.state() == QProcess::Running) {
if (pythonScriptProcess.state() >= QProcess::Starting) {
// Show dialog with progress
dialog->exec();
} else {
dialog->close();
}
// Wait for the process to finish in the case that we cancel the process and it doesn't have time to finish correctly
pythonScriptProcess.waitForFinished(3000);
pythonScriptProcess.waitForFinished(30000);
//
// See if the process ended correctly
QProcess::ExitStatus exitStatus = pythonScriptProcess.exitStatus();
It is suggested to update the binary package libomsensplugin with our manual solution:
diff --git a/OMSensDialog.cpp b/OMSensDialog.cpp
index 32955b8..43b0c0b 100644
--- a/OMSensDialog.cpp
+++ b/OMSensDialog.cpp
@@ -270,14 +270,14 @@ bool OMSensDialog::runProcessAndShowProgress(QString scriptDirPath, QString comm
// Start process
pythonScriptProcess.start(command);
// Show dialog with progress
dialog->exec();
} else {
dialog->close();
}
// Wait for the process to finish in the case that we cancel the process and it doesn't have time to finish correctly
//
// See if the process ended correctly
QProcess::ExitStatus exitStatus = pythonScriptProcess.exitStatus();
@casella
The text was updated successfully, but these errors were encountered: