Bug #1959

RCP: 0.7.8, Error while calling CQL macro

Added by Matthieu Decorde almost 7 years ago. Updated over 4 years ago.

Status:New Start date:12/08/2016
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Macros Spent time: -
Target version:TXM X.X

Description

impossible d'utiliser des macros CQL ======================

Le script start.groovy (ci joint) s'exécute correctement au démarrage.
Voici la console au démarrage :

Démarrage de TXM 0.7.8 (2016-12-02)...
Chargement des sous-corpus et des partitions...Terminé.
Copie des messages dans /tmp/TXM-2016-12-04.log
Moteur de recherche lancé.
Moteur statistique lancé.connecté.
Exécution de start.groovy
Created /mots-pleins-fr[] word list.
Created /mots-outils-fr[] word list.
Created /mots-pleins-en[] word list.
Created /mots-outils-en[] word list.
Created /mots-pleins-es[] word list.
Created /mots-outils-es[] word list.

Ce script définit des macros CQL, mais quand je veux utiliser une de ces macros (/mots-pleins-fr[]), CQL fait l'erreur suivante
(alors que ces macros fonctionnent d'habitude) :

Concordance de </mots-pleins-fr[]> dans le corpus PRESSEPAPIER3
org.txm.searchengine.cqp.serverException.CqiClErrorInternal
    at org.txm.searchengine.cqp.MemCqiClient.throwExceptionFromCqi(MemCqiClient.java:153)
    at org.txm.searchengine.cqp.MemCqiClient.cqpQuery(MemCqiClient.java:346)
    at org.txm.searchengine.cqp.corpus.Corpus.query(Corpus.java:1146)
    at org.txm.functions.concordances.Concordance.computeConcordance(Concordance.java:337)
    at org.txm.functions.concordances.Concordance.<init>(Concordance.java:303)

** Une erreur est survenue lors du calcul de la concordance Corpus.java: query, l.1153 -> org.txm.searchengine.cqp.clientExceptions.CqiClientException: org.txm.searchengine.cqp.serverException.CqiClErrorInternal
stack:
    Corpus.java    query    l.1153
    Concordance.java    computeConcordance    l.337
    Concordance.java    <init>    l.303
    ConcordancesEditor.java    compute    l.1992
    ConcordancesEditor.java    compute    l.2071
    ConcordancesEditor.java    compute    l.2063
    ConcordancesEditor.java    keyPressed    l.1701
    TypedListener.java    handleEvent    l.167
    EventTable.java    sendEvent    l.84
    Display.java    sendEvent    l.4454

Dernière erreur CQP : CQP Syntax Error: syntax error, unexpected UNDEFINED_MACRO
    Q10 = /mots-pleins-fr[] <--
Corpus.java: query, l.1153 -> org.txm.searchengine.cqp.clientExceptions.CqiClientException: org.txm.searchengine.cqp.serverException.CqiClErrorInternal
stack:
    Corpus.java    query    l.1153
    Concordance.java    computeConcordance    l.337
    Concordance.java    <init>    l.303
    ConcordancesEditor.java    compute    l.1992
    ConcordancesEditor.java    compute    l.2071

History

#1 Updated by Matthieu Decorde over 6 years ago

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

#2 Updated by Sebastien Jacquot over 5 years ago

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

#3 Updated by Matthieu Decorde over 4 years ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF