[CWB] error in calculating the corpus frequency list
Hardie, Andrew
a.hardie at lancaster.ac.uk
Mon Oct 9 13:49:43 CEST 2017
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.ph<http://metadata.inc.ph>p"
["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<tel:+34%20935%2042%2023%2032>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20171009/87af8a99/attachment-0001.html>
More information about the CWB
mailing list