I mean the data dir of all corpus, not only the data dir of the particular corpus I'm
deleting...<br /><br />On Tue, October 11, 2016 20:40, Hardie, Andrew wrote:<br /> <!-- begin
sanitized html --> <br />
<div class="bodyclass"><br />
<div class="WordSection1"><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 tables.</span>
<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">This
suggests that the problem is that your corpus deletion process is aborting before it gets to
the point of deleting those keys.<br /> </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">You
should check your http error log after such a deletion to check whether there is a report of
what the problem is.</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">You
should, likewise, check your http error log after trying and failing to install metadata. A
blank screen will usually lead to an entry there that will be<br />  at least a little
informative.</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">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...<br
/> <br /> <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">I
don&acirc;&euro;&trade;t get what the problem is, isn&acirc;&euro;&trade;t this the expected
behaviour? Perhaps I&acirc;&euro;&trade;m not following what you mean by
&acirc;&euro;&oelig;using an uploaded file&acirc;&euro;&acirc;&euro;&brvbar;</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">
&quot;Andr&Atilde;&copy;s Chand&Atilde;&shy;a&quot; [mailto:andres@chandia.net]<br /> <br />
<strong>Sent:</strong> 11 October 2016 19:32<br /> <strong>To:</strong> Hardie, Andrew<br />
<strong>Cc:</strong> Open source development of the Corpus WorkBench<br />
<strong>Subject:</strong> Some problems installing a new corpus at cqpweb</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">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;&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_i1025" 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_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 /> 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>