[CWB] how to fix Base class package "CWB::CEQL" is empty

Andrés Chandía andreschandiaf at gmail.com
Wed Sep 18 12:17:42 CEST 2024


Yes, of course...
CQPweb v3.2.44 © 2008-2021
IMS Open Corpus Workbench v3.5.0
perl 5, version 38, subversion 2 (v5.38.2) built for
x86_64-linux-gnu-thread-multi

thanks!

El mié, 18 sept 2024 a las 12:12, Hardie, Andrew (<a.hardie at lancaster.ac.uk>)
escribió:

> My recommendation is you should tell us what version of the code you’re
> running, for a start.
>
>
>
> *From:* cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> *On
> Behalf Of *Andrés Chandía
> *Sent:* 18 September 2024 04:13
> *To:* Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it
> >
> *Subject:* Re: [CWB] how to fix Base class package "CWB::CEQL" is empty
>
>
>
> Thanks Andrew,
>
> that was it...
>
> I had In my config:
>
> $use_the_new_ceql = true;
>
> changing it to
>
> $use_the_new_ceql = false;
>
> made no effect, so I commented out
>
> while adding (or not)
>
> $use_external_ceql_parser =
>
> with either true or false value does not (at least visibly) affect the
> query
>
> So, what's your recommendation for this feature...?
>
>
>
>
>
> *... Andrés Chandía*
>
>
>
>
>
> Missatge de Hardie, Andrew <a.hardie at lancaster.ac.uk> del dia dt., 17 de
> set. 2024 a les 16:59:
>
> You could alternatively just use the internal parser and remove the Perl
> dependency entirely. That’s been the default since version 3.2.38 in 2019.
>
>
>
> Check your config.php file. The setting is called $use_the_new_ceql in
> v3.2 (for no Perl, set to true), but $use_external_ceql_parser in 3.3 (for
> no Perl, set to false).
>
>
>
> best
>
>
>
> Andrew.
>
>
>
> *From:* cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> *On
> Behalf Of *Andrés Chandía
> *Sent:* 17 September 2024 12:53
> *To:* Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it
> >
> *Subject:* Re: [CWB] how to fix Base class package "CWB::CEQL" is empty
>
>
>
> Thanks again Stephanie...
>
> So I have to tell apache to work with a different perl version?
>
>
>
> your command output: MU(meet [word="cat"%c] [word="dog"%c] s)
>
>
>
> El mar, 17 sept 2024 a las 13:41, Stephanie Evert (<
> stefanML at collocations.de>) escribió:
>
>
>
> > On 16 Sep 2024, at 22:23, Andrés Chandía <andreschandiaf at gmail.com>
> wrote:
> >
> > Hi again Stephanie, I have reinstalled with CPAN, and now the message is
> different...
> > Syntax error
> > Sorry, your simple query [[[ word ]]] contains a syntax error.
> > Parser.c: loadable library and perl binaries are mismatched (got first
> handshake key 0xcd00080, needed 0xf380080)
>
> Either you installed CWB modules with an old version of Perl, or the
> Apache server uses an old version of Perl (have you configured a specific
> Perl version for CQPweb) but picks up the CWB modules from a newer
> version's library.
>
> I'm afraid you'll have to manage to unbreak your Linux system to get
> things to work again.
>
> What happens if you load CWB::CEQL from the command line?
>
>         perl -e 'use CWB::CEQL; $parser = new CWB::CEQL; print
> $parser->Parse("cat <<s>> dog");'
>
> > Query with cqp syntax still works though...
>
> … because that doesn't call any Perl code.
>
>
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
>
>
> --
>
> Andrés Chandía
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>


-- 
Andrés Chandía
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240918/95c7dd7c/attachment-0001.html>


More information about the CWB mailing list