Task #2888

Remove some stacktraces messages from logs

Added by Matthieu Decorde about 1 month ago. Updated about 1 month ago.

Status:New Start date:09/03/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Messages Spent time: -
Target version:TXM Annotation X.X

Description

FR

prévoir de supprimer to@utes les stacktraces (ne les afficher que dans un mode de journalisation supérieur) se trouvant après les lignes suivantes dans l'extrait d@e console donné ci-dessous :
a) java.io.IOException: Cannot run program "/Applications/treetagger/bin/tree-tagger": error=86, Bad CPU type in executable
b) Message: Les structures de document XML doivent commencer et se terminer dans la même entité.
c) ** Impossible d'accéder aux propriétés du corpus BOISSY-SHORT.
d) TXMResult.compute(): Exception occurs during computing: java.lang.NullPointerException.
e) Information HTML file doesn't exist.
f) java.io.FileNotFoundException: /Users/utilisateur/TXM-0.8.1/corpora/BOISSY-SHORT/NLPToolsParameters.xml (No such file or directory)
g) ** Could not find the 'word' word property found in the 'BOISSY-SHORT' corpus:
h) TXMEditor.createPartControl(): can not create the editor for result BOISSY-SHORT.
i) org.txm.searchengine.cqp.clientExceptions.CqiClientException: org.txm.searchengine.cqp.serverException.CqiCqpErrorNoSuchCorpus:

a)

Démarrage de TXM 0.8.1.2735 (2020-02-27 17h00)…
Error while setting execution file rights to: /usr/lib/TXM-0.8.1a1/plugins/org.txm.statsengine.r.core.linux_1.0.0.2716/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, 489
[ 3] org.txm.core.preferences.TXMPreferences. getBoolean  TXMPreferences.java, 505
[ 4] org.txm.core.preferences.TXMPreferences. getBoolean  TXMPreferences.java, 515
[ 5] org.txm.core.preferences.TXMPreferences. getBoolean  TXMPreferences.java, 263
[ 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

b)

Chargement du corpus binaire au format 0.8.0 /home/sheiden/TXM-0.8.1/corpora/AE...
java.io.IOException: Aucun espace disponible sur le périphérique
    at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
    at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    at sun.nio.ch.IOUtil.write(IOUtil.java:51)
    at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
    at org.txm.utils.io.FileCopy.copy(FileCopy.java:120)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:214)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.rcp.commands.workspace.LoadBinaryCorpus.loadBinaryCorpusAsDirectory(LoadBinaryCorpus.java:336)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory.loadBinaryCorpusFromCorporaDirectory(LoadBinaryCorporaDirectory.java:341)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory$1.run(LoadBinaryCorporaDirectory.java:162)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
java.io.IOException: Aucun espace disponible sur le périphérique
    at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
    at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    at sun.nio.ch.IOUtil.write(IOUtil.java:51)
    at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
    at org.txm.utils.io.FileCopy.copy(FileCopy.java:120)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:214)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.rcp.commands.workspace.LoadBinaryCorpus.loadBinaryCorpusAsDirectory(LoadBinaryCorpus.java:336)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory.loadBinaryCorpusFromCorporaDirectory(LoadBinaryCorporaDirectory.java:341)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory$1.run(LoadBinaryCorporaDirectory.java:162)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

c)

Could not load corpus from /home/sheiden/TXM-0.8.1/corpora-previous/BRITISHFICTION: java.io.IOException: ** Copie de fichiers : Échec de création du dossier : /home/sheiden/TXM-0.8.1/corpora/BRITISHFICTION/HTML.
java.io.IOException: ** Copie de fichiers : Échec de création du dossier : /home/sheiden/TXM-0.8.1/corpora/BRITISHFICTION/HTML.
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:199)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:209)
    at org.txm.utils.io.FileCopy.copyFiles(FileCopy.java:162)
    at org.txm.rcp.commands.workspace.LoadBinaryCorpus.loadBinaryCorpusAsDirectory(LoadBinaryCorpus.java:336)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory.loadBinaryCorpusFromCorporaDirectory(LoadBinaryCorporaDirectory.java:341)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory$1.run(LoadBinaryCorporaDirectory.java:162)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

d)

An exception occurred while writing to the platform log:
java.io.IOException: Aucun espace disponible sur le périphérique
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:326)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:254)
    at org.eclipse.osgi.internal.log.EquinoxLogWriter.log(EquinoxLogWriter.java:287)
    at org.eclipse.osgi.internal.log.EquinoxLogWriter.logged(EquinoxLogWriter.java:706)
    at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
    at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
    at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
    at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
    at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
    at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
    at org.eclipse.core.internal.runtime.Log.log(Log.java:65)
    at org.eclipse.core.internal.utils.Policy.log(Policy.java:158)
    at org.eclipse.core.internal.localstore.HistoryStore2.log(HistoryStore2.java:327)
    at org.eclipse.core.internal.localstore.HistoryStore2.addState(HistoryStore2.java:102)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1143)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:303)
    at org.eclipse.core.internal.resources.File.setContents(File.java:339)
    at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:627)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
    at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:660)
    at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:431)
    at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:365)
    at org.txm.core.preferences.TXMPreferences.flush(TXMPreferences.java:1881)
    at org.txm.core.preferences.TXMPreferences.flush(TXMPreferences.java:1871)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2477)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2520)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2300)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory$1.run(LoadBinaryCorporaDirectory.java:178)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Logging to the console instead.

e)

!ENTRY org.eclipse.core.filesystem 4 272 2020-09-10 14:52:38.732
!MESSAGE Impossible d’enregistrer le fichier : /home/sheiden/TXM-0.8.1/corpora/AE/.settings/txm_res_20200827_190159034_0026_MainCorpus.prefs.
!STACK 0
java.io.IOException: Aucun espace disponible sur le périphérique
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:326)
    at org.eclipse.core.filesystem.provider.FileStore.transferStreams(FileStore.java:72)
    at org.eclipse.core.filesystem.provider.FileStore.copyFile(FileStore.java:199)
    at org.eclipse.core.filesystem.provider.FileStore.copy(FileStore.java:128)
    at org.eclipse.core.internal.filesystem.local.LocalFile.copy(LocalFile.java:124)
    at org.eclipse.core.internal.localstore.BlobStore.addBlob(BlobStore.java:56)
    at org.eclipse.core.internal.localstore.HistoryStore2.addState(HistoryStore2.java:96)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1143)
    at org.eclipse.core.internal.resources.File.internalSetContents(File.java:303)
    at org.eclipse.core.internal.resources.File.setContents(File.java:339)
    at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:627)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
    at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:660)
    at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:431)
    at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:365)
    at org.txm.core.preferences.TXMPreferences.flush(TXMPreferences.java:1881)
    at org.txm.core.preferences.TXMPreferences.flush(TXMPreferences.java:1871)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2477)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2520)
    at org.txm.core.results.TXMResult.compute(TXMResult.java:2300)
    at org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory$1.run(LoadBinaryCorporaDirectory.java:178)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

History

#1 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF