<div dir="ltr"><div><div><div><div>Good morning Andrew,<br></div>You are right. There was a mistake in the partition /tmp that cause this lack of space. After correcting it it works perfectly.<br></div><br></div><div>I take the occasion to mention an minor incident. After the people who manage the computer system solved the issue with /tmp I came back to the &quot;Corpus frequency list controls&quot; and the &quot;Frequency tables&quot; was tagged as &quot;Word and annotation frequency tables for this corpus <strong>have already been created</strong>. 
                                                        Use the button below to delete and recreate them.&quot; It is wrong because before the change in /tmp it was not created. Perhaps there is some small issue here.<br></div><br></div><div>Thanks again for your assistance,<br></div><br>Jorge<br><br><div><div> <div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-09 13:49 GMT+02:00 Hardie, Andrew <span dir="ltr">&lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;</span>:<br><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="gmail-m_8418216219818407537WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Most likely cause of error: Your disk is full IE there is not enough space for the temporary file. Thus, “error writing file”.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Solutions: (1) get a bigger disk for /tmp OR (2) tell the MySQL server to use a different existing disk for temporary files.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Andrew.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.<wbr>unibo.it</a>]
<b>On Behalf Of </b>VIVALDI PALATRESI, JORGE<br>
<b>Sent:</b> 09 October 2017 12:13<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> [CWB] error in calculating the corpus frequency list<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Hi all,</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">I just installed a Catalan corpus following this procedure:</span><u></u><u></u></p>
<ol start="1" type="1">
<li class="MsoNormal">
<span style="font-size:7.5pt">indexed a corpus using command-line CWB </span><u></u><u></u></li><li class="MsoNormal">
<span style="font-size:7.5pt">Install in CQPweb</span><u></u><u></u></li><li class="MsoNormal">
<span style="font-size:7.5pt">Calculate frequencies</span><u></u><u></u></li></ol>
<p class="MsoNormal"><span style="font-size:7.5pt">There is no error messages in steps 1 and 2 but in step 3 there is an error message: In the Corpus frequency list controls, I run succesfully: &quot;Text begin/end positions&quot;, &quot;Text category wordcounts&quot; and &quot;Text-by-text
 freq-lists&quot; but it fails to calculate the &quot;Frequency tables&quot;. The error message is shown below.</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Queries to the corpus seems to work correctly.</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">I am using CWB v3.4.12 and CQPweb v.3.2.27. One of the error messages says that cannot write at /tmp but such directory has all the permissions for everybody.</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Any suggestion/help is welcomed.</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Thanks in advance,</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Jorge</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><u></u> <u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage">##############################<wbr>##################<u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">A MySQL query did not run successfully!</span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Original query: select count(distinct(item)) from freq_corpus_corpustecnic_ca_<wbr>word /* from User: jvivaldi | Function: update_corpus_n_types()
 | 2017-Oct-09 09:53:10 </span><u></u><u></u></p>
