Bug #1812

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

Added by Matthieu Decorde over 7 years ago. Updated over 5 years ago.

Status:New Start date:06/29/2016
Priority:Urgent Due date:
Assignee:- % Done:

80%

Category:Démarrage Spent time: -
Target version: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

History

#1 Updated by Matthieu Decorde over 7 years ago

  • Subject changed from RCP: 0.7.7, TXM launch fail with not found shared library to RCP: 0.7.8, TXM launch fail with not found shared library
  • Description updated (diff)
  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.7.8

#2 Updated by Matthieu Decorde over 7 years ago

  • Description updated (diff)

#3 Updated by Alexey Lavrentev over 7 years ago

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 Updated by Matthieu Decorde over 7 years ago

  • Description updated (diff)

#5 Updated by Matthieu Decorde over 7 years ago

  • Description updated (diff)

#6 Updated by Matthieu Decorde over 7 years ago

  • Subject changed from RCP: 0.7.8, TXM launch fail with not found shared library to RCP: 0.7.8, Linux TXM launch fail with not found shared library error

#7 Updated by Matthieu Decorde over 7 years ago

  • Subject changed from RCP: 0.7.8, Linux TXM launch fail with not found shared library error to RCP: 0.7.8, Linux TXM launch fails with not found shared library error

#8 Updated by Matthieu Decorde over 7 years ago

  • Description updated (diff)

#9 Updated by Serge Heiden over 7 years ago

  • Description updated (diff)

#10 Updated by Matthieu Decorde about 7 years ago

  • Subject changed from RCP: 0.7.8, Linux TXM launch fails with not found shared library error to RCP: 0.7.8, Linux&Mac TXM launch fails with not found shared library error
  • Description updated (diff)

#11 Updated by Matthieu Decorde about 7 years ago

  • Description updated (diff)
  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#12 Updated by Matthieu Decorde about 7 years ago

  • Description updated (diff)
  • % Done changed from 0 to 80

tested with Ubuntu 14.04 and Mac OS X 10.6

#13 Updated by Sebastien Jacquot over 5 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

Also available in: Atom PDF