[CWB] Where to start looking for the problem?

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Apr 24 15:34:12 CEST 2022


The problem is here:

show +word + ; <--

It indicates that you have the primary annotation set to an empty string. That won't work!

Try resetting the primary annotation using the "CEQL bindings" under "Manage annotation".

best

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of "Andrés Chandía"
Sent: 23 April 2022 17:25
To: Stephanie Evert <stefanML at collocations.de>
Cc: CWBdev Mailing List <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Where to start looking for the problem?


Ok, eventhough the previous time I have changed platform in th config.mk file, something should have gone wrong...

now I did it the way you suggested:

cd cwb-3.4.33-src
make clean PLATFORM=linux-64 SITE=standard
make depend PLATFORM=linux-64

 SITE=standard
make all PLATFORM=linux-64 SITE=standard
make install PLATFORM=linux-64 SITE=standard
--------------------------------- INSTALLING CORPUS WORKBENCH
.... install the CL static library file
.... install cwb/cl.h header file
....

 install the CQP programs
.... install the CQi/cqi.h header file
.... install the CWB utility programs
.... install all manual files

and now is correct....

/usr/local/bin/cqp -v

The IMS Open Corpus Workbench (CWB)

Copyright

 (C) 1993-2006 by IMS, University of Stuttgart
Original developer: Oliver Christ
with contributions by Bruno Maximilian Schulze
Version 3.0 developed by: Stefan Evert
with contributions by Arne Fitschen

Copyright (C) 2007-today by the CWB

 open-source community
individual contributors are listed in source file AUTHORS

Download and contact: http://cwb.sourceforge.net/

Compiled: sáb 23 abr 2022 18:16:17 CEST
Version: 3.4.33


but still on the web interface, on querying

 the coca corpus I get

CQP reports an error! The CQP program sent back these error messages:

**** CQP ERROR ****

CQP Error:

CQP Syntax Error: syntax error, unexpected ';', expecting ID

show +word + ; <--

Ignoring subsequent

 input until next ';'...

PARSE ERROR
PHP debugging backtrace

