Bug 8423

Summary: Koha/SearchEngine/Zebra/Search.pm fails 'perl -c' test
Product: Koha Reporter: Mason James <mtj>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P5 - low CC: chris, jonathan.druart, mathsabypro
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Mason James 2012-07-12 03:17:35 UTC
and here is the error...

$ perl -c Koha/SearchEngine/Zebra/Search.pm 
Can't locate Data/SearchEngine/Zebra.pm in @INC (@INC contains: /home/mason/git/head /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 Koha/SearchEngine/Zebra/Search.pm line 5.
BEGIN failed--compilation aborted at Koha/SearchEngine/Zebra/Search.pm line 5.


a missing Data/SearchEngine/Zebra.pm file?
Comment 1 Mason James 2012-07-12 03:19:42 UTC
> 
> a missing Data/SearchEngine/Zebra.pm file?


fyi: this missing file also makes t/searchengine/000_conn/conn.t fail, too


mason@xen1:~/g/head$ prove t/searchengine/000_conn/conn.t 
t/searchengine/000_conn/conn.t .. Can't locate Data/SearchEngine/Zebra.pm in @INC (@INC contains: /home/mason/git/head /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/share/perl5/Module/Runtime.pm line 317.
 at /usr/lib/perl5/Moose.pm line 63.
Compilation failed in require at t/searchengine/000_conn/conn.t line 4.
BEGIN failed--compilation aborted at t/searchengine/000_conn/conn.t line 4.
t/searchengine/000_conn/conn.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/searchengine/000_conn/conn.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.58 cusr  0.02 csys =  0.62 CPU)
Result: FAIL
mason@xen1:~/g/head$
Comment 2 Chris Cormack 2012-07-12 05:58:14 UTC
Mason the start of the work on it is here

https://github.com/xercode/Data-SearchEngine-Zebra

It needs to be pulled into Koha proper.
Comment 3 Mathieu Saby 2013-09-23 13:39:46 UTC
Do you know if someone is still working on that?

M. Saby
Comment 4 Jonathan Druart 2015-03-31 11:35:23 UTC
Files removed by bug 12538.