<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Courier New \;color\:\#1F497D";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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.EmailStyle21
        {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:"Verdana","sans-serif";color:#1F497D">No, I mean send me *<b>the actual file</b>* - as an attachment - I can’t tell from how it appears when pasted into an email whether or not it is formatted correctly
in the actual file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </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:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>"Andrés Chandía"<br>
<b>Sent:</b> 20 October 2012 00:52<br>
<b>To:</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> </o:p></p>
<p class="MsoNormal">Here you have it<br>
<br>
file name "prueba.txt"<br>
<br>
<text id="prueba"><br>
texto N<br>
crudo Aj<br>
para P<br>
la D<br>
prueba N<br>
de P<br>
la D<br>
interfaz N<br>
web N<br>
de P<br>
CQP N<br>
</text><br>
<br>
El Sab, 20 de Octubre de 2012, 1:45, Hardie, Andrew escribió:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Yes, that’s the correct update method. Now I can see the error.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">It’s this bit (error lines reordered for clarity):</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">COMPRESSING TOKEN STREAM of PRUEBA6.pos
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">Problem: No output generated -- no items?
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">VALIDATING PRUEBA6.pos</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">/B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd: No such file or directory
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">ERROR: reading /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd failed. Aborted.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New ;color:#1F497D","serif"">- reading code descriptor block from /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Apparently, there is no data in the encoded attribute “pos”, so attempting to compress it fails.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";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?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></strong><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
"Andrés Chandía" [mailto:andres@chandia.net] <br>
<strong><span style="font-family:"Tahoma","sans-serif"">Sent:</span></strong> 19 October 2012 14:17<br>
<strong><span style="font-family:"Tahoma","sans-serif"">To:</span></strong> Hardie, Andrew<br>
<strong><span style="font-family:"Tahoma","sans-serif"">Cc:</span></strong> Open source development of the Corpus WorkBench<br>
<strong><span style="font-family:"Tahoma","sans-serif"">Subject:</span></strong> RE: [CWB] Test corpus indexing</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;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>"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<o:p></o:p></pre>
<pre>the<o:p></o:p></pre>
<pre style="margin-bottom:12.0pt">CQPweb code,<br>this can typically be done with the svn<o:p></o:p></pre>
<pre style="margin-bottom:12.0pt">update command."<o:p></o:p></pre>
<p class="MsoNormal" style="mso-margin-top-alt:auto;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>&1 === Makeall: processing corpus PRUEBA6 === Registry directory:<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/registry ATTRIBUTE word + creating LEXSRT ... OK - lexicon<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>OK + creating FREQS ... OK - frequencies OK - token stream OK + creating REVCIDX ...<o:p></o:p></pre>
<pre>OK <o:p></o:p></pre>
<pre>+ creating REVCORP ... OK ? validating REVCORP ... OK - index OK ATTRIBUTE pos <o:p></o:p></pre>
<pre>+<o:p></o:p></pre>
<pre>creating LEXSRT ... OK - lexicon OK + creating FREQS ... OK - frequencies OK -<o:p></o:p></pre>
<pre>token<o:p></o:p></pre>
<pre>stream OK + creating REVCIDX ... OK + creating REVCORP ... OK ? validating REVCORP ...<o:p></o:p></pre>
<pre>OK <o:p></o:p></pre>
<pre>- index OK ======================================== /usr/local/bin/cwb-huffcode<o:p></o:p></pre>
<pre>-r<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/registry -A PRUEBA6 2>&1 Problem: No output generated<o:p></o:p></pre>
<pre>--<o:p></o:p></pre>
<pre>no items? /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd: No such file or directory<o:p></o:p></pre>
<pre>ERROR:<o:p></o:p></pre>
<pre>reading /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd failed. Aborted. COMPRESSING<o:p></o:p></pre>
<pre>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<o:p></o:p></pre>
<pre>to<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - writing sync (every 128 tokens)<o:p></o:p></pre>
<pre>to<o:p></o:p></pre>
<pre>/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn VALIDATING PRUEBA6.word - reading<o:p></o:p></pre>
<pre>code<o:p></o:p></pre>
<pre>descriptor block from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.hcd - reading<o:p></o:p></pre>
<pre>compressed<o:p></o:p></pre>
<pre>item sequence from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - reading sync (mod<o:p></o:p></pre>
<pre>128)<o:p></o:p></pre>
<pre>from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn !! You can delete the file <o:p></o:p></pre>
<pre>now.<o:p></o:p></pre>
<pre>COMPRESSING TOKEN STREAM of PRUEBA6.pos VALIDATING PRUEBA6.pos - reading code descriptor<o:p></o:p></pre>
<pre>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" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="This external link will open in a new window"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1025" src="cid:~WRD135.jpg" alt="Image removed by sender. chandia.net"></span></a><br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F6228">No imprima innecesariamente. ¡Cuide el medio ambiente!</span><o:p></o:p></p>
</div>
</body>
</html>