<p class="gmail-m_8418216219818407537gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">*/Error # 3: Error writing file &#39;/tmp/MYvwWHTU&#39; (Errcode: 28)
</span><u></u><u></u></p>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">PHP debugging backtrace
</span><u></u><u></u></p>
<pre>array(5) {<u></u><u></u></pre>
<pre>  [1]=&gt;<u></u><u></u></pre>
<pre>  array(4) {<u></u><u></u></pre>
<pre>    [&quot;file&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(59) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/library.inc.<wbr>php&quot;<u></u><u></u></pre>
<pre>    [&quot;line&quot;]=&gt;<u></u><u></u></pre>
<pre>    int(286)<u></u><u></u></pre>
<pre>    [&quot;function&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(20) &quot;exiterror_mysqlquery&quot;<u></u><u></u></pre>
<pre>    [&quot;args&quot;]=&gt;<u></u><u></u></pre>
<pre>    array(3) {<u></u><u></u></pre>
<pre>      [0]=&gt;<u></u><u></u></pre>
<pre>      int(3)<u></u><u></u></pre>
<pre>      [1]=&gt;<u></u><u></u></pre>
<pre>      string(48) &quot;Error writing file &#39;/tmp/MYvwWHTU&#39; (Errcode: 28)&quot;<u></u><u></u></pre>
<pre>      [2]=&gt;<u></u><u></u></pre>
<pre>      string(153) &quot;select count(distinct(item)) from freq_corpus_corpustecnic_ca_<wbr>word <u></u><u></u></pre>
<pre>        /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */&quot;<u></u><u></u></pre>
<pre>    }<u></u><u></u></pre>
<pre>  }<u></u><u></u></pre>
<pre>  [2]=&gt;<u></u><u></u></pre>
<pre>  array(4) {<u></u><u></u></pre>
<pre>    [&quot;file&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(60) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/<a href="http://metadata.inc.ph" target="_blank">metadata.inc.<wbr>ph</a>p&quot;<u></u><u></u></pre>
<pre>    [&quot;line&quot;]=&gt;<u></u><u></u></pre>
<pre>    int(441)<u></u><u></u></pre>
<pre>    [&quot;function&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(14) &quot;do_mysql_query&quot;<u></u><u></u></pre>
<pre>    [&quot;args&quot;]=&gt;<u></u><u></u></pre>
<pre>    array(1) {<u></u><u></u></pre>
<pre>      [0]=&gt;<u></u><u></u></pre>
<pre>      &amp;string(153) &quot;select count(distinct(item)) from freq_corpus_corpustecnic_ca_<wbr>word <u></u><u></u></pre>
<pre>        /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */&quot;<u></u><u></u></pre>
<pre>    }<u></u><u></u></pre>
<pre>  }<u></u><u></u></pre>
<pre>  [3]=&gt;<u></u><u></u></pre>
<pre>  array(4) {<u></u><u></u></pre>
<pre>    [&quot;file&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(61) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/freqtable.inc.<wbr>php&quot;<u></u><u></u></pre>
<pre>    [&quot;line&quot;]=&gt;<u></u><u></u></pre>
<pre>    int(166)<u></u><u></u></pre>
<pre>    [&quot;function&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(21) &quot;update_corpus_n_types&quot;<u></u><u></u></pre>
<pre>    [&quot;args&quot;]=&gt;<u></u><u></u></pre>
<pre>    array(1) {<u></u><u></u></pre>
<pre>      [0]=&gt;<u></u><u></u></pre>
<pre>      string(15) &quot;corpustecnic_ca&quot;<u></u><u></u></pre>
<pre>    }<u></u><u></u></pre>
<pre>  }<u></u><u></u></pre>
<pre>  [4]=&gt;<u></u><u></u></pre>
<pre>  array(4) {<u></u><u></u></pre>
<pre>    [&quot;file&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(59) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/execute.inc.<wbr>php&quot;<u></u><u></u></pre>
<pre>    [&quot;line&quot;]=&gt;<u></u><u></u></pre>
<pre>    int(179)<u></u><u></u></pre>
<pre>    [&quot;function&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(22) &quot;corpus_make_freqtables&quot;<u></u><u></u></pre>
<pre>    [&quot;args&quot;]=&gt;<u></u><u></u></pre>
<pre>    array(1) {<u></u><u></u></pre>
<pre>      [0]=&gt;<u></u><u></u></pre>
<pre>      string(15) &quot;corpustecnic_ca&quot;<u></u><u></u></pre>
<pre>    }<u></u><u></u></pre>
<pre>  }<u></u><u></u></pre>
<pre>  [5]=&gt;<u></u><u></u></pre>
<pre>  array(4) {<u></u><u></u></pre>
<pre>    [&quot;file&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(55) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/exe/execute.php&quot;<u></u><u></u></pre>
<pre>    [&quot;line&quot;]=&gt;<u></u><u></u></pre>
<pre>    int(1)<u></u><u></u></pre>
<pre>    [&quot;args&quot;]=&gt;<u></u><u></u></pre>
<pre>    array(1) {<u></u><u></u></pre>
<pre>      [0]=&gt;<u></u><u></u></pre>
<pre>      string(59) &quot;/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/execute.inc.<wbr>php&quot;<u></u><u></u></pre>
<pre>    }<u></u><u></u></pre>
<pre>    [&quot;function&quot;]=&gt;<u></u><u></u></pre>
<pre>    string(7) &quot;require&quot;<u></u><u></u></pre>
<pre>  }<u></u><u></u></pre>
<pre>}<u></u><u></u></pre>
<p class="MsoNormal">##############################<wbr>#################<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
</div>
<p class="MsoNormal">Jorge Vivaldi Palatresi<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">Institut Universitari de Lingüística Aplicada<br>
Universitat Pompeu Fabra<br>
C/ Roc Boronat, 138<br>
08018 Barcelona<br>
Espanya<br>
<br>
<a href="tel:+34%20935%2042%2023%2032" target="_blank">+34 93 542 2332</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/<wbr>mailman/listinfo/cwb</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Jorge Vivaldi Palatresi<br>Institut Universitari de Lingüística 
Aplicada<br>Universitat Pompeu Fabra<br>C/ Roc Boronat, 138<br>08018 
Barcelona<br>Espanya<br><br>+34 93 542 2332<br><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div>