Bug #2164
TBX: 0.7.8, setup 20170420, "Impossible to start RServe" message after installation
Status: | New | Start date: | 04/24/2017 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Stats / R | Spent time: | - | ||
Target version: | TXM 0.7.8 |
Description
The bug was observed after complete uninstallation and re-installation of TXM wit the latest setup.
1st launch console:
Démarrage de TXM 0.7.8 (2017-04-20)...
null
** Échec de lecture du fichier des préférences d'installation null
** Le démarrage de la plateforme a été interrompu, veuillez régler les préférences de TXM (dans le menu 'Fichier>Préférences')
Second launch console:
Démarrage de TXM 0.7.8 (2017-04-20)... TXM Home directory preference not set. Création de l'espace de travail utilisateur de TXM. Nettoyage de l'ancien dossier de sauvegarde des corpus '/home/alexey/TXM/corpus-backup-old'. Sauvegarde des corpus existants dans '/home/alexey/TXM/corpus-backup'.......................... Corpus déjà sauvegardés dans '/home/alexey/TXM/corpus-backup-old' : VOEUX, graal. Rechargement des corpus existants depuis le dossier '/home/alexey/TXM/corpus-backup'.......................... Les corpus VOEUX, GRAAL ont été mis à jour avec une version plus récente. Updating CWB preferences for CQP version=1.1.0.201704201625 Chargement des sous-corpus et des partitions...Terminé. Moteur de recherche lancé. Moteur statistique lancé.................... Impossible de démarrer RServe : org.txm.stat.engine.r.RWorkspaceException: ** Le chemin du programme du serveur statistique a été renseigné mais sa recherche a échoué : /usr/lib/TXM/R/bin/R Prêt.
Solution¶
1- If the R preference path does not exists TXM should try common paths to run R.
2- add the /usr/bin/R and /usr/local/bin/R paths to the common paths list
Solution¶
The R embed in the TXM setup ask for so files with major version ".52" but Ubuntu 16.04 has the .55 major versions files and R could not be started (so file versions are written after the .so extension : .so.MAJOR.MINOR)
for exemple the libicuuc versions are :- in Ubuntu 14.04:
/usr/lib/x86_64-linux-gnu/libicuuc.a /usr/lib/x86_64-linux-gnu/libicuuc.so.52 /usr/lib/x86_64-linux-gnu/libicuuc.so /usr/lib/x86_64-linux-gnu/libicuuc.so.52.1
- in Ubuntu 16.04 (installed from Ubuntu 16.04 iso):
/usr/lib/x86_64-linux-gnu/libicuuc.a /usr/lib/x86_64-linux-gnu/libicuuc.so.55 /usr/lib/x86_64-linux-gnu/libicuuc.so /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
Solution¶
Publish TXM for Ubuntu 16+ and ask older versions of Ubuntu to installa manually R and the packages.
History
#1 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
- % Done changed from 0 to 80
#2 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
- Category set to Stats / R
- % Done changed from 80 to 50
#3 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#4 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#5 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
- % Done changed from 50 to 80