<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:x="urn:schemas-microsoft-com:office:excel" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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: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
        {mso-style-priority:99;
        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";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.gmail-m-243941151716870102gmail-m341966560614934380errormessage, li.gmail-m-243941151716870102gmail-m341966560614934380errormessage, div.gmail-m-243941151716870102gmail-m341966560614934380errormessage
        {mso-style-name:gmail-m_-243941151716870102gmail-m_341966560614934380errormessage;
        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.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        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;}
/* List Definitions */
@list l0
        {mso-list-id:1489397613;
        mso-list-template-ids:763419196;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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:"Verdana","sans-serif";color:#1F497D">Most likely cause of error: Your disk is full IE there is not enough space for the temporary file. Thus, “error writing file”.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Solutions: (1) get a bigger disk for /tmp OR (2) tell the MySQL server to use a different existing disk for temporary files.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<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<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Hi all,</span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">I just installed a Catalan corpus following this procedure:</span><o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:7.5pt">indexed a corpus using command-line CWB </span><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:7.5pt">Install in CQPweb</span><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:7.5pt">Calculate frequencies</span><o:p></o:p></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><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Queries to the corpus seems to work correctly.</span><o:p></o:p></p>
<p class="gmail-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><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Any suggestion/help is welcomed.</span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Thanks in advance,</span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt">Jorge</span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><o:p> </o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage">################################################<o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:"Courier New"">A MySQL query did not run successfully!</span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:"Courier New"">Original query: select count(distinct(item)) from freq_corpus_corpustecnic_ca_word /* from User: jvivaldi | Function: update_corpus_n_types()
| 2017-Oct-09 09:53:10 </span><o:p></o:p></p>
<p class="gmail-m-243941151716870102gmail-m341966560614934380errormessage"><span style="font-size:7.5pt;font-family:"Courier New"">*/Error # 3: Error writing file '/tmp/MYvwWHTU' (Errcode: 28)
</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:"Courier New"">PHP debugging backtrace
</span><o:p></o:p></p>
<pre>array(5) {<o:p></o:p></pre>
<pre> [1]=><o:p></o:p></pre>
<pre> array(4) {<o:p></o:p></pre>
<pre> ["file"]=><o:p></o:p></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/library.inc.php"<o:p></o:p></pre>
<pre> ["line"]=><o:p></o:p></pre>
<pre> int(286)<o:p></o:p></pre>
<pre> ["function"]=><o:p></o:p></pre>
<pre> string(20) "exiterror_mysqlquery"<o:p></o:p></pre>
<pre> ["args"]=><o:p></o:p></pre>
<pre> array(3) {<o:p></o:p></pre>
<pre> [0]=><o:p></o:p></pre>
<pre> int(3)<o:p></o:p></pre>
<pre> [1]=><o:p></o:p></pre>
<pre> string(48) "Error writing file '/tmp/MYvwWHTU' (Errcode: 28)"<o:p></o:p></pre>
<pre> [2]=><o:p></o:p></pre>
<pre> string(153) "select count(distinct(item)) from freq_corpus_corpustecnic_ca_word <o:p></o:p></pre>
<pre> /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> [2]=><o:p></o:p></pre>
<pre> array(4) {<o:p></o:p></pre>
<pre> ["file"]=><o:p></o:p></pre>
<pre> string(60) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/<a href="http://metadata.inc.ph">metadata.inc.ph</a>p"<o:p></o:p></pre>
<pre> ["line"]=><o:p></o:p></pre>
<pre> int(441)<o:p></o:p></pre>
<pre> ["function"]=><o:p></o:p></pre>
<pre> string(14) "do_mysql_query"<o:p></o:p></pre>
<pre> ["args"]=><o:p></o:p></pre>
<pre> array(1) {<o:p></o:p></pre>
<pre> [0]=><o:p></o:p></pre>
<pre> &string(153) "select count(distinct(item)) from freq_corpus_corpustecnic_ca_word <o:p></o:p></pre>
<pre> /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> [3]=><o:p></o:p></pre>
<pre> array(4) {<o:p></o:p></pre>
<pre> ["file"]=><o:p></o:p></pre>
<pre> string(61) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/freqtable.inc.php"<o:p></o:p></pre>
<pre> ["line"]=><o:p></o:p></pre>
<pre> int(166)<o:p></o:p></pre>
<pre> ["function"]=><o:p></o:p></pre>
<pre> string(21) "update_corpus_n_types"<o:p></o:p></pre>
<pre> ["args"]=><o:p></o:p></pre>
<pre> array(1) {<o:p></o:p></pre>
<pre> [0]=><o:p></o:p></pre>
<pre> string(15) "corpustecnic_ca"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> [4]=><o:p></o:p></pre>
<pre> array(4) {<o:p></o:p></pre>
<pre> ["file"]=><o:p></o:p></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php"<o:p></o:p></pre>
<pre> ["line"]=><o:p></o:p></pre>
<pre> int(179)<o:p></o:p></pre>
<pre> ["function"]=><o:p></o:p></pre>
<pre> string(22) "corpus_make_freqtables"<o:p></o:p></pre>
<pre> ["args"]=><o:p></o:p></pre>
<pre> array(1) {<o:p></o:p></pre>
<pre> [0]=><o:p></o:p></pre>
<pre> string(15) "corpustecnic_ca"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> [5]=><o:p></o:p></pre>
<pre> array(4) {<o:p></o:p></pre>
<pre> ["file"]=><o:p></o:p></pre>
<pre> string(55) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/exe/execute.php"<o:p></o:p></pre>
<pre> ["line"]=><o:p></o:p></pre>
<pre> int(1)<o:p></o:p></pre>
<pre> ["args"]=><o:p></o:p></pre>
<pre> array(1) {<o:p></o:p></pre>
<pre> [0]=><o:p></o:p></pre>
<pre> string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> ["function"]=><o:p></o:p></pre>
<pre> string(7) "require"<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre>}<o:p></o:p></pre>
<p class="MsoNormal">###############################################<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
</div>
<p class="MsoNormal">Jorge Vivaldi Palatresi<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">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><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>