[CWB] Corpus ``XXX'' is undefined

"Andrés Chandía" andres at chandia.net
Tue Jul 17 16:33:30 CEST 2018



Yes, I did ./install-scripts/cwb-install-ubuntu
and I just did it again just in case but then when I do

Perl-CWB-3.0# perl Makefile.PL
Perl-CWB-3.0# make
Perl-CWB-3.0# make test

Problem is still there:


t/33_cqp_errors.t ...... 1/23 
#   Failed test 'negative repetition count
{-1}'
#   at t/33_cqp_errors.t line 26.
CWB::CQP: Child process #10898
terminated unexpectedly -- not safe to continue
# Looks like you planned 23 tests but ran
6.
# Looks like you failed 1 test of 6 run.
# Looks like your test exited with 255
just after 6.
    (in cleanup) Can't call method "can_read" on
an undefined value at /home/andres/Perl-CWB-3.0/blib/lib/CWB/CQP.pm line 366 during global
destruction.
t/33_cqp_errors.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 18/23 subtests 
t/34_cqp_crlf.t ........ skipped: need CWB 3.4.14 or newer for
CRLF support
t/40_ceql_parser.t ..... ok     
t/41_ceql_string.t
..... ok     
t/42_ceql_grammar.t .... ok     
t/43_ceql_benchmark.t .. 1/2 # CEQL benchmark: 44.5 ms (load), 3.37 ms (parse)
t/43_ceql_benchmark.t .. ok   
t/44_ceql_bncweb.t ..... 1/180 # 153 ms for
174 queries = 0.88 ms / query
t/44_ceql_bncweb.t .....
ok       

Test Summary Report
-------------------
t/33_cqp_errors.t    (Wstat: 65280 Tests: 6 Failed:
1)
  Failed test:  6
  Non-zero exit status: 255
  Parse
errors: Bad plan.  You planned 23 tests but ran 6.
Files=18, Tests=512,  5
wallclock secs ( 0.23 usr  0.06 sys +  3.43 cusr  0.41 csys =  4.13
CPU)
Result: FAIL
Failed 1/18 test programs. 1/512 subtests failed.
Makefile:920: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error
255





Did you re-compile cqp from source? According to my experience, this   is necessary with
every major update of perl.



_______________________

            andrés
chandía
 
Dungupeyem | IECMap | ISECMap | NMT | Corlexim

administrador de:
Parles.upf | IWCH | Amind
terapia | ONG Mapuche koyaktu | Nocando | IAC
| CddZ | ISAC |
CatCg
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180717/843b7e64/attachment.html>


More information about the CWB mailing list