[CWB] Can't create metadata

Jiayue Wang arthur0421 at gmail.com
Fri Nov 11 21:17:12 CET 2016


Hi,

After a full installation of CQBweb I installed a corpus called 
"us_rhodeisland" (including 2 files, a raw text, and a TreeTagger tagged 
text) without metadata. Since I have no idea what a metadata file looks 
like, I selected "No thanks, I'll run this myself (safer for very large 
corpora)" and clicked "Create minimalist metadata table" and saw the 
following error message:


A MySQL query did not run successfully!


Original query: insert into 
___temp_cqp_text_positions_for_us_rhodeisland (text_id, cqp_begin, 
cqp_end) VALUES ('', 0, 55858),('', 55859, 3058358) /* from User: admin 
| Function: do_append_mysql_comment() | 2016-Nov-11 20:04:20 */


Error # 1062: Duplicate entry '' for key 'PRIMARY'


BTW, when I try a standard query, each concordance line begins with 
"[UNREADABLE] [UNREADABLE] [UNREADABLE]". What is the most likely reason?

Any help is appreciated, thanks!

Jiayue Wang


More information about the CWB mailing list