Bug #1812

RCP: 0.7.8, Linux&Mac TXM launch fails with not found shared library error

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

Statut:Closed Début:29/06/2016
Priorité:Urgent Echéance:
Assigné à:- % réalisé:

100%

Catégorie:Démarrage Temps passé: -
Version cible:TXM 0.8.0

Description

FR

Après avoir mis à jour TXM et forcé à quitter TXM depuis le lanceur (par exemple lors d'un import XTZ, l'UI se fige et s'assombrit). TXM ne se lance plus avec le message suivant apparaît dans une boite de dialogue :

The TXM executable launcher was unable to locate its companion shared library.

Dans la console, le lancement de TXM donne ceci :

sheiden@sheiden-XPS-13-9343:~$ TXM
Prepare redirections in /home/sheiden/TXMPostInstallLogs.txt and /home/sheiden/TXMPostInstallErrorLogs.txt
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

Diagnostic

Démarrer TXM en activant les logs au plus tôt en ajoutant les paramètres -debug -log au script de démarrage /usr/bin/TXM puis lancer TXM depuis le terminal.

Result : the /usr/lib/TXM/TXM.ini and ~/.txm/TXM.ini files refere to different launcher plugins.
If ~/.txm/TXM.ini is replaced with /usr/lib/TXM/TXM.ini /usr/lib/TXM/TXM/TXM.ini. TXM starts.

This shows that TXM behavior changes just before the bug: TXM starts OK and then suddenly it stops to start with this behavior.

Diagnostic 2

Findout what are the launcher debug options to activate its logs. The goal is to know whythe first plugin is not found or used.

plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316

about eclipse launcher executable: http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Flauncher.html&resultof=%22launcher%22

Solution 1 : LINUX

Execute in a terminal (ctrl-alt-t) :

cp /usr/lib/TXM/TXM/TXM.ini ~/.txm/TXM.ini

Solution 1 : MAC OS X

Execute in a terminal :

cp /Applications/TXM/TXM/TXM.app/Contents/MacOS/TXM.ini ~/.txm/TXM.ini

Solution 2

TXM run script must ensure that the TXM.ini file does not point to plugins/org.eclipse.equinox.launcher jars.

This solution needs a new setup

Solution 3

The first run after TXM update works we can use that moment to fix the TXM.ini file and remove the plugin configuration lines

Historique

#1 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Sujet changé de RCP: 0.7.7, TXM launch fail with not found shared library à RCP: 0.7.8, TXM launch fail with not found shared library
  • Description mis à jour (diff)
  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8

#2 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Description mis à jour (diff)

#3 Mis à jour par Alexey Lavrentev il y a environ 9 ans

cf. https://groupes.renater.fr/wiki/txm-info/public/txm_debug

Pour démarrer et forcer le niveau de log maximum de TXM (et RCP) il faut éditer le fichier de lancement de TXM (Windows : TXM.bat, Linux : /usr/bin/TXM et MacOSX : /Applications/TXM/TXM.app/Contents/MacOSX/TXM.sh) en ajoutant les arguments suivant juste devant l'argument ”-run” :

#4 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Description mis à jour (diff)

#5 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Description mis à jour (diff)

#6 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Sujet changé de RCP: 0.7.8, TXM launch fail with not found shared library à RCP: 0.7.8, Linux TXM launch fail with not found shared library error

#7 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Sujet changé de RCP: 0.7.8, Linux TXM launch fail with not found shared library error à RCP: 0.7.8, Linux TXM launch fails with not found shared library error

#8 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Description mis à jour (diff)

#9 Mis à jour par Serge Heiden il y a environ 9 ans

  • Description mis à jour (diff)

#10 Mis à jour par Matthieu Decorde il y a environ 9 ans

  • Sujet changé de RCP: 0.7.8, Linux TXM launch fails with not found shared library error à RCP: 0.7.8, Linux&Mac TXM launch fails with not found shared library error
  • Description mis à jour (diff)

#11 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Description mis à jour (diff)
  • Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)

#12 Mis à jour par Matthieu Decorde il y a presque 9 ans

  • Description mis à jour (diff)
  • % réalisé changé de 0 à 80

tested with Ubuntu 14.04 and Mac OS X 10.6

#13 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

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

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

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

  • Statut changé de New à Closed

Formats disponibles : Atom PDF