You are here: Foswiki>Tasks Web>Item10202 (17 Oct 2011, MichaelDaum)Edit Attach

Item10202: StringifierContrib and KinoSearchContrib seems not to work on Windows Server

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: KinoSearchContrib, StringifierContrib
Branches:
Reported By: EnrikGuenter
Waiting For:
Last Change By: MichaelDaum
I tried to install KinoSearch to our system since it is getting to large for the normal Search and we need to be able to search inside the context of attachments as well.

So in Started with StringifierContrib. I installed the latest version of abiword for windows and included it into the system path. Seems to work. But then i wanted to test the StringifierContib as descibed here: StringifierContrib . But: How do i run pdftotext or ppthtml on windows?! I can rename it to pdftotext.exe but than i just get a "16bit application not allowed" error. Do these binarys even work on Windows 2003 Server and if so, what do i have to set for {pdftotextCmd} ?

I thought well, lets test the KinoSearch first. But it faild as well in the first step: Creating a new index. cd foswiki/tools/ ; ./kinoindex of course does not work on Windows. So i tried: cd foswiki/tools/ ; perl kinoindex

But the scrit stoped after 1 second:

OopsException(attention/invalid_form_name web=>MAIN topic=>WebHome params=>[Develoment,%<nop>BASEWEB%,ItemForm])

Do i have to use any special settings in KinsoSearchContrib for using it with Windows 2003 Server?

Foswiki is 1.1.2, all Plugins are on the latest verion. Can anyone please help us?

I post this as a task since even if it's a problem on my system i think there shoud be a short documentation both for StingifierContrib and KinoSerachContrib for using them on a Windows environment.

Kind Regards,

-- EnrikGuenter - 28 Dec 2010

pdftotextCmd is ment to be set to the path of the pdftotext executable. You will have to install a working version on your platform. Same holds for ppthtml. These are external helpers used by StringifierContrib and you will have to configure this package according to your environment.

For instance, the "16bit application not allowed" error means: you installed the wrong binary on your server.

Besides, my best advice for you is: don't run this all on a windows machine. A Linux machine will give you a better return of investment.

-- MichaelDaum - 29 Dec 2010

Maybe a bit too late, but for other Windows users who want to search for pdf-files: I used xpdf3.exe for Windows (downloaded from: http://www.compgeom.com/~piyush/scripts/scripts.html). Installed it in a submap from the Tools-map in Foswiki, called "xpdf". Then in Configure --> Extensions --> StringifierContrib typed the path to pdftotextCmd which is: ../tools/xpdf/pdftotext. Of course you need to have all CPAN modules installed that are not automatically installed with StringifierContrib (see dependencies report after installing StringifierContrib). Hope this helps.

-- RaymondWesterik - 26 July 2011

Okay so I guess this issue has been settled in your specific setup, Raymond? Please feel free to reopen this issue if there's anything left to be fixed in StringifierContrib. Thanks.

-- MichaelDaum - 17 Oct 2011
 

ItemTemplate edit

Summary StringifierContrib and KinoSearchContrib seems not to work on Windows Server
ReportedBy EnrikGuenter
Codebase 1.1.2
SVN Range
AppliesTo Extension
Component KinoSearchContrib, StringifierContrib
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 17 Oct 2011, MichaelDaum
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