Bug #2788

R post-installation messages

Ajouté par Matthieu Decorde il y a plus de 5 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:20/03/2020
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Stats / R Temps passé: -
Version cible: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)) {

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 5 ans

  • % réalisé changé de 0 à 80

#2 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

#3 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

Formats disponibles : Atom PDF