<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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;}
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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Maxine, Carolina,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">You’ve not provided enough information for me to comment on the first two issues (though clearly yes something is going wrong); off
 the top of my head I don’t recognise the “notification” you’ve posted so I’d need to know in more detail what you did.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">The third error message, “</span><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif;color:black">Core critical error:
 invalid corpus handle submitted to database</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">”, occurs when the corpus name for the corpus that the user is “inside” is looked up in the database
 and isn’t found.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">What this means is that, when you set up the corpus in CQPweb, it didn’t complete setup:&nbsp; a database entry for the corpus was not created.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">You’ll need to redo the setup, I think, before this problem will go away; and I guess you’ll have to solve your first two problems
 first or else the error may simply recur.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> cwb-bounces@sslmit.unibo.it &lt;cwb-bounces@sslmit.unibo.it&gt;
<b>On Behalf Of </b>Carolina Cárdenas<br>
<b>Sent:</b> 11 October 2018 12:05<br>
<b>To:</b> cwb@sslmit.unibo.it<br>
<b>Subject:</b> [CWB] Core critical error: invalid corpus handle submitted to database<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif;color:black">Dear list,<br>
<br>
We are dealing with the following structure in our corpus:<br>
<br>
&lt;corpus&gt;<br>
&lt;text date=&quot;1973_01_18&quot; id=&quot;070070&quot; inhaltsverzeichnis=&quot;empty&quot; legislaturperiode=&quot;07&quot; partei=&quot;empty&quot; sprecher=&quot;präsident_frau_renger&quot; year=&quot;1973&quot; yearmonth=&quot;1973_01”&gt;<br>
Ich<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>PPER<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;
</span>ich<br>
eröffne<span class="apple-tab-span">&nbsp;&nbsp; </span>VVFIN<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;
</span>eröffnen<br>
die<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ART<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>die<br>
Sitzung<span class="apple-tab-span">&nbsp; </span>NN<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Sitzung<br>
.<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>$.<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>.<br>
&lt;/text&gt;<br>
&lt;text date=&quot;1973_01_18&quot; id=&quot;0700701&quot; inhaltsverzeichnis=&quot;empty&quot; legislaturperiode=&quot;07&quot; partei=&quot;empty&quot; sprecher=&quot;präsident_frau_renger&quot; year=&quot;1973&quot; yearmonth=&quot;1973_01”&gt;<br>
&lt;stage type=“interjection”&gt;<br>
Die<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ART<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>die<br>
&lt;/stage&gt;<br>
folgenden<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ADJA<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>folgend<br>
amtlichen<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ADJA<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>amtlich<br>
Mitteilungen<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>NN<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Mitteilung<br>
werden<span class="apple-tab-span">&nbsp; </span>VAFIN<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;
</span>werden<br>
ohne<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>APPR<span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;
</span>ohne<br>
&lt;/text&gt;<br>
&lt;/corpus&gt;<br>
<br>
As you can see we have several &lt;text&gt; elements inside the corpus element. When trying to upload our .vrt files to CWB, we get the following notification:<br>
<br>
Found the following structural elements: -S corpus:0<br>
Found the following attributes: date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth&#43;date&#43;id&#43;inhaltsverzeichnis&#43;legislaturperiode&#43;partei&#43;sprecher&#43;year&#43;yearmonth<br>
<br>
Here we have three problems:<br>
<br>
1- The element &lt;stage type=“interjection”&gt; is not recognised, even if we have already declared it explicitly using: -S stage:0&#43;type<br>
2- The attributes repeat themselves which is an uncommon behaviour.<br>
3- After importing the files in CQPWeb, we get the error message : “Core critical error: invalid corpus handle submitted to database.” This happened when clicking on “Design and insert a text-metadata table for the corpus”. We believe, we get this error because
 of issue #2.<br>
<br>
Any help is highly appreciated.<br>
<br>
Kind regards,<br>
<br>
Maxine and Carolina<br>
DiscourseLab, TU Darmstadt</span><o:p></o:p></p>
</div>
</body>
</html>