<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 "Corpus frequency list controls" and the "Frequency tables" was tagged as "Word and annotation frequency tables for this corpus <strong>have already been created</strong>.
                                                        Use the button below to delete and recreate them." 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"><<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>></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:"Verdana","sans-serif";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:"Verdana","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";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:"Verdana","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)">best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)">Andrew.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" 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: "Text begin/end positions", "Text category wordcounts" and "Text-by-text
freq-lists" but it fails to calculate the "Frequency tables". 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:"Courier New"">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:"Courier New"">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:"Courier New"">*/Error # 3: Error writing file '/tmp/MYvwWHTU' (Errcode: 28)
</span><u></u><u></u></p>
<p><span style="font-size:7.5pt;font-family:"Courier New"">PHP debugging backtrace
</span><u></u><u></u></p>
<pre>array(5) {<u></u><u></u></pre>
<pre> [1]=><u></u><u></u></pre>
<pre> array(4) {<u></u><u></u></pre>
<pre> ["file"]=><u></u><u></u></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/library.inc.<wbr>php"<u></u><u></u></pre>
<pre> ["line"]=><u></u><u></u></pre>
<pre> int(286)<u></u><u></u></pre>
<pre> ["function"]=><u></u><u></u></pre>
<pre> string(20) "exiterror_mysqlquery"<u></u><u></u></pre>
<pre> ["args"]=><u></u><u></u></pre>
<pre> array(3) {<u></u><u></u></pre>
<pre> [0]=><u></u><u></u></pre>
<pre> int(3)<u></u><u></u></pre>
<pre> [1]=><u></u><u></u></pre>
<pre> string(48) "Error writing file '/tmp/MYvwWHTU' (Errcode: 28)"<u></u><u></u></pre>
<pre> [2]=><u></u><u></u></pre>
<pre> string(153) "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 */"<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> [2]=><u></u><u></u></pre>
<pre> array(4) {<u></u><u></u></pre>
<pre> ["file"]=><u></u><u></u></pre>
<pre> string(60) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/<a href="http://metadata.inc.ph" target="_blank">metadata.inc.<wbr>ph</a>p"<u></u><u></u></pre>
<pre> ["line"]=><u></u><u></u></pre>
<pre> int(441)<u></u><u></u></pre>
<pre> ["function"]=><u></u><u></u></pre>
<pre> string(14) "do_mysql_query"<u></u><u></u></pre>
<pre> ["args"]=><u></u><u></u></pre>
<pre> array(1) {<u></u><u></u></pre>
<pre> [0]=><u></u><u></u></pre>
<pre> &string(153) "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 */"<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> [3]=><u></u><u></u></pre>
<pre> array(4) {<u></u><u></u></pre>
<pre> ["file"]=><u></u><u></u></pre>
<pre> string(61) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/freqtable.inc.<wbr>php"<u></u><u></u></pre>
<pre> ["line"]=><u></u><u></u></pre>
<pre> int(166)<u></u><u></u></pre>
<pre> ["function"]=><u></u><u></u></pre>
<pre> string(21) "update_corpus_n_types"<u></u><u></u></pre>
<pre> ["args"]=><u></u><u></u></pre>
<pre> array(1) {<u></u><u></u></pre>
<pre> [0]=><u></u><u></u></pre>
<pre> string(15) "corpustecnic_ca"<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> [4]=><u></u><u></u></pre>
<pre> array(4) {<u></u><u></u></pre>
<pre> ["file"]=><u></u><u></u></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/execute.inc.<wbr>php"<u></u><u></u></pre>
<pre> ["line"]=><u></u><u></u></pre>
<pre> int(179)<u></u><u></u></pre>
<pre> ["function"]=><u></u><u></u></pre>
<pre> string(22) "corpus_make_freqtables"<u></u><u></u></pre>
<pre> ["args"]=><u></u><u></u></pre>
<pre> array(1) {<u></u><u></u></pre>
<pre> [0]=><u></u><u></u></pre>
<pre> string(15) "corpustecnic_ca"<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> [5]=><u></u><u></u></pre>
<pre> array(4) {<u></u><u></u></pre>
<pre> ["file"]=><u></u><u></u></pre>
<pre> string(55) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/exe/execute.php"<u></u><u></u></pre>
<pre> ["line"]=><u></u><u></u></pre>
<pre> int(1)<u></u><u></u></pre>
<pre> ["args"]=><u></u><u></u></pre>
<pre> array(1) {<u></u><u></u></pre>
<pre> [0]=><u></u><u></u></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/<wbr>html/IulaCT/lib/execute.inc.<wbr>php"<u></u><u></u></pre>
<pre> }<u></u><u></u></pre>
<pre> ["function"]=><u></u><u></u></pre>
<pre> string(7) "require"<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>