Bug #2379

Mis à jour par Serge Heiden il y a plus de 7 ans

<pre>
Exécution de SchemasProgressionMacro.groovy
Error during script execution: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.txm.searchengine.cqp.corpus.FakeQueryResult(java.lang.String, java.lang.String, org.txm.searchengine.cqp.corpus.MainCorpus, org.txm.searchengine.cqp.corpus.query.Query, [I, [I, null)
</pre>

h3. Solution 1

Patch $HOME/TXM/scripts/macro/org/txm/macro/analec/SchemasProgressionMacro.groovy file :

replace line
<pre>
def queryResult = new FakeQueryResult("FAKE", corpus.getName(), corpus, query, starts, ends, null)
</pre>

by with

<pre>
def queryResult = new FakeQueryResult(corpus.getName(), corpus, query, starts, ends, null)
</pre>

h3. Solution 2

Do the same patch in the source file SchemasProgressionMacro.groovy of TXM SVN repository

Retour