Hi Indu, According to the error message you are seeing in the dspace.log file, the PDF you are attempting to filter may be restricted in some way (maybe it's an image based PDF? or requires a login to access it?).
This is the error message I'm looking at: "pdftotext permission failure (perhaps copying of text from this document is not allowed - check PDF file's internal permissions): file=/tmp/DSfilt6522164447453184956.pdf" Note that the XPDF filter will not be able to filter *all* PDFs. For instance, it cannot filter PDFs which are composed entirely of images (e.g. scanned documents) as it doesn't have OCR capability. In addition, it cannot filter PDFs which are access restricted (require a login) to access. Hopefully that helps, - Tim On 1/21/2011 3:46 AM, इन्दु भूषण Indu Bhushan wrote: > > Dspace 1.6.2 on linux, Dspace manual content :5.3.2. XPDF Filter > * > > Dear Sir, > > * > * > > I am doing Dspace manual *5.3.2. step for showing pdf thumbnails. After > running /dspace/bin/filter-media i got error in the process. i have > following four thing to identiy the mistake or error. i have check the > ownership of dspace and xpdf directory. I checked pdf file protection > and security.* > > * > * > > 1. error comes on screen when running /dspace/bin/filter-media > > 2. permission & ownership of jai-1_1_2_01 and jai_imageio-1_1 directory > > ** > > 3. Dspace.log file. > > ============================================================= > > * > > ** > > *error from Dspace.log file.* > > 2011-01-20 22:03:32,855 ERROR org.dspace.app.mediafilter.XPDF2Text @ PDF > conversion proc failed, returns=3, > file=/tmp/DSfilt2286069445762692966.pdf2011-01-20 22:04:14,005 ERROR > org.dspace.app.mediafilter.XPDF2Text @ pdftotext permission failure > (perhaps copying of text from this document is not allowed - check PDF > file's internal permissions): file=/tmp/DSfilt6522164447453184956.pdf > > 2011-01-20 22:04:14,009 ERROR org.dspace.app.mediafilter.XPDF2Text @ PDF > conversion proc failed, returns=3, file=/tmp/DSfilt6522164447453184956.p > > ============================================================= > > I have checked the dspace log file and ownership of jai-1_1_2_01 and > jai_imageio-1_1 directory, are following. > > [dspace@library-1 diglib]$ ls -al > > total 47488 > > drwxr-xr-x 12 dspace dspace 4096 Jan 19 00:42 . > > drwxr-xr-x 29 root root 4096 Jan 20 05:38 .. > > drwxrwxr-x 93 dspace dspace 4096 Oct 13 03:36 assetstore > > drwxr-xr-x 11 dspace dspace 4096 Oct 6 23:49 dspace > > drwxr-xr-x 3 uucp 143 4096 Sep 18 2004 jai-1_1_2_01 > > drwxrwxr-x 3 35320 wheel 4096 Oct 14 2006 jai_imageio-1_1 > > drwxr-xr-x 9 dspace dspace 4096 Oct 11 02:23 tomcat > > drwxr-xr-x 9 dspace dspace 4096 Oct 8 05:35 tomcat_6.0.29_src > > drwxr-xr-x 2 dspace dspace 4096 Oct 22 00:20 xpdf > > =========================================================================== > > ** > > *1. error comes on screen when running /dspace/bin/filter-media* > > ERROR filtering, skipping bitstream: > > > Item Handle: 123456789/1567 > > Bundle Name: ORIGINAL > > File Size: 1448893 > > Checksum: 040d12ec7e519aaca0db5ab457bdfbf1 (MD5) > > Asset Store: 0 > > java.io.IOException: Unknown failure while transforming file to preview: > no image produced. > > java.io.IOException: Unknown failure while transforming file to preview: > no image produced. > > at > org.dspace.app.mediafilter.XPDF2Thumbnail.getDestinationStream(XPDF2Thumbnail.java:274) > > at > org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:674) > > at > org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:575) > > at > org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:525) > > at > org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:493) > > at > org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:432) > > at > org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:363) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212) > > SKIPPED: bitstream 3610 (item: 123456789/1567) because '12.pdf.txt' > already exists > > Updating search index: > > ** > > ** > > ======================================================================= > > Please reply soon > > With regards > > Indu Bhushan > > RRCAT, Indore > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > > _______________________________________________ > Dspace-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-general ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Dspace-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-general
