[CWB] charset parameter in registry produces cqp errors

Dieter Schicker dieter.schicker at uni-graz.at
Mon Jul 30 20:21:52 CEST 2007


Hi corpus hackers,

this is my first mail to this list so please forgive me if this has
already been answered before, and many thanks for this great piece of
software!

I got a problem concerning the "charset" parameter in the registry
files: When I enable the "charset = iso-8859-2" option (aka remove the
trailing "##::") then I get the following error in the cqp logs:

<snip>
==> /var/log/apache2/error.log <==
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] **** CQP ERROR ****
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] REGISTRY ERROR
(/data/cwb/prb/registry/prb-ru): Illegal corpus declaration -- no
attributes defined
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] REGISTRY ERROR
(/data/cwb/prb/registry/prb-ru): Parse Error.
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] **** CQP ERROR ****
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] CQP Error:
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] \tCorpus
``PRB-RU'' is undefined
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] **** CQP ERROR ****
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] CQP Error:
[Mon Jul 30 20:21:34 2007] [error] [client 143.50.30.36] \tNo corpus
activated
</snip>

So, 2 questions:

1) What is the right syntax for the charset parameter?
2) Is the charset parameter still only "informational" like Stefan wrote
in http://devel.sslmit.unibo.it/pipermail/cwb/2007-February/000065.html

Thanks in advance
Dieter





More information about the CWB mailing list