diff -r eb1dec15b2f0 -r 3118d16e526e OllamaInterface/RunOllamaServerDialog.py --- a/OllamaInterface/RunOllamaServerDialog.py Thu Aug 08 18:33:49 2024 +0200 +++ b/OllamaInterface/RunOllamaServerDialog.py Sun Aug 25 19:44:24 2024 +0200 @@ -76,8 +76,8 @@ if not ok: EricMessageBox.critical( None, - self.tr("Run Local ollama Server"), - self.tr("""The loacl ollama server process could not be started."""), + self.tr("Run Local 'ollama' Server"), + self.tr("""The loacl 'ollama' server process could not be started."""), ) else: self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled( @@ -140,7 +140,8 @@ """ Private slot to stop the running server. """ - self.__process.terminate() + if self.__process is not None: + self.__process.terminate() @pyqtSlot() def on_restartServerButton_clicked(self):