[CWB] Corpus ``XXX'' is undefined

Jörg Knappen j.knappen at mx.uni-saarland.de
Tue Jul 17 15:32:18 CEST 2018


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, "Andrés Chandía"
> escribió:
>
> 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!
>
>
> _______________________
>
>             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