<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Le 11/03/2019 à 18:21, Hardie, Andrew a écrit :<br>
    <blockquote type="cite"
cite="mid:LO2P265MB1117E7C6CAD7C6BECFCF0447CB480@LO2P265MB1117.GBRP265.PROD.OUTLOOK.COM">
      <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:"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;}
@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:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
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";
        color:black;}
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:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Verdana",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {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;}
@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]-->
      <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">Re&gt;&gt;</span>
          I'm afraid I haven't kept the screenshot<span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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> </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">Maybe
            ask your technician to look for the URL in the http server
            access log? searching for any line(s) that contain
            “installCorpus” should do the trick.</span></p>
      </div>
    </blockquote>
    I've forwarded the request to the tech, Andrew, thanks. If you tell
    me where the log is, I can ssh into the machine and find the line(s)
    myself.<br>
    <blockquote type="cite"
cite="mid:LO2P265MB1117E7C6CAD7C6BECFCF0447CB480@LO2P265MB1117.GBRP265.PROD.OUTLOOK.COM">
      <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"><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> </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">RE&gt;&gt;</span>
          though I'm getting "0" results for queries in some corpora<span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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> </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">Yes,
            the index data is
            <i>gone</i>. The corpora are not there. There’s just a
            record for each pointing at nothing.<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> </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">&gt;&gt;</span>
          makes me think I might need to reinstall<span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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> </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">Definitely.
            There’s no way to reconstruct a lost index.
          </span></p>
      </div>
    </blockquote>
    OK. Have done so and all is working.<br>
    <blockquote type="cite"
cite="mid:LO2P265MB1117E7C6CAD7C6BECFCF0447CB480@LO2P265MB1117.GBRP265.PROD.OUTLOOK.COM">
      <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"><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> </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">&gt;&gt;</span>One
          possible clue to the reason behind all this,
          <b>might</b> lie in the fact that, in the corpus I was
          attempting to index, there was a trailing angle-bracket. I
          wonder whether this "&lt;" might be responsible for throwing a
          spanner in the works<span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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> </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">This
            is unlikely – the error occurs before any files are opened.
            The error is more likely to have been triggered by the
            parameters you specified when you filled in the
            install-new-corpus form. If you run the SQL query I put in
            the last email in your MySQL client (or get your techie to
            do same!),
            <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> </o:p></span></p>
        <p class="MsoNormal" style="text-indent:36.0pt"><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">select
              * from corpus_info where corpus="</span></b><b><i><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#C0504D;mso-fareast-language:EN-US">handle_of_your_corpus</span></i></b><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">";   </span></b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><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> </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 (lengthy) result will contain
            <i>some</i> of those parameters and I might be able to work
            backwards to the cause of the problem.</span></p>
      </div>
    </blockquote>
    I tried this with the handles for the corpora I was trying to index
    when all went haywire, but it was not found in the database.<br>
    Thanks for the help!<br>
    Best,<br>
    Graham.<br>
    <blockquote type="cite"
