PHP 5.6.24-0+deb8u1 (cli) (built: Jul 26 2016 08:17:07) <br />Copyright (c) 1997-2016 The PHP Group<br />Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies<br />&nbsp;&nbsp;&nbsp; with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies<br /><br /><br /><br />On Wed, October 12, 2016 18:50, Hardie, Andrew wrote:<br /> <!-- begin sanitized html --><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">That error message is an encryption bug &acirc;&euro;&ldquo; not the same as what is causing the metadata error. However, it&acirc;&euro;&trade;s interesting. Can you tell me, what version of PHP</span><br />
<div class="bodyclass">
<div class="WordSection1"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"></span>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">  are you running?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">On the metadata issue: Consider upgrading all the way. Even 3.2.11 is pretty old now. I suspect some of these bugs will vanish.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]<br /> <strong>On Behalf Of </strong>&quot;Andr&Atilde;&copy;s Chand&Atilde;&shy;a&quot;<br /> <strong>Sent:</strong> 12 October 2016 17:44<br /> <strong>To:</strong> Open source development of the Corpus WorkBench<br /> <strong>Subject:</strong> Re: [CWB] Some problems installing a new corpus at cqpweb</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Ok, cleaning that table allowed me to install the corpus again, but when I click on the  &quot;Design and insert a text-metadata table for the corpus&quot; link, it sends me to a non found page.<br /> At the apache error log I get a good amount of this line:<br /> <br /> Undefined offset: 0 in .../cqp/lib/user-lib.inc.php on line 628, referer: <a href="http://parles.upf.edu/llocs/cqp/adm/index.php?thisF=installCorpusIndexed&amp;uT=y" target="_blank" title="This external link will open in a new window"><br /> http://parles.upf.edu/llocs/cqp/adm/index.php?thisF=installCorpusIndexed&amp;uT=y</a><br /> <br /> <br /> <br /> <br /> On Wed, October 12, 2016 17:46, Hardie, Andrew wrote: </p>
<div><br />
<div><br />
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Ah, looks like you need to manually clean annotation_metadata too.</span><br /> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Sorry &Atilde;&cent;&acirc;&sbquo;&not;&acirc;&euro;&oelig; the corpus delete function was v buggy in the low-numbered 3.2 versions.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"><br /> <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank" title="This external link will open in a new window">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank" title="This external link will open in a new window">mailto:cwb-bounces@sslmit.unibo.it</a>]<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">On Behalf Of </span></strong>&quot;Andr&Atilde;&fnof;&Acirc;&copy;s Chand&Atilde;&fnof;&Acirc;&shy;a&quot;<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 12 October 2016 16:44<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Open source development of the Corpus WorkBench<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></strong> Re: [CWB] Some problems installing a new corpus at cqpweb</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I updated to CQPweb v3.2.11<br /> I manually cleaned xml_metadata, xml_metadata_values and corpus_info but still I get this error<br /> <br /> Original query: insert into annotation_metadata (corpus, handle, description, tagset, external_url, is_feature_set) values ('corpglicom', 'lema', '', '', '', is_feature_set) /* from User: admin | Function: install_new_corpus() | 2016-Oct-12 15:40:45 */</p>
<p class="errormessage">Error # 1062: Duplicate entry 'corpglicom-lema' for key 'PRIMARY'</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">On Tue, October 11, 2016 20:40, Hardie, Andrew wrote:</p>
<div><br />
<p class="MsoNormal"> </p>
<div><br />
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The duplicate key entries that are failing to be deleted are in the xml_metadata and/or xml_metadata_values<br />  tables.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">This suggests that the problem is that your corpus deletion process is aborting before it gets to<br /> the point of deleting those keys.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">You should check your http error log after such a deletion to check whether there is a report of<br /> what the problem is.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">You should, likewise, check your http error log after trying and failing to install metadata. A blank<br /> screen will usually lead to an entry there that will be<br /> at least a little informative.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Re &gt;&gt;<br /> </span>Yet another issue, if I delete from the interface the corpus I installed using an uploaded file, then the whole data dir get deleted, fortunately I have a backup...</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&cent;&acirc;&euro;ž&Acirc;&cent;t get what the problem is, isn&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&cent;&acirc;&euro;ž&Acirc;&cent;t this the expected behaviour? Perhaps I&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&cent;&acirc;&euro;ž&Acirc;&cent;m<br />  not following<br /> what you mean by &Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&hellip;&acirc;&euro;&oelig;using an uploaded file&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"></span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&sbquo;&Acirc;&brvbar;</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></strong><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"><br /> &quot;Andr&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&copy;s Chand&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&shy;a&quot; [<a href="mailto:andres@chandia.net" title="This external link will open in a new window" target="_blank">mailto:andres@chandia.net</a>]<br /> <br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 11 October 2016 19:32<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Hardie, Andrew<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Cc:</span></strong> Open source development of the Corpus WorkBench<br /> <strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></strong> Some problems installing a new corpus at cqpweb</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi there, I have some problems installing a preindexed corpus in cqpweb interface<br /> 1.when clicking the button to set metadata, it only shows a blank oage, either using a given table or installing a minimalist set<br /> 2.I delete the corpus to try again<br /> 3, On second try I get this error:<br /> Error # 1062: Duplicate entry 'corpglicom-p' for key 'corpus' <br /> eventhough I have deleted the previous installation and reindexed the corpus with cwb.<br /> 4. moving the corpus to the uploaded file and deleting previous installation does not help, I get same error:<br /> Error # 1062: Duplicate entry 'corpglicom-text' for key 'corpus' <br /> <br /> The only way to start over is changing corpus name, but I have again the same problems...<br /> Any suggestion?<br /> <br /> Thanks<br /> <br /> _______________________<br /> andr&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&copy;s chand&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&shy;a<br /> <a href="http://www.chandia.net" title="This external link will open in a new window" target="_blank"><span style="text-decoration:none"><img id="_x0000_i1025" src="../images/spacer.png" alt="chandia.net" border="0" /></span></a><a href="https://twitter.com/andreschandia" title="This external link will open in a new window" target="_blank"><span style="text-decoration:none"><img id="_x0000_i1026" src="../images/spacer.png" border="0" alt="" /></span></a><br /> <a href="http://chandia.net/content/nmt" title="This external link will open in a new window" target="_blank">NMT</a> |<br /> <a href="http://chandia.net/content/dungupeyem" title="This external link will open in a new window" target="_blank"><br /> Dungupeyem</a> | <a href="http://chandia.net/corlexim" title="This external link will open in a new window" target="_blank"><br /> <br /> <br /> Corlexim</a><br /> <br /> administrador de:<br /> <a href="http://parles.upf.edu" title="This external link will open in a new window" target="_blank">Parles.upf</a> |<br /> <a href="http://www.delingua.es" title="This external link will open in a new window" target="_blank"><br /> <br /> Delingua</a> | <a href="http://amindterapia.com" title="This external link will open in a new window" target="_blank"><br /> <br /> Amind terapia</a> | <a href="http://koyaktumapuche.net" title="This external link will open in a new window" target="_blank"><br /> <br /> <br /> Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" title="This external link will open in a new window" target="_blank"><br /> <br /> Nocando</a> |<br /> mail: <a href="http://mail.corporacionkoyaktu.net" title="This external link will open in a new window" target="_blank"><br /> <br /> ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" title="This external link will open in a new window" target="_blank"><br /> <br /> <br /> Psicoaching</a> |<br /> <span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt">No imprima innecesariamente. &Atilde;&fnof;&acirc;&euro;&scaron;&Atilde;&sbquo;&Acirc;&iexcl;Cuide el medio ambiente!</span></p>
</div>
<br />
<p class="MsoNormal"> </p>
</div>
<br />
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br /> <br /> <br /> <br /> <br /> _______________________<br /> andr&Atilde;&fnof;&Acirc;&copy;s chand&Atilde;&fnof;&Acirc;&shy;a<br /> <a href="http://www.chandia.net" title="This external link will open in a new window" target="_blank"><span style="text-decoration:none"><img id="_x0000_i1027" src="../images/spacer.png" alt="chandia.net" border="0" /></span></a><a href="https://twitter.com/andreschandia" title="This external link will open in a new window" target="_blank"><span style="text-decoration:none"><img id="_x0000_i1028" src="../images/spacer.png" border="0" alt="" /></span></a><br /> <a href="http://chandia.net/content/nmt" title="This external link will open in a new window" target="_blank">NMT</a> |<br /> <a href="http://chandia.net/content/dungupeyem" title="This external link will open in a new window" target="_blank"><br /> Dungupeyem</a> | <a href="http://chandia.net/corlexim" title="This external link will open in a new window" target="_blank"><br /> <br /> Corlexim</a><br /> <br /> administrador de:<br /> <a href="http://parles.upf.edu" title="This external link will open in a new window" target="_blank">Parles.upf</a> |<br /> <a href="http://www.delingua.es" title="This external link will open in a new window" target="_blank"><br /> <br /> Delingua</a> | <a href="http://amindterapia.com" title="This external link will open in a new window" target="_blank"><br /> Amind terapia</a> | <a href="http://koyaktumapuche.net" title="This external link will open in a new window" target="_blank"><br /> <br /> Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" title="This external link will open in a new window" target="_blank"><br /> Nocando</a> |<br /> mail: <a href="http://mail.corporacionkoyaktu.net" title="This external link will open in a new window" target="_blank"><br /> ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" title="This external link will open in a new window" target="_blank"><br /> <br /> Psicoaching</a> |<br /> <span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt">No imprima innecesariamente. &Atilde;&sbquo;&Acirc;&iexcl;Cuide el medio ambiente!</span></p>
</div>
<br />
<p class="MsoNormal"> </p>
</div>
<br />
<p class="MsoNormal"><br /> <br /> <br /> <br /> <br /> _______________________<br />             andr&Atilde;&copy;s chand&Atilde;&shy;a<br /> <a href="http://www.chandia.net" target="_blank" title="This external link will open in a new window"><span style="text-decoration:none"><img id="_x0000_i1029" src="../images/spacer.png" alt="chandia.net" border="0" /></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="This external link will open in a new window"><span style="text-decoration:none"><img id="_x0000_i1030" src="../images/spacer.png" border="0" alt="" /></span></a><br /> <a href="http://chandia.net/content/nmt" title="This external link will open in a new window" target="_blank">NMT</a> |<br /> <a href="http://chandia.net/content/dungupeyem" title="This external link will open in a new window" target="_blank"><br /> Dungupeyem</a> | <a href="http://chandia.net/corlexim" title="This external link will open in a new window" target="_blank"><br /> Corlexim</a><br /> <br /> administrador de:<br /> <a href="http://parles.upf.edu" target="_blank" title="This external link will open in a new window">Parles.upf</a> | <a href="http://www.delingua.es" target="_blank" title="This external link will open in a new window"><br /> Delingua</a> | <a href="http://amindterapia.com" target="_blank" title="This external link will open in a new window">Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="This external link will open in a new window"><br /> Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="This external link will open in a new window">Nocando</a> |<br /> mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="This external link will open in a new window">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="This external link will open in a new window"><br /> Psicoaching</a> |<br /> <span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt">No imprima innecesariamente. &Acirc;&iexcl;Cuide el medio ambiente!</span></p>
</div>
<br /> </div>
<br /> <br />  <!-- end sanitized html --> <br /><br /><br />_______________________<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s chand&iacute;a<br /><a href="http://www.chandia.net" target="_blank"><img src="http://www.chandia.net/sites/default/files/images/chandia.netd.png" alt="chandia.net" border="0" /></a><a href="https://twitter.com/andreschandia" target="_blank"><img src="http://www.upf.edu/universitat/_img/ico_tw.png" alt="" /></a><br /><a href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun">NMT</a> | <a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de mapudungun">Dungupeyem</a> | <a href="http://chandia.net/corlexim" title="Corpus lexicográfico de mapudungun">Corlexim</a><br /><br />administrador de:<br /><a href="http://parles.upf.edu">Parles.upf</a> | <a href="http://www.delingua.es">Delingua</a> | <a href="http://amindterapia.com">Amind terapia</a> | <a href="http://koyaktumapuche.net">Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando">Nocando</a> |<br />mail: <a href="http://mail.corporacionkoyaktu.net">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net">Psicoaching</a> |<br /><span style="font-size: 18pt; color: rgb(79, 98, 40); font-family: Webdings;">P </span><span style="font-size: 10pt; color: rgb(79, 98, 40);">No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span>