Bug #2185

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

Added by Sebastien Jacquot over 6 years ago. Updated over 2 years ago.

Status:New Start date:05/05/2017
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Stats / R Spent time: -
Target version:TXM 0.8.4 Estimated time:30.00 hours

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

History

#1 Updated by Sebastien Jacquot over 5 years ago

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

#2 Updated by Matthieu Decorde over 4 years ago

  • Subject changed from Lexcial Table, merged lines naming can lead to a bug when reimporting a table to RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug when reimporting a table
  • Target version changed from TXM 0.8.0 to TXM 0.8.2

#3 Updated by Matthieu Decorde over 2 years ago

  • Subject changed from RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug when reimporting a table to RCP: 0.7.9, Lexical Table, merged lines naming can lead to a bug
  • Description updated (diff)
  • Category changed from Import to Stats / R
  • Target version changed from TXM 0.8.2 to TXM 0.8.4
  • Estimated time set to 30.00

Also available in: Atom PDF