cite="mid:LO2P265MB1117E7C6CAD7C6BECFCF0447CB480@LO2P265MB1117.GBRP265.PROD.OUTLOOK.COM">
      <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"><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> </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">Thanks<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> </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> </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> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span style="color:windowtext"
                  lang="EN-US">From:</span></b><span
                style="color:windowtext" lang="EN-US">
                <a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
                <a class="moz-txt-link-rfc2396E" href="mailto:cwb-bounces@sslmit.unibo.it">&lt;cwb-bounces@sslmit.unibo.it&gt;</a>
                <b>On Behalf Of </b>Graham Ranger -- UAPV<br>
                <b>Sent:</b> 11 March 2019 16:59<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
                <b>Subject:</b> Re: [CWB] Corpus installation problem<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hi Andrew,<br>
          Thanks for your answer.<o:p></o:p></p>
        <div>
          <p class="MsoNormal">Le 11/03/2019 à 17:43, Hardie, Andrew a
            écrit :<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi
              Graham,</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">This
              looks like you have run into the bug that others have
              reported whereby an error in corpus installation
              configuration causes the whole index data directory to be
              deleted. </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I
              have never been able to reproduce or track down this bug.
              Instead I added checks intended to spot the error
              condition and abort before data can be lost. I don’t know
              why the system dd not abort before deleting index data in
              the situation you report.
            </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Can
              you tell me
              <b>exactly</b> what version of the code you are running?
              (Version, or even better, SVN checkout number). Possibly
              you have a version that precedes these protective checks.</span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal">The version was CQPweb v3.2.30. I'm not
          sure how to get the checkout number, I'm afraid.<br>
          <br>
          <o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Also,
              I know you probably don’t have it open in a browser now
              after allthis time, but the full URL of the screen where
              you got the “Critical error in installation” message would
              be useful for diagnosis. Failing that, the database entry
              for the corpus whose installation caused the problem might
              shed light (<b>select * from corpus_info where corpus="</b></span><b><i><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#C0504D;mso-fareast-language:EN-US">handle_of_your_corpus</span></i></b><b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">";   
              </span></b><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">).</span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal">I'm afraid I haven't kept the screenshot,
          and have messed around since, manually deleting things from a
          shell. Interestingly, there's also a tech' at university
          working on it, who seems to have got some of the functions
          back (though I'm getting "0" results for queries in some
          corpora, which makes me think I might need to reinstall).<br>
          One possible clue to the reason behind all this, <b>might</b>
          lie in the fact that, in the corpus I was attempting to index,
          there was a trailing angle-bracket. I wonder whether this
          "&lt;" might be responsible for throwing a spanner in the
          works.<br>
          I'm sorry I can't be more precise. When the tech' gets back in
          touch, I'll see whether his debugging has revealed anything
          interesting and will report back. Thanks again.<br>
          Best,<br>
          Graham.<br>
          <br>
          <br>
          <o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></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</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></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.</span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"> </span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span style="color:windowtext"
                    lang="EN-US">From:</span></b><span
                  style="color:windowtext" lang="EN-US">
                  <a href="mailto:cwb-bounces@sslmit.unibo.it"
                    moz-do-not-send="true">cwb-bounces@sslmit.unibo.it</a>
                  <a href="mailto:cwb-bounces@sslmit.unibo.it"
                    moz-do-not-send="true">
                    &lt;cwb-bounces@sslmit.unibo.it&gt;</a> <b>On
                    Behalf Of </b>Graham Ranger -- UAPV<br>
                  <b>Sent:</b> 09 March 2019 14:43<br>
                  <b>To:</b> <a href="mailto:cwb@sslmit.unibo.it"
                    moz-do-not-send="true">cwb@sslmit.unibo.it</a><br>
                  <b>Subject:</b> Re: [CWB] Corpus installation problem</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">Hello again,<br>
            The problem is worse than it first appeared. In fact none of
            the corpora word. I'm getting error messages of the
            following type for simple queries on ALL, previously well
            installed, corpora: "Corpus ``ENGLISH_TEST'' is undefined".<br>
            As far as I know, nothing has changed in the cqpweb since
            yesterday... when I successfully installed another corpus.<br>
            Help will be much appreciated,<br>
            Best,<br>
            Graham.<o:p></o:p></p>
          <div>
            <p class="MsoNormal">Le 09/03/2019 à 15:05, Graham Ranger --
              UAPV a écrit :<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">Hello to all,<br>
              I'm having trouble installing a corpus with the message
              "Critical error in installation: corpus dir not
              specified". After this, the corpus name actually shows up
              in the "Show corpora" area, but it is obviously empty.<br>
              Any thanks much appreciated, as ever.<br>
              Best,<br>
              Graham.<br>
              <br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>CWB mailing list<o:p></o:p></pre>
            <pre><a href="mailto:CWB@sslmit.unibo.it" moz-do-not-send="true">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
            <pre><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" moz-do-not-send="true">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>CWB mailing list<o:p></o:p></pre>
          <pre><a href="mailto:CWB@sslmit.unibo.it" moz-do-not-send="true">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
          <pre><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" moz-do-not-send="true">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>