[CWB] CQPWeb-In-A-Box retrieving metadata from XML

Hardie, Andrew a.hardie at lancaster.ac.uk
Fri Oct 16 16:23:11 CEST 2015


I was right; it was a bug. To clear your database manually, run the following two MySQL statements for each incompletely deleted corpus:

	delete from xml_metadata where corpus = '$corpus';
	delete from xml_metadata_values where corpus = '$corpus';

replacing $corpus as appropriate.

The bug will be fixed in my next commit.

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Hardie, Andrew
Sent: 16 October 2015 15:16
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] CQPWeb-In-A-Box retrieving metadata from XML

The MySQL error means that the Database was not completely wiped form your previosu installation. This may be a bug in the delete corpus function; I'll look into it.

" installing the corpus unencoded via the CQPwebtool "

I don't know what you mean, sorry?

best

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Silvio Fuchs
Sent: 16 October 2015 10:24
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] CQPWeb-In-A-Box retrieving metadata from XML

Thanx Andrew, I did update again, I’m at Version 693 now. unfortunately nothing changed. So I tried reinstalling the corpus I encoded via command line. When installing I get the following error message. Maybe this is where my problem lies:

A mySQL query did not run successfully!

Original query: insert into xml_metadata ( corpus, handle, att_family, description, datatype) values ('test_corpus2', 'text', 'text', 'Structure ``text''', 0) /* from User: user | Function: install_new_corpus() | 2015-10-16 09:05:10 */

Error # 1062: Duplicate entry 'test_corpus2-text' for key 'corpus‘ 


I then tried installing the corpus unencoded via the CQPwebtool which seemed to work, but when I try to go into the corpus I get a 404 Error message, stating that the requestet url was not found. When I look in the directory of the CQPweb at /var/www/html/cqpweb there is no folder corresponding to the corpus. 

Regards
Silvio
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list