Bug #2185

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

h3. 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 export and reimport the table (CA, AFC, Specificities, etc.)

log:

<pre>
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)
...
</pre>

h3. Solution

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

Retour