<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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> 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>&nbsp;</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: &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><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>&nbsp;</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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">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:&quot;Courier New&quot;">*/Error # 3: Error writing file '/tmp/MYvwWHTU' (Errcode: 28)
</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">PHP debugging backtrace
</span><o:p></o:p></p>
<pre>array(5) {<o:p></o:p></pre>
<pre>&nbsp; [1]=&gt;<o:p></o:p></pre>
<pre>&nbsp; array(4) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(59) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/library.inc.php&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; int(286)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(20) &quot;exiterror_mysqlquery&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; array(3) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int(3)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(48) &quot;Error writing file '/tmp/MYvwWHTU' (Errcode: 28)&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(153) &quot;select count(distinct(item)) from freq_corpus_corpustecnic_ca_word <o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; [2]=&gt;<o:p></o:p></pre>
<pre>&nbsp; array(4) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(60) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/<a href="http://metadata.inc.ph">metadata.inc.ph</a>p&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; int(441)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(14) &quot;do_mysql_query&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; array(1) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;string(153) &quot;select count(distinct(item)) from freq_corpus_corpustecnic_ca_word <o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; [3]=&gt;<o:p></o:p></pre>
<pre>&nbsp; array(4) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(61) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/freqtable.inc.php&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; int(166)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(21) &quot;update_corpus_n_types&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; array(1) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(15) &quot;corpustecnic_ca&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; [4]=&gt;<o:p></o:p></pre>
<pre>&nbsp; array(4) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(59) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; int(179)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(22) &quot;corpus_make_freqtables&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; array(1) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(15) &quot;corpustecnic_ca&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; }<o:p></o:p></pre>
<pre>&nbsp; [5]=&gt;<o:p></o:p></pre>
<pre>&nbsp; array(4) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;file&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(55) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/exe/execute.php&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;line&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; int(1)<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;args&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; array(1) {<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string(59) &quot;/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php&quot;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; [&quot;function&quot;]=&gt;<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; string(7) &quot;require&quot;<o:p></o:p></pre>
<pre>&nbsp; }<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:&#43;34%20935%2042%2023%2032" target="_blank">&#43;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>