array(6) {
[1]=>
array(4) {
["file"]=>
string(55) "/mnt/vmdata/corptedig-glif/cqpweb/lib/exiterror-lib.php"
["line"]=>
int(380)
["function"]=>
string(9) "exiterror"
["args"]=>
array(1)

 {
[0]=>
array(7) {
[0]=>
string(69) "CQP reports an error! The CQP program sent back these error messages:"
[1]=>
string(19) "**** CQP ERROR ****"
[2]=>
string(10) "CQP Error:"
[3]=>
string(60) "CQP Syntax Error: syntax error,

 unexpected ';', expecting ID"
[4]=>
string(18) "show +word + ; <--"
[5]=>
string(43) "Ignoring subsequent input until next ';'..."
[6]=>
string(11) "PARSE ERROR"
}
}
}
[2]=>
array(4) {
["file"]=>
string(45) "/mnt/vmdata/corptedig-glif/cqpweb/lib/cqp.php"
["line"]=>
int(1798)
["function"]=>
string(13)

 "exiterror_cqp"
["args"]=>
array(1) {
[0]=>
array(6) {
[0]=>
string(19) "**** CQP ERROR ****"
[1]=>
string(10) "CQP Error:"
[2]=>
string(60) "CQP Syntax Error: syntax error, unexpected ';', expecting ID"
[3]=>
string(18)

 "show +word + ; <--"
[4]=>
string(43) "Ignoring subsequent input until next ';'..."
[5]=>
string(11) "PARSE ERROR"
}
}
}
[3]=>
array(7) {
["file"]=>
string(45) "/mnt/vmdata/corptedig-glif/cqpweb/lib/cqp.php"
["line"]=>
int(1850)
["function"]=>
string(11)

 "shout_error"
["class"]=>
string(3) "CQP"
["object"]=>
object(CQP)#67 (21) {
["has_been_disconnected":"CQP":private]=>
bool(false)
["process":"CQP":private]=>
resource(4) of type (process)
["pipe":"CQP":private]=>
array(3) {
[0]=>
resource(1)

 of type (stream)
[1]=>
resource(2) of type (stream)
[2]=>
resource(3) of type (stream)
}
["last_registry_invoked":"CQP":private]=>
string(48) "/mnt/vmdata/corptedig-glif/corpora/cqp/registry/"
["major_version"]=>
int(3)
["minor_version"]=>
int(4)
["revision_version"]=>
int(33)
["revision_version_flagged_beta":"CQP":private]=>
bool(false)
["compile_date"]=>
NULL
["version_string"]=>
string(18)

 "CQP version 3.4.33"
["status":"CQP":private]=>
int(1)
["error_handler":"CQP":private]=>
string(13) "exiterror_cqp"
["error_message":"CQP":private]=>
array(6) {
[0]=>
string(19) "**** CQP ERROR ****"
[1]=>
string(10) "CQP Error:"
[2]=>
string(60)

 "CQP Syntax Error: syntax error, unexpected ';', expecting ID"
[3]=>
string(18) "show +word + ; <--"
[4]=>
string(43) "Ignoring subsequent input until next ';'..."
[5]=>
string(11) "PARSE ERROR"
}
["EOL":"CQP":private]=>
string(1)

 "
"
["progress_handler":"CQP":private]=>
bool(false)
["gzip_path":"CQP":private]=>
string(0) ""
["debug_mode":"CQP":private]=>
bool(false)
["unbuffered_output_pending":"CQP":private]=>
bool(false)
["pretty_suspended":"CQP":private]=>
bool(false)
["corpus_charset":"CQP":private]=>
int(0)
["last_set_corpus":"CQP":private]=>
string(4)

 "COCA"
}
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[4]=>
array(7) {
["file"]=>
string(45) "/mnt/vmdata/corptedig-glif/cqpweb/lib/cqp.php"
["line"]=>
int(1143)
["function"]=>
string(20) "check_pipe_for_error"
["class"]=>
string(3)

 "CQP"
["object"]=>
object(CQP)#67 (21) {
["has_been_disconnected":"CQP":private]=>
bool(false)
["process":"CQP":private]=>
resource(4) of type (process)
["pipe":"CQP":private]=>
array(3) {
[0]=>
resource(1) of type (stream)
[1]=>
resource(2)

 of type (stream)
[2]=>
resource(3) of type (stream)
}
["last_registry_invoked":"CQP":private]=>
string(48) "/mnt/vmdata/corptedig-glif/corpora/cqp/registry/"
["major_version"]=>
int(3)
["minor_version"]=>
int(4)
["revision_version"]=>
int(33)
["revision_version_flagged_beta":"CQP":private]=>
bool(false)
["compile_date"]=>
NULL
["version_string"]=>
string(18)

 "CQP version 3.4.33"
["status":"CQP":private]=>
int(1)
["error_handler":"CQP":private]=>
string(13) "exiterror_cqp"
["error_message":"CQP":private]=>
array(6) {
[0]=>
string(19) "**** CQP ERROR ****"
[1]=>
string(10) "CQP Error:"
[2]=>
string(60)

 "CQP Syntax Error: syntax error, unexpected ';', expecting ID"
[3]=>
string(18) "show +word + ; <--"
[4]=>
string(43) "Ignoring subsequent input until next ';'..."
[5]=>
string(11) "PARSE ERROR"
}
["EOL":"CQP":private]=>
string(1)

 "
"
["progress_handler":"CQP":private]=>
bool(false)
["gzip_path":"CQP":private]=>
string(0) ""
["debug_mode":"CQP":private]=>
bool(false)
["unbuffered_output_pending":"CQP":private]=>
bool(false)
["pretty_suspended":"CQP":private]=>
bool(false)
["corpus_charset":"CQP":private]=>
int(0)
["last_set_corpus":"CQP":private]=>
string(4)

 "COCA"
}
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[5]=>
array(7) {
["file"]=>
string(56) "/mnt/vmdata/corptedig-glif/cqpweb/lib/concordance-ui.php"
["line"]=>
int(770)
["function"]=>
string(7) "execute"
["class"]=>
string(3)

 "CQP"
["object"]=>
object(CQP)#67 (21) {
["has_been_disconnected":"CQP":private]=>
bool(false)
["process":"CQP":private]=>
resource(4) of type (process)
["pipe":"CQP":private]=>
array(3) {
[0]=>
resource(1) of type (stream)
[1]=>
resource(2)

 of type (stream)
[2]=>
resource(3) of type (stream)
}
["last_registry_invoked":"CQP":private]=>
string(48) "/mnt/vmdata/corptedig-glif/corpora/cqp/registry/"
["major_version"]=>
int(3)
["minor_version"]=>
int(4)
["revision_version"]=>
int(33)
["revision_version_flagged_beta":"CQP":private]=>
bool(false)
["compile_date"]=>
NULL
["version_string"]=>
string(18)

 "CQP version 3.4.33"
["status":"CQP":private]=>
int(1)
["error_handler":"CQP":private]=>
string(13) "exiterror_cqp"
["error_message":"CQP":private]=>
array(6) {
[0]=>
string(19) "**** CQP ERROR ****"
[1]=>
string(10) "CQP Error:"
[2]=>
string(60)

 "CQP Syntax Error: syntax error, unexpected ';', expecting ID"
[3]=>
string(18) "show +word + ; <--"
[4]=>
string(43) "Ignoring subsequent input until next ';'..."
[5]=>
string(11) "PARSE ERROR"
}
["EOL":"CQP":private]=>
string(1)

 "
"
["progress_handler":"CQP":private]=>
bool(false)
["gzip_path":"CQP":private]=>
string(0) ""
["debug_mode":"CQP":private]=>
bool(false)
["unbuffered_output_pending":"CQP":private]=>
bool(false)
["pretty_suspended":"CQP":private]=>
bool(false)
["corpus_charset":"CQP":private]=>
int(0)
["last_set_corpus":"CQP":private]=>
string(4)

 "COCA"
}
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(13) "show +word + "
}
}
[6]=>
array(4) {
["file"]=>
string(53) "/mnt/vmdata/corptedig-glif/cqpweb/exe/concordance.php"
["line"]=>
int(1)
["args"]=>
array(1)

 {
[0]=>
string(56) "/mnt/vmdata/corptedig-glif/cqpweb/lib/concordance-ui.php"
}
["function"]=>
string(7) "require"
}
}

