<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: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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 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.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.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;}
--></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;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">OK, so the problem is fairly clear: your corpus is installed as SR201 but that isn’t a valid corpus handle. It ought to be “sr201”.
 &nbsp;Trying to use it as one is the reason for the following error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Usage error: invalid filename 'SR201__freq' for registry entry.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Filename must not contain uppercase letters, '.' or '~'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I am not sure why you didn’t get this or an equivalent error in the earlier version. I suspect that it may be because additional error
 checking has been added.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Anyway the solution would be to go in and change the corpus ID from SR201 to sr201 everywhere it occurs (in all filenames, directory
 paths, database table names, and database entries.) Depending on how familiar you are with the internals of the system, it might be easier to scrub the corpus and reinstall from text files.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>tech@linguistik.uzh.ch<br>
<b>Sent:</b> 26 April 2018 14:02<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;cwb@sslmit.unibo.it&gt;<br>
<b>Subject:</b> [CWB] Antwort: Re: Problem updating cqpweb, not all frequency lists generated<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif">Dear Andrew<br>
<br>
Sure, my apologies...<br>
<br>
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.
<br>
Unfortunately, the update did not work properly. An error that occured is that not all frequency lists were created.<br>
This concerns the Text-by-text freq-lists for some corpora. <br>
<br>
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:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif">CWB text-by-text frequency lists are used to generate subcorpus frequency lists (important for keywords, collocations etc.)<br>
<br>
The text-by-text list for this corpus has not yet been created. Use the button below to generate it.<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif"><br>
<br>
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.<br>
a) php offline-freqlists.php sr201<br>
and got the following error message:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif">Critical error: the corpus you specified does not appear to exist on the system.<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif"><br>
b) php offline-freqlists.php SR201<br>
<br>
Then the script runs through, but does not populate the respective directory.<br>
I attach the whole output of the script, just in case you see more in there than I. There is one error message:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif">Beginning to filter data from decode to encode to build the frequency-list-by-text CWB database...<br>
<br>
Usage error: invalid filename 'SR201__freq' for registry entry.<br>
Filename must not contain uppercase letters, '.' or '~'.<br>
<br>
Encoding of the frequency-list-by-text CWB database is now complete.<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif"><br>
<br>
Thank you very much for help, best regards<br>
Luzia<br>
<br>
--<br>
Luzia Roth, B.A.<br>
Technische Koordinatorin Zürcher Kompetenzzentrum für Linguistik<br>
<a href="mailto:tech@linguistik.uzh.ch" target="_blank">tech@linguistik.uzh.ch</a> | Tel: &#43;41 44 635 75 76 | Büro: AND 2.18<br>
Im Büro: Montag und Dienstag<br>
<br>
Institut für Computerlinguistik<br>
Universität Zürich<br>
Andreasstrasse 15<br>
CH-8050 Zürich<br>
<br>
<a href="mailto:-----cwb-bounces@sslmit.unibo.it" target="_blank">-----cwb-bounces@sslmit.unibo.it</a> schrieb: -----<br>
An: Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Von: &quot;Hardie, Andrew&quot; <br>
Gesendet von: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><br>
Datum: 24.04.2018 21:02<br>
Betreff: Re: [CWB] Problem updating cqpweb, not all frequency lists generated<br>
<br>
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.<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">mailto:cwb-bounces@sslmit.unibo.it</a>] On Behalf Of
<a href="mailto:tech@linguistik.uzh.ch" target="_blank">tech@linguistik.uzh.ch</a><br>
Sent: 24 April 2018 15:40<br>
To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br>
Subject: [CWB] Problem updating cqpweb, not all frequency lists generated<br>
<br>
Dear all<br>
<br>
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.
<br>
Unfortunately, the update did not work properly. An error that occured is that not all frequency lists were created.<br>
This concerns the Text-by-text freq-lists for some corpora. <br>
<br>
It was not possible to create them via the webinterface and<br>
I could not run the offline-freqlist.php script either because some of the <br>
corpora have upper case names or underscore. I assume the problem lies somewhere there.
<br>
<br>
What should I do to obtain all the necessary frequency lists?<br>
<br>
Thank you in advance, best regards<br>
Luzia Roth<br>
<br>
--<br>
Luzia Roth, B.A.<br>
Technische Koordinatorin Zürcher Kompetenzzentrum für Linguistik<br>
<a href="mailto:tech@linguistik.uzh.ch" target="_blank">tech@linguistik.uzh.ch</a> | Tel: &#43;41 44 635 75 76 | Büro: AND 2.18<br>
Im Büro: Montag und Dienstag<br>
<br>
Institut für Computerlinguistik<br>
Universität Zürich<br>
Andreasstrasse 15<br>
CH-8050 Zürich<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a></span><o:p></o:p></p>
</div>
</body>
</html>