Bug #1812

Updated by Matthieu Decorde about 3 years ago

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 :
<pre>
The TXM executable launcher was unable to locate its companion shared library.
</pre>

Dans la console, le lancement de TXM donne ceci :
<pre>
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
</pre>

h3. 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.

h3. 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

h3. Solution 1 : LINUX

Execute in a terminal (ctrl-alt-t) :
<pre>
cp /usr/lib/TXM/TXM/TXM.ini ~/.txm/TXM.ini
</pre>

h3. Solution 1 : MAC OS X

Execute in a terminal :
<pre>
cp /Applications/TXM/TXM/TXM.app/Contents/MacOS/TXM.ini ~/.txm/TXM.ini
</pre>

h3. 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

h3. 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

Back