<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        mso-fareast-language:EN-GB;
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
p.errormessage, li.errormessage, div.errormessage
        {mso-style-name:errormessage;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.code
        {mso-style-name:code;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">If you downgrade to 3.0.16 this will go away.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">To repeat my earlier warning: 3.1.0 is currently unstable and no one but me should be using it till further notice!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>]
<b>On Behalf Of </b>Andres Chandia<br>
<b>Sent:</b> 31 December 2013 13:45<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] problem at managing corpus metadata<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok, it works, thanks a lot... I have some more issues though....<br>
<br>
1. I have introduced at the second line s-attributes this way: s:0&#43;id&#43;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<br>
<br>
<br>
2. at the &quot;Create metadata table from corpus XML annotations&quot; step is the option &quot;Do you want to automatically run frequency-list setup?&quot; if I select &quot;yes&quot; everything goes well, but if I select &quot;No thanks, I'll run this myself (safer for very large corpora)&quot;
 and I go to that step, on clicking the &quot;The text metadata table has not yet been populated with begin/end offset positions. Use the button below to generate this data.&quot; button I get next error:<o:p></o:p></p>
<p class="errormessage">A mySQL query did not run successfully!<o:p></o:p></p>
<p class="errormessage">Error # 1146: Table 'cqp.text_metadata_for_' doesn't exist
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span class="code">
<hr size="2" width="100%" align="center">
</span></div>
<h3>PHP debugging backtrace<o:p></o:p></h3>
<pre>array(6) {&nbsp;&nbsp; [0]=&gt;&nbsp;&nbsp; array(4) {&nbsp;&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(40)<o:p></o:p></pre>
<pre>&quot;/srv/web/llocs/cqp/lib/exiterror.inc.php&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; int(260) <o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;[&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(17) &quot;exiterror_endpage&quot;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(0) {&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp; }&nbsp;&nbsp; [1]=&gt;&nbsp;&nbsp; array(4) {&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;file&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(38) &quot;/srv/web/llocs/cqp/lib/library.inc.php&quot;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;line&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; int(227)&nbsp;&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(20)<o:p></o:p></pre>
<pre>&quot;exiterror_mysqlquery&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(2) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>&nbsp;&nbsp;&amp;int(1146)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1]=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;string(44) &quot;Table 'cqp.text_metadata_for_'<o:p></o:p></pre>
<pre>doesn't exist&quot;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp; }&nbsp;&nbsp; [2]=&gt;&nbsp;&nbsp; array(4) {&nbsp;&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>string(40) &quot;/srv/web/llocs/cqp/lib/admin-lib.inc.php&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>&nbsp;int(516)&nbsp;&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(14) &quot;do_mysql_query&quot;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(1) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;string(83) &quot;update<o:p></o:p></pre>
<pre>text_metadata_for_ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set cqp_begin = 0, cqp_end = 41 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where text_id = '1'&quot;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp; }&nbsp; <o:p></o:p></pre>
<pre>[3]=&gt;&nbsp;&nbsp; array(2) {&nbsp;&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(29)<o:p></o:p></pre>
<pre>&quot;populate_corpus_cqp_positions&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(0) {&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; [4]=&gt;&nbsp;&nbsp; array(4) {&nbsp;&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(38)<o:p></o:p></pre>
<pre>&quot;/srv/web/llocs/cqp/lib/execute.inc.php&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; int(154)&nbsp;&nbsp; <o:p></o:p></pre>
<pre>&nbsp;[&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; string(20) &quot;call_user_func_array&quot;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(2) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;string(29)<o:p></o:p></pre>
<pre>&quot;populate_corpus_cqp_positions&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1]=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;array(0) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp; <o:p></o:p></pre>
<pre>}&nbsp;&nbsp; [5]=&gt;&nbsp;&nbsp; array(4) {&nbsp;&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;&nbsp; &nbsp;&nbsp;&nbsp;string(38)<o:p></o:p></pre>
<pre>&quot;/srv/web/llocs/cqp/testing/execute.php&quot;&nbsp;&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; int(1)&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>[&quot;args&quot;]=&gt;&nbsp;&nbsp;&nbsp;&nbsp; array(1) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(38)<o:p></o:p></pre>
<pre>&quot;/srv/web/llocs/cqp/lib/execute.inc.php&quot;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>string(7) &quot;require&quot;&nbsp;&nbsp; } }<o:p></o:p></pre>
<pre> Thanks a lot<o:p></o:p></pre>
</div>
</body>
</html>