Bug 393309 - Error message: R engine has died
Summary: Error message: R engine has died
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-19 20:06 UTC by Thierry Thomas
Modified: 2024-04-12 15:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2018-04-19 20:06:01 UTC
---Problem description---
I'm trying to upgrade the FreeBSD port of RKWard to 0.7.0b. No problem during compilation, but when I launch rkward, the message "R engine has died" is displayed, and the application is not usable.

When you try to repeat the above, does the problem occur again (no, sometimes, always)?
Always

If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem?
No, R sessions are OK.

Do you have any further information that might help us to track this problem down? In particular, if applicable, can you provide sample data and sample R code to reproduce this problem?
No code used, it's just at the beginning.

RKWard is available in many different packagings, and sometimes problems are specific to one method of installation. How did you install RKWard (which file(s) did you download)?
Built with cmake.
Important note: R version is 3.4.4 (2018-03-15) -- "Someone to Lean On"

Is it supported by RKWard?

---Error Message---
Message code: r_engine_has_died
The backend executable could not be found. This is likely to be a problem with your installation.
The 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!

---Session Info---
RKWard version: 0.7.0b
KDE Frameworks version (runtime): 5.44.0
KDE Frameworks version (compile time): 5.44.0
Qt version (runtime): 5.9.4
Local config directory: /home/thierry/.config
RKWard storage directory: /home/thierry/.rkward/
Backend version (as known to the frontend): 

Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.frontend
- backend not available or rk.sessionInfo() canceled -
Comment 1 Thomas Friedrichsmeier 2018-04-20 07:05:50 UTC
Yes, R 3.4.4 is supported. (The upcoming R 3.5.0 is also supported, but not binary compatible. You will need to recompile for that. Any chance this could be at the heart of the problem?)

/tmp/rkward.rbackend may have further hints. You may also want to increase the verbosity of that file by running with --debug-level 5 . Attach that to this ticket, if you need further assistance.

Thanks!
Comment 2 Thomas Friedrichsmeier 2018-04-20 07:15:25 UTC
Oh sorry, I did not read my own-created bug template well:

> The backend executable could not be found. This is likely to be a problem with your installation.

Check that. It's failing to find the rkward.rbackend executable. On debian this gets installed to /usr/lib/(ARCH)/libexec .

  rkward --debug-output terminal --debug-level 4 2>&1 | grep -i "backend"

will show you where rkward expects to find the backend.
Comment 3 Thierry Thomas 2018-04-20 15:42:45 UTC
My bad!

It was caused by an old patch, previously used to fix the detection of the backend under $PREFIX/lib/kde4/libexec/.

Thanks for your quick help.
Comment 4 Thomas Friedrichsmeier 2018-04-22 06:33:54 UTC
No problem. Thanks for packaging RKWard!

Closing this, then.