Bug #2185

RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug

Ajouté par Sebastien Jacquot il y a plus de 8 ans. Mis à jour il y a plus de 4 ans.

Statut:New Début:05/05/2017
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Stats / R Temps passé: -
Version cible:TXM 0.8.4 Temps estimé:30.00 heures

Description

Steps to reproduce

  • create a lexical table from a partition
  • merge some lines and give them a name that already exists, eg. merge "le", "la" and name the new line "un"
  • do something with the table (CA, AFC, Specificities, etc.)

log:

org.txm.statsengine.r.core.exceptions.RException: ** R error: "Error in read.table(file = "C:\\Users\\s\\Desktop\\tests exports TXM\\table_lexicale",  : 
  duplicate 'row.names' are not allowed
" 
while evaluating: tmpmat <- as.matrix(read.table(file="C:\\Users\\s\\Desktop\\tests exports TXM\\table_lexicale", fileEncoding="UTF-8"))
    at org.txm.statsengine.r.core.RWorkspace.safeEval(RWorkspace.java:1407)
    at org.txm.statsengine.r.core.RWorkspace.voidEval(RWorkspace.java:1533)
...

Solution

In merge&rename&import LT commands: add tests to avoid creating lines with the same names

Historique

#1 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

#2 Mis à jour par Matthieu Decorde il y a plus de 6 ans

  • Sujet changé de Lexcial Table, merged lines naming can lead to a bug when reimporting a table à RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug when reimporting a table
  • Version cible changé de TXM 0.8.0 à TXM 0.8.2

#3 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Sujet changé de RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug when reimporting a table à RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug
  • Description mis à jour (diff)
  • Catégorie changé de Import à Stats / R
  • Version cible changé de TXM 0.8.2 à TXM 0.8.4
  • Temps estimé mis à 30.00

Formats disponibles : Atom PDF