I'm running Windows Server 2003, Active Perl 220.127.116.119, & swish-e 2.4.1.
I would be interested in knowing a windows configuration (windows ver, perl
ver, & swish ver) that definitely works to index PDF and DOC files
(specifically this one
http://www.openmobilealliance.org/syncml/download/whitepaper.pdf since it
presents the same problem as the ones I am trying), maybe I can find a back
rev of perl or something that will do the trick.
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of Bill Moseley
Sent: Thursday, March 18, 2004 12:59 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: Swish-e Filtering on Win2003
On Thu, Mar 18, 2004 at 12:49:23PM -0800, Philippus, Brian wrote:
> I renamed that program to swish-filter-test.pl and ran it and it filtered
> the file just fine. So I ran it a second time, and it hung. In the task
> manager, I found pdftotext.exe running.
Ok, so my wild guess is that Perl is not closing the program correctly.
My next suggestion would be to try running pdftotext.exe via IPC::Open2
which is what Filter.pm does. That means writing a little bit of Perl
and/or copying some code from Filter.pm.
Can someone that has Windows help Brian out here? Brian, it would be
helpful if we knew what version of Windows and Perl you are running, I
In Filter.pm there's "windows_fork()" which uses IPC::Open2 to run the
program. That function should return a file handle.
It's called from "run_program()" and the file handle goes out of scope
at the end of that function which should close the pipe. Perhaps that's
not happening on Windows.
Or maybe I could be way off and instead what's happening is that
pdftotext is hanging for some other reason.
This is all just guessing, though. Debugging problems on windows is often
frustrating for me.
Received on Thu Mar 18 15:03:12 2004