Skip Menu |

This queue is for tickets about the KinoSearch CPAN distribution.

Report information
The Basics
Id: 17833
Status: resolved
Priority: 0/
Queue: KinoSearch

People
Owner: CREAMYG [...] cpan.org
Requestors: javacocoon [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Getting Can't call method "finish" on an undefined value on InvIndexer.pm
Trying to run the 'Tutorial' indexing code as it is.. getting the following ------------ Can't call method "finish" on an undefined value at /usr/local/lib/perl/5.8.4/KinoSearch/InvIndexer.pm line 181. ------------- Perl: 5.8.4 Debian platform
Hello, I have been unable to duplicate this bug. Here's the string of commands I ran... $ tar -xzf KinoSearch-0.05.tar.gz $ cd KinoSearch-0.05 $ perl Build.PL $ ./Build $ ./Build test $ cp lib/KinoSearch/Docs/Tutorial.pod invindexer.plx $ vim invindexer.plx $ perl -Mblib invindexer.plx When I edited invindexer.plx, I isolated the invindexer.plx code, removed the first four spaces from each line, changed $source_dir and $path_to_invindex, then removed the -T from the shebang line so that I could run -Mblib without triggering an "insecure dependency" exception. Following that routine, everything works as expected. Please help me to duplicate your error and I will do my best to fix it. Thanks, Marvin Humphrey
Subject: Re: [rt.cpan.org #17833] Getting Can't call method "finish" on an undefined value on InvIndexer.pm
Date: Thu, 23 Feb 2006 18:13:21 -0500
To: bug-KinoSearch [...] rt.cpan.org
From: "java cocoon" <javacocoon [...] gmail.com>
Hi Marvin - Thanks for your time. Here is what I did 1. Copy invindexer.plx into a user folder 2. crate two sub folders html and tmp 3. Modify the invindexer.plx to the following effect my $source_dir = 'html/'; my $path_to_invindex = 'tmp/'; my $base_url = '/us_constitution'; 4. chmod +x the plx 5. create a index.html file in html/ folder <html> <title>Testing</title> <body> Jack Testing </body> </html> 7. run the plx and got error ./invindexer.plx Can't call method "finish" on an undefined value at /usr/local/lib/perl/5.8.4/KinoSearch/InvIndexer.pm line 181. I checked the InvIndexer.pm code and couldnt see why it would happen. Thanks srini On 2/23/06, via RT <bug-KinoSearch@rt.cpan.org> wrote: Show quoted text
> Hello, > > I have been unable to duplicate this bug. Here's the string of commands > I ran... > > $ tar -xzf KinoSearch-0.05.tar.gz > $ cd KinoSearch-0.05 > $ perl Build.PL > $ ./Build > $ ./Build test > $ cp lib/KinoSearch/Docs/Tutorial.pod invindexer.plx > $ vim invindexer.plx > $ perl -Mblib invindexer.plx > > When I edited invindexer.plx, I isolated the invindexer.plx code, > removed the first four spaces from each line, changed $source_dir and > $path_to_invindex, then removed the -T from the shebang line so that I > could run -Mblib without triggering an "insecure dependency" exception. > > Following that routine, everything works as expected. Please help me to > duplicate your error and I will do my best to fix it. > > Thanks, > > Marvin Humphrey >
Subject: Re: [rt.cpan.org #17833] Getting Can't call method "finish" on an undefined value on InvIndexer.pm
Date: Thu, 23 Feb 2006 16:04:11 -0800
To: bug-KinoSearch [...] rt.cpan.org
From: Marvin Humphrey <marvin [...] rectangular.com>
In your particular case, index.html is not getting picked up because invindexer.plx is specifically set up to ignore a file with that name, so no docs are being added (remove the "next if" line to fix the problem). KinoSearch isn't set up yet to handle that situation yet, and is producing a misleading error message. I'll add code in the next release so that InvIndexer just writes an empty invindex without complaint if you don't ever add_doc. Marvin Humphrey
Subject: Re: [rt.cpan.org #17833] Getting Can't call method "finish" on an undefined value on InvIndexer.pm
Date: Thu, 23 Feb 2006 21:15:49 -0500
To: bug-KinoSearch [...] rt.cpan.org
From: "java cocoon" <javacocoon [...] gmail.com>
Hi Marvin - Thanks for the explanation. Makes sense. I am planning to use this on a large, mostly html files based site. I understand about the disclaimers. Couple of questions 1. Are you aware of any security tests done on this module ? 2. Any performance stats ? Appreciate your opinion. Thanks srini On 2/23/06, marvin@rectangular.com via RT <bug-KinoSearch@rt.cpan.org> wrote: Show quoted text
> In your particular case, index.html is not getting picked up because > invindexer.plx is specifically set up to ignore a file with that > name, so no docs are being added (remove the "next if" line to fix > the problem). KinoSearch isn't set up yet to handle that situation > yet, and is producing a misleading error message. I'll add code in > the next release so that InvIndexer just writes an empty invindex > without complaint if you don't ever add_doc. > > Marvin Humphrey > >
Subject: Re: [rt.cpan.org #17833] Getting Can't call method "finish" on an undefined value on InvIndexer.pm
Date: Thu, 23 Feb 2006 22:29:39 -0800
To: "javacocoon [...] gmail.com via RT" <bug-KinoSearch [...] rt.cpan.org>
From: Marvin Humphrey <marvin [...] rectangular.com>
Greets, This is a form letter I copy and paste into replies when I receive emails regarding KinoSearch that I think might be appropriate for the public mailing list. I get a lot of private correspondence regarding my multiple CPAN distributions: bug reports, design suggestions, feature requests, support requests, full blown patches, replies accidentally sent to me rather than the list (did you hit "reply" or "reply all"?), even thank you notes. :) In most cases, it is better that KinoSearch- related discussions take place in a public forum. * More brains available for storming. * Other people may benefit from seeing what you wrote. * A public archive is created. I don't hesitate to send this letter out, even when I have previously communicated with the recipient. I ask you to understand that although I appear to write fairly well, it's a slow and laborious process -- I'm a lousy writer but a decent editor, and I get acceptable results only by refining multiple drafts, even with email. Since I invest so much energy in each piece of written correspondence, I need to maximize the return on my investment, which is why I aggressively shunt as much traffic as I can onto the public lists, and also why I don't personalize this form letter. :) If you're not already subscribed, information regarding the KinoSearch mailing list can be found at <http://www.rectangular.com/ mailman/listinfo/kinosearch/>. Thanks for writing, Marvin Humphrey Rectangular Research http://www.rectangular.com/ On Feb 23, 2006, at 6:16 PM, javacocoon@gmail.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=17833 > > > Hi Marvin - > Thanks for the explanation. Makes sense. > > I am planning to use this on a large, mostly html files based site. > I understand about the disclaimers. Couple of questions > > 1. Are you aware of any security tests done on this module ? > 2. Any performance stats ? > > Appreciate your opinion. > > Thanks > srini > > > On 2/23/06, marvin@rectangular.com via RT <bug- > KinoSearch@rt.cpan.org> wrote:
>> In your particular case, index.html is not getting picked up because >> invindexer.plx is specifically set up to ignore a file with that >> name, so no docs are being added (remove the "next if" line to fix >> the problem). KinoSearch isn't set up yet to handle that situation >> yet, and is producing a misleading error message. I'll add code in >> the next release so that InvIndexer just writes an empty invindex >> without complaint if you don't ever add_doc. >> >> Marvin Humphrey >> >>
> >