Feature #2465

RCP: 0.7.9, Management of corrupted binary corpora

Added by Alexey Lavrentev almost 4 years ago. Updated almost 4 years ago.

Status:New Start date:10/30/2018
Priority:Normal Due date:
Assignee:- % Done:


Category:Corpus Spent time: -
Target version:-


TXM should produce a comprehensible error message and abort loading if a binary corpus file does not correspond to the specified corpus.

As of TXM 0.7.9, when loading a binary corpus where the archived files are not wrapped into a directory bearing the corpus names results in destruction of all the previously loaded or imported corpora (because the content of "corpora" directory is purged ans the new corpus files are written directly into that directory.

The warning displayed before loading just says "The corpus already exists. Do you want to replace it?" (the corpus name is empty)

Related issues

related to Bug #974: TBX: 0.7.6, corpus load abort causes corrupted corpus New 08/08/2014
related to Task #331: GWT: x.x, Error messages on corpus load New 09/11/2013


#1 Updated by Serge Heiden almost 4 years ago

See also Bug #974 TBX: 0.7.6, corpus load abort causes corrupted corpus ticket solution.

Also available in: Atom PDF