Bug #2788

R post-installation messages

Added by Matthieu Decorde 3 months ago. Updated 2 months ago.

Status:New Start date:03/20/2020
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Stats / R Spent time: -
Target version:TXM 0.8.1

Description

Error while setting execution file rights to: /usr/lib/TXM-0.8.1a1/plugins/org.txm.statsengine.r.core.linux_1.0.0.2688/res/linux64/bin/R.
Stacktrace: 
[ 1]  org.txm.statsengine.r.core.preferences.RPreferences.initializeDefaultPreferences  RPreferences.java, 134
[ 2]              org.txm.core.preferences.TXMPreferences.                  getBoolean  TXMPreferences.java, 482
[ 3]              org.txm.core.preferences.TXMPreferences.                  getBoolean  TXMPreferences.java, 498
[ 4]              org.txm.core.preferences.TXMPreferences.                  getBoolean  TXMPreferences.java, 508
[ 5]              org.txm.core.preferences.TXMPreferences.                  getBoolean  TXMPreferences.java, 256
[ 6]              org.txm.statsengine.r.core.RStatsEngine.                       start  RStatsEngine.java, 50
[ 7]                  org.txm.core.engines.EnginesManager.                startEngines  EnginesManager.java, 93
[ 8]                                      org.txm.Toolbox.        startEnginesManagers  Toolbox.java, 555
[ 9]                                      org.txm.Toolbox.                  initialize  Toolbox.java, 275
[10]          org.txm.rcp.ApplicationWorkbenchAdvisor$9$1.                         run  ApplicationWorkbenchAdvisor.java, 1075

Solution
replace
if (!execFile.setExecutable(true) || !execFile.canExecute()) {
with
if (!execFile.canExecute() && !execFile.setExecutable(true)) {

History

#1 Updated by Matthieu Decorde 2 months ago

  • % Done changed from 0 to 80

Also available in: Atom PDF