That means that it is not returning anything or an empty string (''). Try doing a pdftotext on the file in the shell, and see what it returns. If that works, then let me know what versions of ExtFile and ExtDoc you have, and email me the pdf. Tim Vineet Ahuja wrote:
Dear Tim, I called the link as u said:- http://localhost:8080/demo/impdemo/vin/PrincipiaSearchSource where vin is the instance of ExtDocument. as i call the link the progress bar seems to be keep on pregressing and nothing seems to happen.It seems to stuck. Now what could be the reason for this.? Regards, Vineet Ahuja
From: Tim McLaughlin <tim@iterationzero.com> Reply-To: tim@iterationzero.com To: Vineet Ahuja <ahujavineet@hotmail.com>, zope@zope.org Subject: Re: ExtDocument problem Date: Thu, 13 Sep 2001 11:14:50 -0400
The catalog needs to be named "Catalog" not "CatalogAware" and the url is ... http://HOST/INSTANCE/PrincipiaSearchSource
where HOST=the zope server and INSTANCE=the instance of the ExtDocument including the path (ie. "/papers/research.pdf")
Tim
Vineet Ahuja wrote:
dear tim, i ahve renamed my catalog to CatalogAware but still it doesnt help. And I tried to test the method directly by:-
http://localhost:8080/extDocInstance/PrincipiaSearchSource but it says that the URl does not exist.
And your second point I can not understand.The text index in the catalog
is
called as PrincipiaSearchSource. I m using all this over WindowsNt. Kindly help as its been now 2 days that I am struggeling with the problem. Best Regards, Vineet Ahuja
From: Tim McLaughlin <tim@iterationzero.com> Reply-To: tim@iterationzero.com To: Vineet Ahuja <ahujavineet@hotmail.com>, zope@zope.org Subject: Re: ExtDocument problem Date: Thu, 13 Sep 2001 09:03:25 -0400
Vineet, Is the catalog named 'Catalog' and acquirable to the document? (this uses CatalogAware, and that's how it works) And secondly, is the Index still called 'PrincipiaSearchSource', not Principle, because that is the attribute name. You can test the functionality of the method by calling it on the ExtDocument like this...
http://SERVER_NAME/extDocInstance/PrincipiaSearchSource
and that should give you the "raw" data that will be indexed. If it's none of the above, let me know.
-- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233
Vineet Ahuja wrote:
Dear tim,
I got ur email from zope mailing list. I am trying to index pdf files using ExtDocument. But as i add a pdf file from the management screen as an
ExtDocument,it gets
added successfully but when i catalog the ExtDocument There is nothing in the principle search source. I have installed the pdftotext successfully . But i dont know as to why still I am not getting anything in the Principle SearchSource.
Please Help me !!! Best Regards, Vineet Ahuja
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- Tim McLaughlin iterationZERO - www.iterationzero.com 703.481.2233