[CWB] Assertion failed

Ruprecht von Waldenfels ruprecht.waldenfels at gmx.net
Tue Jan 5 19:01:47 CET 2016


ok, I found the problem. It couldn't open the actual files, because they 
had moved!
Thank you, Stefan, and sorry for spamming you all with this problem! I 
don't think this has any further relevance for anyone.
Happy New Year!
Ruprecht



Am 05.01.2016 um 09:59 schrieb Ruprecht von Waldenfels:
>
> It fails all right!
>
> perl -MCWB::CQP -e '$cqp = new CWB::CQP; 
> $cqp->set_error_handler("die"); $cqp->activate("BULGAKOVMASTER_PL")'
>
> =+===CWB::CQP ERROR=====
>  | CQP Error:
>  |     Corpus ``BULGAKOVMASTER_PL'' is undefined
> =+== occurred at -e line 1.
>     (in cleanup) Can't call method "can_read" on an undefined value at 
> /usr/local/share/perl/5.18.2/CWB/CQP.pm line 363, <GEN1> line 1 during 
> global destruction.
>
> And maybe, yes, that could of course be a rights problem.
>
>
> Am 05.01.2016 um 08:55 schrieb Stefan Evert:
>>> On 5 Jan 2016, at 15:52, Ruprecht von Waldenfels 
>>> <ruprecht.waldenfels at gmx.net> wrote:
>>>
>>>>     perl -MCWB::CQP -le 'foreach (CWB::CQP->new->exec("show 
>>>> corpora")) {print}'
>>> This lists ALL the corpora, including the one I used above.
>>>
>>> Sorry for posing such a strange problem.
>> Well, I'm stumped.  How about this command?
>>
>>     perl -MCWB::CQP -e '$cqp = new CWB::CQP; 
>> $cqp->set_error_handler("die"); $cqp->activate("BULGAKOVMASTER_PL")'
>>
>> This is where cwb-align-export fails.  If it works on the command 
>> line, but not from within cwb-align-export, I have no further ideas.  
>> Unless you've somehow managed to give the cwb-align-export script 
>> limited access permissions.
>>
>> Best,
>> Stefan
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list