[CWB] Test corpus indexing
"Andrés Chandía"
andres at chandia.net
Fri Oct 19 15:16:56 CEST 2012
Ok I did it with the svn version, (it says Revission 337)
I guess I only have to update
the CQPweb files, I did it this way:
"Normally, you can update your CQPweb to a more recent version simply by copying
over the
files in the directory with the new versions. If you used Subversion to get the
CQPweb code,
this can typically be done with the svn update command."
so probably I'm doing something wrong because I get this message:
CQPweb encountered an error and could not continue.
cwb-huffcode reported an error! Corpus indexing aborted.
/usr/local/bin/cwb-makeall -r /B_NFS_P/diposit/corpora/cwb/registry -V PRUEBA6
2>&1 === Makeall: processing corpus PRUEBA6 === Registry directory:
/B_NFS_P/diposit/corpora/cwb/registry ATTRIBUTE word + creating LEXSRT ... OK - lexicon
OK + creating FREQS ... OK - frequencies OK - token stream OK + creating REVCIDX ... OK
+ creating REVCORP ... OK ? validating REVCORP ... OK - index OK ATTRIBUTE pos +
creating LEXSRT ... OK - lexicon OK + creating FREQS ... OK - frequencies OK - token
stream OK + creating REVCIDX ... OK + creating REVCORP ... OK ? validating REVCORP ... OK
- index OK ======================================== /usr/local/bin/cwb-huffcode -r
/B_NFS_P/diposit/corpora/cwb/registry -A PRUEBA6 2>&1 Problem: No output generated --
no items? /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd: No such file or directory ERROR:
reading /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd failed. Aborted. COMPRESSING TOKEN
STREAM of PRUEBA6.word - writing code descriptor block to
/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.hcd - writing compressed item sequence to
/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - writing sync (every 128 tokens) to
/B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn VALIDATING PRUEBA6.word - reading code
descriptor block from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.hcd - reading compressed
item sequence from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf - reading sync (mod 128)
from /B_NFS_P/diposit/corpora/cwb/data/prueba6/word.huf.syn !! You can delete the file now.
COMPRESSING TOKEN STREAM of PRUEBA6.pos VALIDATING PRUEBA6.pos - reading code descriptor block
from /B_NFS_P/diposit/corpora/cwb/data/prueba6/pos.hcd
... in file
/srv/web/llocs/cqp/lib/admin-install.inc.php line 467.
On Fri, October 19, 2012 03:52, Hardie, Andrew wrote:
<style type="text/css">-></style>
Yes,
the script does indeed create that directory. However, your runs of it are failing before they
get to that point (but after the creation of the database entry from which the link
is generated). I am guessing you have a slightly older version of the code, as I recently
revised the order of operations to make the creation of the folder come first.
I’ve
now made the change I mentioned before, so I suggest you update to the latest version of the
code from subversion (commit 336) and try installing again – you should get, at the
very least, a more informative error message to tell us about!
best
Andrew.
From:
cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of
"Andrés Chandía"
Sent: 18 October 2012
18:30
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] Test corpus indexing
Is it right this path: cqpweb/prueba4
is the script trying
to create a directory "prueba4" at "/var/www/cqpweb/ ", is that location
right?
El Jue, 18 de Octubre de 2012, 17:53, Hardie, Andrew
escribió:
Hi
Andrés,
You’re
inserting the values of the
second column, what you need to insert is a description i.e.
labels for the column as a whole. In other words:
Handle
Description
Tagset
External URL
pos
Part-of-speech tag
best
Andrew.
_______________________
andrés chandía
P No
imprima innecesariamente. ¡Cuide el medio ambiente!
_______________________
andrés
chandía
P No imprima
innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121019/6c06fb98/attachment-0001.html>
More information about the CWB
mailing list