<div dir="ltr"><div dir="ltr">On Fri, Jun 21, 2019 at 6:58 PM Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">Hi Andrew,</div><div dir="ltr"><br></div><div>Sorry about the delay!</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="m_-3539993726611373130gmail-m_8859588785073931981WordSection1">
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt">__ is
</span><i style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt">not</i><span style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt"> reserved, </span><i style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt">except</i><span style="color:rgb(31,73,125);font-family:Verdana,sans-serif;font-size:10pt"> in combination with __freq in final position. And that’s checked.</span></p></div></div></blockquote><div><br></div><div>I think I&#39;ve found the problem. It doesn&#39;t have anything to do with underscores, but with corpus handle length -- handles up to 20 characters work, while those 21 characters and over are treated as invalid by the corpus installer (see [1] below for the exact error message).</div><div><br></div><div>Thus, I can name a corpus ABCDEFGHIJKLMNOPQRST and it works, but ABCDEFGHIJKLMNOPQRST<b>U</b> causes an error and can&#39;t install. </div><div><br></div><div>20 characters may seem like enough, but I was hitting this accidentally with &quot;corpusB_complete__0_2&quot;, and it&#39;s easy to imagine longer names being used. So if there&#39;s any way to increase this limit, it would be great.</div><div><br></div><div>Cheers,</div><div>Scott</div><div><br></div><div><b>[1]</b></div><table class="m_-3539993726611373130gmail-concordtable m_-3539993726611373130gmail-fullwidth" style="color:rgb(0,0,0);font-family:&quot;Times New Roman&quot;;font-size:medium"><tbody><tr><th class="m_-3539993726611373130gmail-concordtable">CQPweb encountered an error and could not continue.</th></tr><tr><td class="m_-3539993726611373130gmail-concorderror"><p class="m_-3539993726611373130errormessage">That corpus name is invalid. You must specify a corpus name using only letters, numbers and underscore</p></td></tr><tr><th class="m_-3539993726611373130gmail-concordtable">PHP debugging backtrace</th></tr><tr><td class="m_-3539993726611373130gmail-concorderror"><pre>array(6) {
  [1]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(46) &quot;/var/www/html/cqpweb/lib/admin-install-lib.php&quot;
    [&quot;line&quot;]=&gt;
    int(104)
    [&quot;function&quot;]=&gt;
    string(9) &quot;exiterror&quot;
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(102) &quot;That corpus name is invalid. You must specify a corpus name using only letters, numbers and underscore&quot;
    }
  }
  [2]=&gt;
  array(7) {
    [&quot;file&quot;]=&gt;
    string(46) &quot;/var/www/html/cqpweb/lib/admin-install-lib.php&quot;
    [&quot;line&quot;]=&gt;
    int(508)
    [&quot;function&quot;]=&gt;
    string(11) &quot;__construct&quot;
    [&quot;class&quot;]=&gt;
    string(19) &quot;CQPwebNewCorpusInfo&quot;
    [&quot;object&quot;]=&gt;
    object(CQPwebNewCorpusInfo)#22 (14) {
      [&quot;is_user_corpus&quot;:&quot;CQPwebNewCorpusInfo&quot;:private]=&gt;
      bool(false)
      [&quot;corpus_name&quot;]=&gt;
      string(21) &quot;coscach_complete__0_2&quot;
      [&quot;send_sysadmin_email_when_done&quot;]=&gt;
      bool(false)
      [&quot;already_cwb_indexed&quot;]=&gt;
      bool(true)
      [&quot;main_script_is_r2l&quot;]=&gt;
      NULL
      [&quot;corpus_info_sql_insert&quot;]=&gt;
      NULL
      [&quot;css_path&quot;]=&gt;
      NULL
      [&quot;title&quot;]=&gt;
      NULL
      [&quot;p_attributes&quot;]=&gt;
      array(0) {
      }
      [&quot;p_attributes_sql_insert&quot;]=&gt;
      array(0) {
      }
      [&quot;primary_p_attribute&quot;]=&gt;
      NULL
      [&quot;s_attributes&quot;]=&gt;
      array(0) {
      }
      [&quot;s_attributes_sql_insert&quot;]=&gt;
      array(0) {
      }
      [&quot;file_list&quot;]=&gt;
      NULL
    }
    [&quot;type&quot;]=&gt;
    string(2) &quot;-&gt;&quot;
    [&quot;args&quot;]=&gt;
    array(0) {
    }
  }
  [3]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(36) &quot;/var/www/html/cqpweb/lib/execute.php&quot;
    [&quot;line&quot;]=&gt;
    int(178)
    [&quot;function&quot;]=&gt;
    string(18) &quot;install_new_corpus&quot;
    [&quot;args&quot;]=&gt;
    array(0) {
    }
  }
  [4]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(42) &quot;/var/www/html/cqpweb/lib/admin-execute.php&quot;
    [&quot;line&quot;]=&gt;
    int(125)
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(36) &quot;/var/www/html/cqpweb/lib/execute.php&quot;
    }
    [&quot;function&quot;]=&gt;
    string(7) &quot;require&quot;
  }
  [5]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(38) &quot;/var/www/html/cqpweb/lib/adminhome.php&quot;
    [&quot;line&quot;]=&gt;
    int(34)
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(42) &quot;/var/www/html/cqpweb/lib/admin-execute.php&quot;
    }
    [&quot;function&quot;]=&gt;
    string(7) &quot;require&quot;
  }
  [6]=&gt;
  array(4) {
    [&quot;file&quot;]=&gt;
    string(34) &quot;/var/www/html/cqpweb/adm/index.php&quot;
    [&quot;line&quot;]=&gt;
    int(1)
    [&quot;args&quot;]=&gt;
    array(1) {
      [0]=&gt;
      string(38) &quot;/var/www/html/cqpweb/lib/adminhome.php&quot;
    }
    [&quot;function&quot;]=&gt;
    string(7) &quot;require&quot;
  }
}</pre><pre></pre></td></tr></tbody></table><div><br></div></div></div>