[CWB] Corpus ``XXX'' is undefined

"Andrés Chandía" andres at chandia.net
Tue Jul 17 18:19:59 CEST 2018



Ok, I fixed


I did install the cutting edge version,  then I copied /usr/local/cwb-3.4.14/bin/*
to  /usr/local/bin/
and voilà!


that did it!




El Mar, 17 de Julio de 2018, 18:08, "Andrés Chandía"
escribió:
 
I decided to go to the cutting-edge version, but the problem remains the same.....


CWB# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl"
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
*Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ............ ok   
t/10_cwb_tools.t ....... ok     
t/11_cwb_file.t
........ ok     
t/12_cwb_tempfile.t .... ok   
t/13_cwb_shell.t ....... ok   
t/14_cwb_registry.t .... ok     
t/20_encode_vss.t ...... 1/6 # VSS corpus encoded in
0.6 seconds
t/20_encode_vss.t ...... ok   
t/21_encode_crlf.t ..... skipped: need
CWB 3.4.14 or newer for CRLF support
t/30_cqp_basic.t ....... ok     
t/31_cqp_queries.t ..... ok     
t/32_cqp_recode.t ...... ok     
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 #28355 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/cwb-perl/CWB/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: 45.6 ms
(load), 3.17 ms (parse)
t/43_ceql_benchmark.t .. ok   
t/44_ceql_bncweb.t .....
1/180 # 89 ms for 174 queries = 0.51 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,  4 wallclock secs
( 0.25 usr  0.05 sys +  3.31 cusr  0.48 csys =  4.09 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






El Mar, 17 de Julio de 2018, 16:33, "Andrés Chandía"
escribió:

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!  


_______________________
             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!  


_______________________

            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/06b826d7/attachment.html>


More information about the CWB mailing list