Task #2722

RCP: 0.8.0, TIGERSVOSummary Macro fails (unable to resolve class org.txm.libs.office.WriteODS)

Added by Alexey Lavrentev 3 months ago.

Status:New Start date:01/16/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:TXM Profiterole 1.0

Description

Technical details:

OS Linux Ubunti 16.04

TXM set to ALPHA update level.

TXM version shown at startup : Starting TXM 0.8.0.2269 (2019-08-30 14h42)…

Installation details:

  Annotation URS (Unité-Relation-Schéma)    1.0.0.201912191403    org.txm.annotation.urs.feature.feature.group    Textometrie.org
  TIGERSearch    1.0.0.201912191403    org.txm.tigersearch.feature.feature.group    null
  TXM    0.8.0.201910171533    org.txm.rcp.app    null

Corpus FROSRCMFUD (from https://groupes.renater.fr/wiki/txm-info/public/spec_exploitation_annotation/calculs_syntax_sov#v1)

Macro TIGERSVOSummary

Console:

Executing the TIGERSVOSummaryMacro.groovy Groovy script…
** Error during script execution: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/home/alavrent/TXM-0.8.0/scripts/groovy/user/org/txm/macro/tiger/exploit/TIGERSVOSummaryMacro.groovy: 9: unable to resolve class org.txm.libs.office.WriteODS
 @ line 9, column 1.
   import org.txm.libs.office.WriteODS
   ^

1 error

Stacktrace: 
[1]  org.txm.rcp.handlers.scripts.ExecuteGroovyScript$1.run  ExecuteGroovyScript.java, 277
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/home/alavrent/TXM-0.8.0/scripts/groovy/user/org/txm/macro/tiger/exploit/TIGERSVOSummaryMacro.groovy: 9: unable to resolve class org.txm.libs.office.WriteODS
 @ line 9, column 1.
   import org.txm.libs.office.WriteODS
   ^

1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:311)
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:983)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:633)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:582)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:352)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:85)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:321)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:318)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:316)
    at groovy.util.GroovyScriptEngine$ScriptClassLoader.doParseClass(GroovyScriptEngine.java:250)
    at groovy.util.GroovyScriptEngine$ScriptClassLoader.parseClass(GroovyScriptEngine.java:237)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:305)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:247)
    at groovy.util.GroovyScriptEngine.loadScriptByName(GroovyScriptEngine.java:562)
    at groovy.util.GroovyScriptEngine.createScript(GroovyScriptEngine.java:612)
    at groovy.util.GroovyScriptEngine.run(GroovyScriptEngine.java:599)
    at org.txm.rcp.handlers.scripts.ExecuteGroovyScript$1.run(ExecuteGroovyScript.java:266)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Also available in: Atom PDF