[Bug 17123] New: Can't call method "raw" on an undefined value at /home/ srdjan/koha/dev/C4/Search.pm line 806.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Bug ID: 17123 Summary: Can't call method "raw" on an undefined value at /home/srdjan/koha/dev/C4/Search.pm line 806. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: srdjan@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Srdjan Jankovic <srdjan@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=11232 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Severity|enhancement |normal --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Srdjan, could you be more specific on how to reproduce it? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't call method "raw" on |Can't call method "raw" on |an undefined value at |an undefined value at |/home/srdjan/koha/dev/C4/Se |C4/Search.pm line 806 |arch.pm line 806. | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #2 from Srdjan Jankovic <srdjan@catalyst.net.nz> --- Unfortunately I cannot at the moment, it must be a combination of things introduced relatively recently to the master. I have not been playing with OPAC for a month or so, and this thing jumped on me. What I did meanwhile as well was to move zebra indexing to dom. I'll try to see what exactly is causing it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Biju Varghese <bijuvvlis@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bijuvvlis@gmail.com --- Comment #3 from Biju Varghese <bijuvvlis@gmail.com> --- Created attachment 55683 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55683&action=edit While seaching OPAC shows this error in koha 16.05.03.000 In koha version 16.05.03.000 shows this error message while searching. Error: Can't call method "raw" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 806. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #4 from Biju Varghese <bijuvvlis@gmail.com> --- Created attachment 55684 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55684&action=edit Staff interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Biju Varghese <bijuvvlis@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |oleonard@myacpl.org Component|Searching |OPAC Version|master |16.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- This error usually happens when you zebra index is not up-to-date. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 gabrielo <gbortega@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gbortega@gmail.com --- Comment #6 from gabrielo <gbortega@gmail.com> --- Hello, I have the same problem, someone has the solution, please? Thanks! GBO -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Hi Gabrielo, did you update your zebra index? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #8 from gabrielo <gbortega@gmail.com> --- Hi, Jhonathan Thanks for replying so quickly, look I take it from the zebra page, but it seems that I do not update Debian users can add the following two lines in /etc/apt/sources.list and use Debians own package management tools, apt-get, aptitude, or dselect. Replace xxxxx with jessie, wheezy, etc. As of June 2015, Debian wheezy (7) is obsolete stable. Debian jessie (8) is current stable. deb http://ftp.indexdata.dk/debian xxxxx main deb-src http://ftp.indexdata.dk/debian xxxxx main These packages are signed with a key you can install as follows: wget http://ftp.indexdata.dk/debian/indexdata.asc sudo apt-key add indexdata.asc Installed: Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #9 from gabrielo <gbortega@gmail.com> --- Hi, Jhonathan Thanks for replying so quickly, look I take it from the zebra page, but it seems that I do not update Debian users can add the following two lines in /etc/apt/sources.list and use Debians own package management tools, apt-get, aptitude, or dselect. Replace xxxxx with jessie, wheezy, etc. As of June 2015, Debian wheezy (7) is obsolete stable. Debian jessie (8) is current stable. deb http://ftp.indexdata.dk/debian jessie main deb-src http://ftp.indexdata.dk/debian jessie main These packages are signed with a key you can install as follows: wget http://ftp.indexdata.dk/debian/indexdata.asc sudo apt-key add indexdata.asc Installed: Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #10 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Gabrielo, did you fully rebuild your zebra index using the koha-rebuild-zebra command? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #11 from gabrielo <gbortega@gmail.com> --- Hi, Yes, look: sudo apt-get update sudo koha-rebuild-zebra -f -v sudo service apache2 restart But, the update is not done. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #12 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to gabrielo from comment #11)
Hi,
Yes, look:
sudo apt-get update sudo koha-rebuild-zebra -f -v sudo service apache2 restart
But, the update is not done.
sudo koha-rebuild-zebra -f -a -b -v $(koha-list) Regards -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 --- Comment #13 from gabrielo <gbortega@gmail.com> --- Did not updated...(In reply to Tomás Cohen Arazi from comment #12)
(In reply to gabrielo from comment #11)
Hi,
Yes, look:
sudo apt-get update sudo koha-rebuild-zebra -f -v sudo service apache2 restart
But, the update is not done.
sudo koha-rebuild-zebra -f -a -b -v $(koha-list)
Regards
... Does not work anyway -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 Pablo AB <pablo.bianchi@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pablo.bianchi@gmail.com --- Comment #14 from Pablo AB <pablo.bianchi@gmail.com> --- On v17.11.07. I have the same issue but just with small keywords on the query, like opac-search.pl?q=a and q=aa No changes with koha-rebuild-zebra -f -a -b -v instance, restarting services apache2 koha-common or rebooting. The referenced line (Search.pm line 813): # get the facet record from result set my $facet = $rs->record( 0 )->raw; Maybe is a timeout error/issue (2GB RAM, 1 vCPU). Happen after ~35 seconds of waiting. When searching zebrasrv (or starman worker) consume high percentages of CPU and then on plack-error.log (without any timestamp, but tested several times with tail -f): Use of uninitialized value $error in concatenation (.) or string at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 615 $template->param(query_error => $error.$@); https://github.com/Koha-Community/Koha/blob/master/opac/opac-search.pl#L615 zebra-output.log just have the eternal classic log: zebrasrv(42) [warn] ir_session (exception) zebra-error.log probably because the restarts/reboots killed by signal 15, stopping -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dcook@prosentient.com.au Resolution|--- |DUPLICATE --- Comment #15 from David Cook <dcook@prosentient.com.au> --- There's really not enough information to proceed on this one. However, Pablo's issue can be alleviated by updating zebra_connection_timeout in koha-conf.xml thanks to bug 31614 *** This bug has been marked as a duplicate of bug 31614 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org