<div dir="ltr"><div>Thanks Andrew,</div><div>$use_the_new_ceql completely deleted from config.inc.php</div><div>Since I commented out no further perl errors have appeared though...</div><div>Anyway, I was not clear, but I was asking about:<br><div class="gmail_default" style="color:rgb(11,83,148)">$use_external_ceql_parser =</div></div><div>I see no change when adding it with any value, false or true...</div><div><br></div><div>And no, I have not implemented any change at all on <span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)"><b>query-lib.php</b></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 18 sept 2024 a las 15:31, Hardie, Andrew (&lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg258880346254081811">





<div lang="EN-GB" style="overflow-wrap: break-word;">
<div class="m_-597782380673372579WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)">Then something is very wrong because CQPweb should not even invoke Perl to begin with if  $use_the_new_ceql  was
<b>true</b>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)">I suggest you delete that variable from your config completely allowing it to default to true. That
<b>should</b> mean no more Perl errors. If you do still get Perl errors, as I say, you have a much worse issue of an unknown cause.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)">(Have you manually changed any of the code at all? Esp the file
<b>query-lib.php</b>? If so you may need to revert those changes)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)"><u></u> <u></u></span></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt;
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 18 September 2024 11:18<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> Re: [CWB] how to fix Base class package &quot;CWB::CEQL&quot; is empty<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Yes, of course...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">CQPweb v3.2.44 © 2008-2021 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">IMS Open Corpus Workbench v3.5.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-gnu-thread-multi<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thanks!<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">El mié, 18 sept 2024 a las 12:12, Hardie, Andrew (&lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;) escribió:<u></u><u></u></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)">My recommendation is you should tell us what version of the code you’re running, for a start.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(21,96,130)"> </span><u></u><u></u></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0cm 0cm;border-color:currentcolor">
<p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt;
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 18 September 2024 04:13<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> Re: [CWB] how to fix Base class package &quot;CWB::CEQL&quot; is empty</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">Thanks Andrew,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">that was it...</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">I had In my config:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">$use_the_new_ceql = true;</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">changing it to</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">$use_the_new_ceql = false;</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">made no effect, so I commented out</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">while adding (or not)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">$use_external_ceql_parser =</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">with either true or false value does not (at least visibly) affect the query</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)">So, what&#39;s your recommendation for this feature...?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:rgb(11,83,148)"> </span><u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><i><span lang="FR" style="font-family:&quot;Trebuchet MS&quot;,sans-serif;color:blue">... Andrés Chandía</span></i><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="FR"> </span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span lang="FR"> </span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="FR">Missatge de Hardie, Andrew &lt;</span><a href="mailto:a.hardie@lancaster.ac.uk" target="_blank"><span lang="FR">a.hardie@lancaster.ac.uk</span></a><span lang="FR">&gt;
 del dia dt., 17 de set. 2024 a les 16:59:</span><u></u><u></u></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
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.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
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).<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
best<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
Andrew.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0cm 0cm;border-color:currentcolor">
<p class="MsoNormal" style="margin-left:4.8pt">
<b><span style="font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-family:&quot;Calibri&quot;,sans-serif">
</span><a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank"><span style="font-family:&quot;Calibri&quot;,sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span style="font-family:&quot;Calibri&quot;,sans-serif"> &lt;</span><a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank"><span style="font-family:&quot;Calibri&quot;,sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span style="font-family:&quot;Calibri&quot;,sans-serif">&gt;
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 17 September 2024 12:53<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;</span><a href="mailto:cwb@sslmit.unibo.it" target="_blank"><span style="font-family:&quot;Calibri&quot;,sans-serif">cwb@sslmit.unibo.it</span></a><span style="font-family:&quot;Calibri&quot;,sans-serif">&gt;<br>
<b>Subject:</b> Re: [CWB] how to fix Base class package &quot;CWB::CEQL&quot; is empty</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
Thanks again Stephanie...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
So I have to tell apache to work with a different perl version?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
your command output: MU(meet [word=&quot;cat&quot;%c] [word=&quot;dog&quot;%c] s)<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">
 <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
<span lang="ES">El mar, 17 sept 2024 a las 13:41, Stephanie Evert (&lt;</span><a href="mailto:stefanML@collocations.de" target="_blank"><span lang="ES">stefanML@collocations.de</span></a><span lang="ES">&gt;) escribió:</span><u></u><u></u></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<p class="MsoNormal" style="margin-left:14.4pt">
<span lang="ES"><br>
<br>
</span>&gt; On 16 Sep 2024, at 22:23, Andrés Chandía &lt;<a href="mailto:andreschandiaf@gmail.com" target="_blank">andreschandiaf@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; Hi again Stephanie, I have reinstalled with CPAN, and now the message is different...<br>
&gt; Syntax error<br>
&gt; Sorry, your simple query [[[ word ]]] contains a syntax error.<br>
&gt; Parser.c: loadable library and perl binaries are mismatched (got first handshake key 0xcd00080, needed 0xf380080)<br>
<br>
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&#39;s library.<br>
<br>
I&#39;m afraid you&#39;ll have to manage to unbreak your Linux system to get things to work again.<br>
<br>
What happens if you load CWB::CEQL from the command line?<br>
<br>
        perl -e &#39;use CWB::CEQL; $parser = new CWB::CEQL; print $parser-&gt;Parse(&quot;cat &lt;&lt;s&gt;&gt; dog&quot;);&#39;<br>
<br>
&gt; Query with cqp syntax still works though...<br>
<br>
… because that doesn&#39;t call any Perl code.<br>
<br>
<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">
<br clear="all">
<br>
<span class="m_-597782380673372579m5217633966342212335m-5044846797180071721gmailsignatureprefix"><span lang="FR">--
</span></span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:4.8pt">
<span lang="FR">Andrés Chandía</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">
<span lang="FR">_______________________________________________<br>
CWB mailing list<br>
</span><a href="mailto:CWB@sslmit.unibo.it" target="_blank"><span lang="FR">CWB@sslmit.unibo.it</span></a><span lang="FR"><br>
</span><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank"><span lang="FR">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</span></a><u></u><u></u></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<br>
<span class="m_-597782380673372579gmailsignatureprefix">-- </span><u></u><u></u></p>
<div>
<p class="MsoNormal">Andrés Chandía<u></u><u></u></p>
</div>
</div>
</div>
</div>

_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Andrés Chandía</div>