[CWB] error in calculating the corpus frequency list

VIVALDI PALATRESI, JORGE jorge.vivaldi at upf.edu
Tue Oct 10 08:39:25 CEST 2017


Good morning Andrew,
You are right. There was a mistake in the partition /tmp that cause this
lack of space. After correcting it it works perfectly.

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 *have already been
created*. 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.

Thanks again for your assistance,

Jorge



2017-10-09 13:49 GMT+02:00 Hardie, Andrew <a.hardie at lancaster.ac.uk>:

> Most likely cause of error: Your disk is full IE there is not enough space
> for the temporary file. Thus, “error writing file”.
>
>
>
> Solutions: (1) get a bigger disk for /tmp OR (2) tell the MySQL server to
> use a different existing disk for temporary files.
>
>
>
> best
>
>
>
> Andrew.
>
>
>
> *From:* cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] *On
> Behalf Of *VIVALDI PALATRESI, JORGE
> *Sent:* 09 October 2017 12:13
> *To:* Open source development of the Corpus WorkBench
> *Subject:* [CWB] error in calculating the corpus frequency list
>
>
>
> Hi all,
>
> I just installed a Catalan corpus following this procedure:
>
>    1. indexed a corpus using command-line CWB
>    2. Install in CQPweb
>    3. Calculate frequencies
>
> 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.
>
> Queries to the corpus seems to work correctly.
>
> 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.
>
> Any suggestion/help is welcomed.
>
> Thanks in advance,
>
> Jorge
>
>
>
> ################################################
>
> A MySQL query did not run successfully!
>
> 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
>
> */Error # 3: Error writing file '/tmp/MYvwWHTU' (Errcode: 28)
>
> PHP debugging backtrace
>
> array(5) {
>
>   [1]=>
>
>   array(4) {
>
>     ["file"]=>
>
>     string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/library.inc.php"
>
>     ["line"]=>
>
>     int(286)
>
>     ["function"]=>
>
>     string(20) "exiterror_mysqlquery"
>
>     ["args"]=>
>
>     array(3) {
>
>       [0]=>
>
>       int(3)
>
>       [1]=>
>
>       string(48) "Error writing file '/tmp/MYvwWHTU' (Errcode: 28)"
>
>       [2]=>
>
>       string(153) "select count(distinct(item)) from freq_corpus_corpustecnic_ca_word
>
>         /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */"
>
>     }
>
>   }
>
>   [2]=>
>
>   array(4) {
>
>     ["file"]=>
>
>     string(60) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/metadata.inc.php"
>
>     ["line"]=>
>
>     int(441)
>
>     ["function"]=>
>
>     string(14) "do_mysql_query"
>
>     ["args"]=>
>
>     array(1) {
>
>       [0]=>
>
>       &string(153) "select count(distinct(item)) from freq_corpus_corpustecnic_ca_word
>
>         /* from User: jvivaldi | Function: update_corpus_n_types() | 2017-Oct-09 09:53:10 */"
>
>     }
>
>   }
>
>   [3]=>
>
>   array(4) {
>
>     ["file"]=>
>
>     string(61) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/freqtable.inc.php"
>
>     ["line"]=>
>
>     int(166)
>
>     ["function"]=>
>
>     string(21) "update_corpus_n_types"
>
>     ["args"]=>
>
>     array(1) {
>
>       [0]=>
>
>       string(15) "corpustecnic_ca"
>
>     }
>
>   }
>
>   [4]=>
>
>   array(4) {
>
>     ["file"]=>
>
>     string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php"
>
>     ["line"]=>
>
>     int(179)
>
>     ["function"]=>
>
>     string(22) "corpus_make_freqtables"
>
>     ["args"]=>
>
>     array(1) {
>
>       [0]=>
>
>       string(15) "corpustecnic_ca"
>
>     }
>
>   }
>
>   [5]=>
>
>   array(4) {
>
>     ["file"]=>
>
>     string(55) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/exe/execute.php"
>
>     ["line"]=>
>
>     int(1)
>
>     ["args"]=>
>
>     array(1) {
>
>       [0]=>
>
>       string(59) "/mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/execute.inc.php"
>
>     }
>
>     ["function"]=>
>
>     string(7) "require"
>
>   }
>
> }
>
> ###############################################
>
>
> --
>
> Jorge Vivaldi Palatresi
>
> Institut Universitari de Lingüística Aplicada
> Universitat Pompeu Fabra
> C/ Roc Boronat, 138
> 08018 Barcelona
> Espanya
>
> +34 93 542 2332 <+34%20935%2042%2023%2032>
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
>


-- 
Jorge Vivaldi Palatresi
Institut Universitari de Lingüística Aplicada
Universitat Pompeu Fabra
C/ Roc Boronat, 138
08018 Barcelona
Espanya

+34 93 542 2332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20171010/747c7004/attachment.html>


More information about the CWB mailing list