You are here: Foswiki>Tasks Web>Item10493 (17 Mar 2011, GeorgeClark)Edit Attach

Item10493: NativeSearchContrib dies on trunk

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: NativeSearchContrib, SEARCH
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Didn't test on 1.1.2 or earlier.

         Could not perform search. Error was: Undefined subroutine &Foswiki::Search::InfoCache::_getListOfWebs called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/SearchAlgorithms/Native.pm line 44.
 at /var/www/foswiki/trunk/core/lib/Foswiki/Store/SearchAlgorithms/Native.pm line 44
   Foswiki::Store::SearchAlgorithms::Native::query('Foswiki::Search::Node=HASH(0x8cb4918)', undef, 'Foswiki=HASH(0x852c658)', 'HASH(0x896aa10)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Store/VC/Store.pm line 508
   Foswiki::Store::VC::Store::query('Foswiki::Store::RcsWrap=HASH(0x8569150)', 'Foswiki::Search::Node=HASH(0x8cb4918)', undef, 'Foswiki=HASH(0x852c658)', 'HASH(0x896aa10)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 874
   Foswiki::Meta::query('Foswiki::Search::Node=HASH(0x8cb4918)', undef, 'HASH(0x896aa10)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Search.pm line 350
   Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x8889778)', 'search', '.*', 'basetopic', 'WebHome', 'reverse', 'on', '_RAW', ' ".*" regex="on" nosearch="on" nototal="on" order="modified" ...', ...) called at /var/www/foswiki/trunk/core/lib/Foswiki/Macros/SEARCH.pm line 32
   Foswiki::__ANON__() called at /usr/lib/perl5/vendor_perl/5.12.2/Error.pm line 415
   eval {...} called at /usr/lib/perl5/vendor_perl/5.12.2/Error.pm line 407
   Error::subs::try('CODE(0x8c9bdb8)', 'HASH(0x8c9c7a8)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Macros/SEARCH.pm line 41
   Foswiki::SEARCH('Foswiki=HASH(0x852c658)', 'Foswiki::Attrs=HASH(0x8c887d8)', 'Foswiki::Meta=HASH(0x89cde48)') called at /var/www/foswiki/trunk/core/lib/Foswiki.pm line 3038
   Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x852c658)', 'SEARCH', ' ".*" regex="on" nosearch="on" nototal="on" order="modified" ...', 'Foswiki::Meta=HASH(0x89cde48)') called at /var/www/foswiki/trunk/core/lib/Foswiki.pm line 2917
   Foswiki::_processMacros('Foswiki=HASH(0x852c658)', '---+!! %MAKETEXT{"Welcome to the [_1] web" args="%WEB%"}...', 'CODE(0x84ce6e8)', 'Foswiki::Meta=HASH(0x89cde48)', 16) called at /var/www/foswiki/trunk/core/lib/Foswiki.pm line 2714
   Foswiki::innerExpandMacros('Foswiki=HASH(0x852c658)', 'SCALAR(0x8a42d90)', 'Foswiki::Meta=HASH(0x89cde48)') called at /var/www/foswiki/trunk/core/lib/Foswiki.pm line 3215
   Foswiki::expandMacros('Foswiki=HASH(0x852c658)', '---+!! %MAKETEXT{"Welcome to the [_1] web" args="%WEB%"}...', 'Foswiki::Meta=HASH(0x89cde48)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Meta.pm line 3183
   Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x89cde48)', '---+!! %MAKETEXT{"Welcome to the [_1] web" args="%WEB%"}...') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/View.pm line 406
   Foswiki::UI::View::_prepare('---+!! %MAKETEXT{"Welcome to the [_1] web" args="%WEB%"}...', 'Foswiki::Meta=HASH(0x89cde48)', 0) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI/View.pm line 386
   Foswiki::UI::View::view('Foswiki=HASH(0x852c658)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/lib/perl5/vendor_perl/5.12.2/Error.pm line 415
   eval {...} called at /usr/lib/perl5/vendor_perl/5.12.2/Error.pm line 407
   Error::subs::try('CODE(0x804e2d8)', 'HASH(0x852c378)') called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x8503ea0)', 'CODE(0x8506c50)', 'view', 1) called at /var/www/foswiki/trunk/core/lib/Foswiki/UI.pm line 277
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x8503ea0)') called at /var/www/foswiki/trunk/core/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x822fad0)') called at view line 29.

-- GeorgeClark - 16 Mar 2011

It was borken on trunk, sure, but not on Release01x01 AFAICT. Anyway, it works on both now.

-- CrawfordCurrie - 16 Mar 2011

Tailgating one more small fix on this. Native.pm has the same runaway greedy regex as Forking search fixed on Item10491

-- GeorgeClark - 17 Mar 2011

 
Topic revision: r4 - 17 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy