<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (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: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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
p.errormessage, li.errormessage, div.errormessage
        {mso-style-name:errormessage;
        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.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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;,&quot;sans-serif&quot;;color:#1F497D">Yes, that&#8217;s the correct update method. Now I can see the error.<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">It&#8217;s this bit (error lines reordered for clarity):<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;Courier New&quot;;color:#1F497D">COMPRESSING TOKEN STREAM of PRUEBA6.pos
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">Problem: No output generated -- no items?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">VALIDATING PRUEBA6.pos<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">/B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd: No such file or directory
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">ERROR: reading /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd failed. Aborted.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#1F497D">&nbsp;- reading code descriptor block from /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd<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">Apparently, there is no data in the encoded attribute &#8220;pos&#8221;, so attempting to compress it fails.<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">The reason is that the pos attribute was not created correctly by cwb-encode. One possible reason for this is that your input file is not properly formatted.
 Could you send me it (off list) so I can check the format?<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>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<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;"> &quot;Andrés Chandía&quot; [mailto:andres@chandia.net]
<br>
<b>Sent:</b> 19 October 2012 14:17<br>
<b>To:</b> Hardie, Andrew<br>
<b>Cc:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> RE: [CWB] Test corpus indexing<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok I did it with the svn version, (it says Revission 337)<br>
I guess I only have to update the CQPweb files, I did it this way:<o:p></o:p></p>
<pre>&quot;Normally, you can update your CQPweb to a more recent version simply by copying<o:p></o:p></pre>
<pre>over the<br>files in the directory with the new versions. If you used Subversion to get the<o:p></o:p></pre>
<pre style="margin-bottom:12.0pt">CQPweb code,<br>this can typically be done with the svn update command.&quot;<o:p></o:p></pre>
<p class="MsoNormal" style="margin-bottom:12.0pt">so probably I'm doing something wrong because I get this message:<o:p></o:p></p>
<p class="errormessage">CQPweb encountered an error and could not continue.<o:p></o:p></p>
<p class="errormessage">cwb-huffcode reported an error! Corpus indexing aborted. <o:p>
</o:p></p>
<pre>/usr/local/bin/cwb-makeall -r /B_NFS_P/diposit/corpora/cwb/registry -V PRUEBA6<o:p></o:p></pre>
<pre>2&gt;&amp;1 === Makeall: processing corpus PRUEBA6 === Registry directory:<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/registry ATTRIBUTE word&nbsp; &#43; creating LEXSRT ... OK&nbsp; - lexicon&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>OK&nbsp; &#43; creating FREQS ... OK&nbsp; - frequencies&nbsp; OK&nbsp; - token stream OK&nbsp; &#43; creating REVCIDX ... OK <o:p></o:p></pre>
<pre>&#43; creating REVCORP ... OK&nbsp; ? validating REVCORP ... OK&nbsp; - index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK ATTRIBUTE pos&nbsp; &#43;<o:p></o:p></pre>
<pre>creating LEXSRT ... OK&nbsp; - lexicon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK&nbsp; &#43; creating FREQS ... OK&nbsp; - frequencies&nbsp; OK&nbsp; - token<o:p></o:p></pre>
<pre>stream OK&nbsp; &#43; creating REVCIDX ... OK&nbsp; &#43; creating REVCORP ... OK&nbsp; ? validating REVCORP ... OK <o:p></o:p></pre>
<pre>- index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK ======================================== /usr/local/bin/cwb-huffcode -r<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/registry -A PRUEBA6 2&gt;&amp;1 Problem: No output generated --<o:p></o:p></pre>
<pre>no items? /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd: No such file or directory ERROR:<o:p></o:p></pre>
<pre>reading /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd failed. Aborted. COMPRESSING TOKEN<o:p></o:p></pre>
<pre>STREAM of PRUEBA6.word - writing code descriptor block to<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.hcd - writing compressed item sequence to<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - writing sync (every 128 tokens) to<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn VALIDATING PRUEBA6.word - reading code<o:p></o:p></pre>
<pre>descriptor block from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.hcd - reading compressed<o:p></o:p></pre>
<pre>item sequence from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - reading sync (mod 128)<o:p></o:p></pre>
<pre>from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn !! You can delete the file&nbsp; now.<o:p></o:p></pre>
<pre>COMPRESSING TOKEN STREAM of PRUEBA6.pos VALIDATING PRUEBA6.pos - reading code descriptor block<o:p></o:p></pre>
<pre>from /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd<o:p></o:p></pre>
<p class="errormessage">... in file <strong>/srv/web/llocs/cqp/lib/admin-install.inc.php</strong> line
<strong>467</strong>.<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>