[education/rkward] rkward/rbackend: Better diagnostics
Thomas Friedrichsmeier
null at kde.org
Sat May 11 14:00:56 BST 2024
Git commit b5d408b22ba61599fe86701da9d3f92280e3b30b by Thomas Friedrichsmeier.
Committed on 11/05/2024 at 12:24.
Pushed by tfry into branch 'master'.
Better diagnostics
M +1 -0 rkward/rbackend/rkrinterface.cpp
https://invent.kde.org/education/rkward/-/commit/b5d408b22ba61599fe86701da9d3f92280e3b30b
diff --git a/rkward/rbackend/rkrinterface.cpp b/rkward/rbackend/rkrinterface.cpp
index 876d04ffe..3859c47a4 100644
--- a/rkward/rbackend/rkrinterface.cpp
+++ b/rkward/rbackend/rkrinterface.cpp
@@ -897,6 +897,7 @@ void RInterface::processRBackendRequest (RBackendRequest *request) {
if (!backend_dead) {
backend_dead = true;
QString message = request->params["message"].toString ();
+ RK_DEBUG(RBACKEND, DL_ERROR, "Backend exit: %s", qPrintable(message));
message += i18n ("\nThe R backend will be shut down immediately. This means, you can not use any more functions that rely on it. I.e. you can do hardly anything at all, not even save the workspace (but if you're lucky, R already did that). What you can do, however, is save any open command-files, the output, or copy data out of open data editors. Quit RKWard after that. Sorry!");
RKErrorDialog::reportableErrorMessage(nullptr, message, QString(), i18n("R engine has died"), "r_engine_has_died");
Q_EMIT backendStatusChanged(Dead);
More information about the rkward-tracker
mailing list