[CWB] Antwort: Re: Problem updating cqpweb, not all frequency lists generated

tech at linguistik.uzh.ch tech at linguistik.uzh.ch
Thu Apr 26 15:01:41 CEST 2018


Dear Andrew

Sure, my apologies...

I tried to migrate a cqpweb instance from an old server to a newer one and update cqpweb from version 3.1.7 to version 3.2.31. 
Unfortunately, the update did not work properly. An error that occured is that not all frequency lists were created.
This concerns the Text-by-text freq-lists for some corpora. 

1) It was not possible to create them via the webinterface. When I press the button 'Create CWB frequency table', there is no change. It still says:

CWB text-by-text frequency lists are used to generate subcorpus frequency lists (important for keywords, collocations etc.)
 
The text-by-text list for this corpus has not yet been created. Use the button below to generate it.


2) The offline-freqlist.php script did not help either. I tried running it from the the cqpweb/bin directory. First with the lowercase corpus name, then with the uppercase corpus name.
a) php offline-freqlists.php sr201
and got the following error message:

Critical error: the corpus you specified does not appear to exist on the system.

b) php offline-freqlists.php SR201

Then the script runs through, but does not populate the respective directory.
I attach the whole output of the script, just in case you see more in there than I. There is one error message:

Beginning to filter data from decode to encode to build the frequency-list-by-text CWB database...

Usage error: invalid filename 'SR201__freq' for registry entry.
Filename must not contain uppercase letters, '.' or '~'.

Encoding of the frequency-list-by-text CWB database is now complete.


Thank you very much for help, best regards
Luzia

--
Luzia Roth, B.A.
Technische Koordinatorin Zürcher Kompetenzzentrum für Linguistik
tech at linguistik.uzh.ch | Tel: +41 44 635 75 76 | Büro: AND 2.18
Im Büro: Montag und Dienstag

Institut für Computerlinguistik
Universität Zürich
Andreasstrasse 15
CH-8050 Zürich

-----cwb-bounces at sslmit.unibo.it schrieb: -----
An: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Von: "Hardie, Andrew" 
Gesendet von: cwb-bounces at sslmit.unibo.it
Datum: 24.04.2018 21:02
Betreff: Re: [CWB] Problem updating cqpweb, not all frequency lists generated

Could you send in the error messages you got for each of the failures you report? It's a bit difficult to diagnose any issue without them.

best

Andrew.


-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of tech at linguistik.uzh.ch
Sent: 24 April 2018 15:40
To: cwb at sslmit.unibo.it
Subject: [CWB] Problem updating cqpweb, not all frequency lists generated

Dear all

I tried to migrate a cqpweb instance from an old server to a newer one and update cqpweb from version 3.1.7 to version 3.2.31. 
Unfortunately, the update did not work properly. An error that occured is that not all frequency lists were created.
This concerns the Text-by-text freq-lists for some corpora. 

It was not possible to create them via the webinterface and
I could not run the offline-freqlist.php script either because some of the 
corpora have upper case names or underscore. I assume the problem lies somewhere there. 

What should I do to obtain all the necessary frequency lists?

Thank you in advance, best regards
Luzia Roth

--
Luzia Roth, B.A.
Technische Koordinatorin Zürcher Kompetenzzentrum für Linguistik
tech at linguistik.uzh.ch | Tel: +41 44 635 75 76 | Büro: AND 2.18
Im Büro: Montag und Dienstag

Institut für Computerlinguistik
Universität Zürich
Andreasstrasse 15
CH-8050 Zürich
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180426/7e0e3beb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_offline_freqlist_SR201
Type: application/octet-stream
Size: 78976 bytes
Desc: not available
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180426/7e0e3beb/attachment-0001.obj>


More information about the CWB mailing list