Thanks, and sorry for all the trouble...





That's still a fairly old version, most current

 release is here: https://sourceforge.net/projects/cwb/files/cwb/cwb-3.5-RC/cwb-3.4.33-src.tar.gz/download<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcwb%2Ffiles%2Fcwb%2Fcwb-3.5-RC%2Fcwb-3.4.33-src.tar.gz%2Fdownload&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979740100%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ysFdFUClPm0khA50aN3xKV4AmCGZe%2ByR8b2tDiiUX%2B8%3D&reserved=0> Your newly compiled version was

 probably installed into /usr/local/cwb-3.4.22/bin because you failed to set PLATFORM and SITE configuration flags. Andrew Hardie recommends the auto-install script, but you can also just append PLATFORM=linux-64 SITE=standard to _every_ make command. See file

 INSTALL for detailed instructions. Links and guidance on the Web page will be update when I finally have some spare time. Best, Steph





_______________________
            andrés chandía
[chandia.net]<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.chandia.net%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979740100%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p71KO%2FUdYsy5C9jCgf4XqaEjYGaH9aXynXri2eEu3ZI%3D&reserved=0>[http://mail.chandia.net/images/ico_tw.png]<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fchandianet&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xIRjiGIAZ8xiQ7si5JS2%2FLgTbJqkeevwi8kKH0IAi6o%3D&reserved=0>
Düngupeyem<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchandia.net%2Fdungupeyem&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=q9XZl2cMQ0gaktdSX%2BeUFFvjac0TQltKGX7UzVO9Zl4%3D&reserved=0> | IECMap<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchandia.net%2Fiecmap&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UGgU9hzhKopNV29EcwDmdtFXVTlYzRGT1RlCmd%2FuuIg%3D&reserved=0> | ISECMap<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchandia.net%2Fisecmap&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FD7bByqDqfaulsK%2Fjc7wWDidBmflPhKtoKjWfM6j%2BOQ%3D&reserved=0> | NMT<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchandia.net%2Fnmt-norwirin-mapudungun-trapumwe&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=anPuCNgJi7BUJQbH60CHOhrTNF8jFO0zqER1yirbJHo%3D&reserved=0> | Corlexim<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcorlexim.cl%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0u4Amo8yK0OAIOcBUV%2BSNZbf6Mh0eBJHFUbQ6i%2Fttlk%3D&reserved=0>

Desarrollador de:
Parles.upf<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fparles.upf.edu%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bUedDB08c2Gh41gGHb6Rb9IGNhpv6l%2F0yQqYz02Wy8E%3D&reserved=0> | IWCH<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fiwch.upf.edu%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QyiroVMmnroxJm2KyRUhLwIjbfKwcY0zolT4NokucPQ%3D&reserved=0> | Amind terapia<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Famindterapia.com%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Rw8hjSlUMPiPU7ERYLeqheQdYisIhKqk72NvcMBwzVw%3D&reserved=0> | Nocando<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fparles.upf.edu%2Fllocs%2Fnocando&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=t2lYY8NZG%2Ff5HRNPfaLPVPRGxetHm%2BmuZAiW6TnaKZA%3D&reserved=0> | IAC<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fiac.upf.edu%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CY1nZ%2Fjdcm2pBHtbwpN4HS2Jhr1kYewKUZ3S1oz56HI%3D&reserved=0> | CddZ<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fiac.upf.edu%2Fcddz&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4B6up0TmwGSahtgFpgC1JqDWRq8e2LK%2BgPW4zTqgbig%3D&reserved=0> | ISAC<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fiac.upf.edu%2Fisac&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aP%2Fo1iIj6GgbVjCUbMTb1TOAh3GcxdBqwb4Ep8Kvo%2FI%3D&reserved=0> | CatCg<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcatcg.upf.edu%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cbcd56d5631214335f1bc08da2545dd70%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637863280979895708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FYn%2BXKeA%2Bx%2FRrBlt0IZKm0Ghw1w8rMVd0QFybLizlNU%3D&reserved=0>
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20220424/b3f439b9/attachment-0001.html>


More information about the CWB mailing list