[CWB] FW: problem at managing corpus metadata
Hardie, Andrew
a.hardie at lancaster.ac.uk
Tue Dec 31 19:30:32 CET 2013
If you downgrade to 3.0.16 this will go away.
To repeat my earlier warning: 3.1.0 is currently unstable and no one but me should be using it till further notice!
best
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Andres Chandia
Sent: 31 December 2013 13:45
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] problem at managing corpus metadata
Ok, it works, thanks a lot... I have some more issues though....
1. I have introduced at the second line s-attributes this way: s:0+id+type, then at the restricted query for the s_id it only appears the data for S1 and S3, but not for S2 and S4, if you see the corpus text_1 owns S1 and S2, text_2 owns S3 and S4, so only appears the first S of each text
2. at the "Create metadata table from corpus XML annotations" step is the option "Do you want to automatically run frequency-list setup?" if I select "yes" everything goes well, but if I select "No thanks, I'll run this myself (safer for very large corpora)" and I go to that step, on clicking the "The text metadata table has not yet been populated with begin/end offset positions. Use the button below to generate this data." button I get next error:
A mySQL query did not run successfully!
Error # 1146: Table 'cqp.text_metadata_for_' doesn't exist
________________________________
PHP debugging backtrace
array(6) { [0]=> array(4) { ["file"]=> string(40)
"/srv/web/llocs/cqp/lib/exiterror.inc.php" ["line"]=> int(260)
["function"]=> string(17) "exiterror_endpage"
["args"]=> array(0) { } } [1]=> array(4) {
["file"]=> string(38) "/srv/web/llocs/cqp/lib/library.inc.php"
["line"]=> int(227) ["function"]=> string(20)
"exiterror_mysqlquery" ["args"]=> array(2) { [0]=>
&int(1146) [1]=> &string(44) "Table 'cqp.text_metadata_for_'
doesn't exist" } } [2]=> array(4) { ["file"]=>
string(40) "/srv/web/llocs/cqp/lib/admin-lib.inc.php" ["line"]=>
int(516) ["function"]=> string(14) "do_mysql_query"
["args"]=> array(1) { [0]=> &string(83) "update
text_metadata_for_ set cqp_begin = 0, cqp_end = 41 where text_id = '1'" } }
[3]=> array(2) { ["function"]=> string(29)
"populate_corpus_cqp_positions" ["args"]=> array(0) { } }
[4]=> array(4) { ["file"]=> string(38)
"/srv/web/llocs/cqp/lib/execute.inc.php" ["line"]=> int(154)
["function"]=> string(20) "call_user_func_array"
["args"]=> array(2) { [0]=> &string(29)
"populate_corpus_cqp_positions" [1]=> &array(0) { } }
} [5]=> array(4) { ["file"]=> string(38)
"/srv/web/llocs/cqp/testing/execute.php" ["line"]=> int(1)
["args"]=> array(1) { [0]=> string(38)
"/srv/web/llocs/cqp/lib/execute.inc.php" } ["function"]=>
string(7) "require" } }
Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20131231/c3257af9/attachment.html>
More information about the CWB
mailing list