Call for testing KF6-based version of RKWard

Vojtěch Zeisek vojtech.zeisek at opensuse.org
Thu Jun 20 12:37:08 BST 2024


Dne úterý 18. června 2024 17:38:26, SELČ jste napsal(a):
> On Tue, 18 Jun 2024 16:03:11 +0200 Thomas Friedrichsmeier wrote:
> > On Tue, 18 Jun 2024 13:36:15 +0200 wrote:
> > > OK, so it compiles, but during the startup I get an error
> > > "The backend process failed to start with exit code 99,
> > > message: 'Backend lib not specified!'." Hmmm... I'm not
> > > sure if it cames from some mistake in packaging or not.
> > 
> > See lines 255-257 in rkward/rbackend/rkfrontendtransmitter.cpp .
> > We're tried to find the file rkward.rbackend.lib.so, here.
> > (Starting with "--debug-level 4" will log the attempted paths
> > to /tmp/rkward.frontend.log).
> 
> I believe we may be missing the following line:
>   if (backend_lib.isEmpty()) backend_lib =
>   findBackendLibAtPath(QFileInfo(backend_executable).absolutePath() +
>   "/../lib");
> does it help to add this as line 227 (all in one line)?

I downloaded newest master and did edit like follows:

$ diff -u rkward-0.7.9/rkward/rbackend/rkfrontendtransmitter.cpp~ rkward-0.7.9/rkward/rbackend/rkfrontendtransmitter.cpp
--- rkward-0.7.9/rkward/rbackend/rkfrontendtransmitter.cpp~     2024-06-20 13:19:47.670841804 +0200 ### ORIGINAL
+++ rkward-0.7.9/rkward/rbackend/rkfrontendtransmitter.cpp      2024-06-20 13:19:47.674175191 +0200 ### EDITED
@@ -254,6 +254,7 @@
        args.append (QStringLiteral("--server-name=") + server->fullServerName ().toUtf8 ().toPercentEncoding ());
        args.append (QStringLiteral("--rkd-server-name=") + rkd_transmitter->serverName ().toUtf8 ().toPercentEncoding ());
        args.append (QStringLiteral("--data-dir=") + RKSettingsModuleGeneral::filesPath ().toUtf8 ().toPercentEncoding ());
+       if (backend_lib.isEmpty()) backend_lib = findBackendLibAtPath(QFileInfo(backend_executable).absolutePath() + "/../lib");
        args.append (QStringLiteral("--locale-dir=") + localeDir ().toUtf8 ().toPercentEncoding ());
        RK_DO({
                RK_DEBUG(RBACKEND, DL_DEBUG, "R binary: %s", qPrintable(RKSessionVars::RBinary()));

And the result is the same, it doesn't find the R backend. :-(
The RPM is available from <https://build.opensuse.org/package/show/home:vojtaeus/rkward>

-- 
Vojtěch Zeisek
https://trapa.cz/

Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux
https://www.opensuse.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20240620/2d399db8/attachment.sig>


More information about the rkward-users mailing list