[CWB] Assertion failed

Stefan Evert stefanML at collocations.de
Tue Jan 5 08:23:24 CET 2016


> On 5 Jan 2016, at 06:32, Ruprecht von Waldenfels <ruprecht.waldenfels at gmx.net> wrote:
> 
> Hi, yes, with the same effect. It does access the file, as I said. If I replace the corpus name with one the does not exist, I get an earlier error message:
> cl_new_corpus: can't locate <bulgakovmaster_rsu> in /data/parallel/ParaSolFeb14/Registry
> Can't access corpus BULGAKOVMASTER_RSU (aborted) at /usr/local/bin/cwb-align-export line 66.

This is indeed weird. The problem appears to be that CQP can't access the corpus, but direct access through the corpus library works.

I don't think it has to do with different CWB versions, since the registry and index files should still be compatible – unless you're running a very old copy of CQP.  Please check which CQP version your Perl modules have picked up:

	perl -MCWB::CQP -le 'print CWB::CQP->new->version()'

Does the corpus work through CWB::CQP in your Web interface?  Is it in the standard registry directory?  Does it show up if you run

	perl -MCWB::CQP -le 'foreach (CWB::CQP->new->exec("show corpora")) {print}' 

?

Best,
Stefan


More information about the CWB mailing list