[CWB] Corpus ``XXX'' is undefined

Jörg Knappen j.knappen at mx.uni-saarland.de
Tue Jul 17 16:26:02 CEST 2018


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

--Jörg Knappen

Quoting Andrés Chandía <andres at chandia.net>:

> Thanks, same  Ubuntu server 16.04 LTS
>
> and those packages where installed, I've
> reinstalled just in case but the problem persists
>
> 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 #6484 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: 23.2 ms (load), 1.83  
> ms (parse)
> t/43_ceql_benchmark.t .. ok
> t/44_ceql_bncweb.t ..... 1/180 # 80 ms for 174 queries =
> 0.46 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.18 usr  0.10 sys +  3.00
> cusr  0.42 csys =  3.70 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
>
>
>
> What is your operating system?  When I
> installed cqp on a brand new Ubuntu server 16.04 LTS I had to    
> install the following
> supporting packages (using apt-get install ...):  libarchive-ar-perl  
> libncurses5-dev  Hope
> this helps!  --Jörg Knappen  Quoting Andrés Chandía <andres at chandia.net>:
>  > I decided to reinstall cwb but I'm getting some errors:
>> > >
> Perl-CWB-3.0# make test > .... > > 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 #29850 > 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 > > .... > .... > > 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.20 usr  0.07 sys + 
> 3.05 > cusr  0.40 csys =  3.72
> 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, 14:49,
> "Andres Chandia" > escribio: > > Hi there, I get this error, I have just
> moved cqpweb to another server > I have created the group
> cqpweb where www-data and mysql belong to,   > I have adjusted
> the > lib/config.inc.php settings to the new locations, and I
> have > > > > chmod -R www-data:cqpweb cqp
>> chown -R g+wrx cqp > > > cqp/ >
> |--data > |--registry >
>> > What else could I be
> missing...? >
>
>
>
>
> _______________________
>
>             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!





More information about the CWB mailing list