[Koha-bugs] [Bug 8233] New search engine layer - introduce solr without breaking anything else

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 9 11:10:05 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8233

--- Comment #28 from Jonathan Druart <jonathan.druart at biblibre.com> ---
>#     Error:  Can't locate Data/SearchEngine/Zebra.pm in @INC
> Ok that's fixed (missing modules, easy fix)

Hi Chris!
How have you fixed that ?
I can't reproduce your second error:

% export PERL5LIB=/home/koha/src

% prove t/00-load.t
t/00-load.t .. 15/? Too late to run INIT block at
/home/koha/src/C4/Barcodes/hbyymmincr.pm line 41.
Too late to run INIT block at /home/koha/src/C4/External/BakerTaylor.pm line
42.

#   Failed test 'use Koha::SearchEngine::Zebra;'
#   at t/00-load.t line 46.
#     Tried to use 'Koha::SearchEngine::Zebra'.
#     Error:  Can't locate Data/SearchEngine/Zebra.pm in @INC (@INC contains:
/home/koha/src /etc/perl /usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib
[...]
/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .). at
/usr/lib/perl5/Class/MOP.pm line 135
Bailout called.  Further testing stopped:  ***** PROBLEMS LOADING FILE
'Koha::SearchEngine::Zebra'
# Tests were run but no plan was declared and done_testing() was not seen.
FAILED--Further testing stopped: ***** PROBLEMS LOADING FILE
'Koha::SearchEngine::Zebra'

I get the same error. But if I export the good path:

% git clone git://github.com/xercode/Data-SearchEngine-Zebra.git
/home/koha/Data-SearchEngine-Zebra
% export PERL5LIB="/home/koha/src:/home/koha/Data-SearchEngine-Zebra"
% prove t/00-load.t
t/00-load.t .. 1/? Too late to run INIT block at
/home/koha/src/C4/Barcodes/hbyymmincr.pm line 41.
Too late to run INIT block at /home/koha/src/C4/External/BakerTaylor.pm line
42.
t/00-load.t .. ok     
All tests successful.
Files=1, Tests=148,  1 wallclock secs ( 0.04 usr  0.00 sys +  1.00 cusr  0.06
csys =  1.10 CPU)
Result: PASS

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list