[EP-tech] Creating thumbnail in 3.3.10 version

Paolo Tealdi paolo.tealdi at polito.it
Mon Sep 3 08:42:56 BST 2012


Dear all,

i noticed that indexer process seems to fail creating thumbnail for PDF 
with spaces in the filename, where "epadmin redo_thumbnail <ARCHIVE> 
--verbose <ID> " not.


indexer log (from ~/var/indexer.log)

convert: Postscript delegate failed 
`.../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf': No such file or directory @ 
error/pdf.c/ReadPDFImage/678.
convert: no images defined `JPEG:/var/tmp/37HOk_Y9Rr/lightbox.jpg' @ 
error/convert.c/ConvertImageCommand/3044.
convert: Postscript delegate failed 
`.../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf': No such file or directory @ 
error/pdf.c/ReadPDFImage/678.
convert: no images defined `JPEG:/var/tmp/n3V6kRFvBr/preview.jpg' @ 
error/convert.c/ConvertImageCommand/3044.
convert: Postscript delegate failed 
`.../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf': No such file or directory @ 
error/pdf.c/ReadPDFImage/678.
convert: no images defined `JPEG:/var/tmp/2KvRsh1eHY/medium.jpg' @ 
error/convert.c/ConvertImageCommand/3044.
convert: Postscript delegate failed 
`.../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf': No such file or directory @ 
error/pdf.c/ReadPDFImage/678.

epadmin log

eprints at giasone-clone 209 > epadmin --verbose redo_thumbnails pub 1405640

Starting EPrints Repository.
Connecting to DB ... done.
Redoing thumbnails for document 116583
/usr/local/bin/convert -strip -colorspace RGB -background white 
-thumbnail 640x480> -extract 640x480 -bordercolor white -border 0x0 
.../pub/documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf[0] JPEG:/var/tmp/UiMJk625bo/lightbox.jpg
/usr/local/bin/convert -strip -colorspace RGB -background white 
-thumbnail 400x300> -extract 400x300 -bordercolor white -border 0x0 
.../pub/documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf[0] JPEG:/var/tmp/AGeuEuUHAy/preview.jpg
/usr/local/bin/convert -strip -colorspace RGB -trim +repage -size 
200x150 -thumbnail 200x150> -background white -gravity center -extent 
200x150 -bordercolor white -border 0x0 
.../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf[0] JPEG:/var/tmp/Z3c9bLKKhX/medium.jpg
/usr/local/bin/convert -strip -colorspace RGB -background white 
-thumbnail 66x50^ -gravity center -extent 66x50 -bordercolor gray 
-border 1x1 .../documents/disk0/02/52/08/09/01/Experim. 
Fluids_Longitud.Vortices.pdf[0] JPEG:/var/tmp/8Jd81Bf_SW/small.jpg


I know that creating files with spaces is BAD ... but you should tell it 
to all my authors ... ;-)

Best regards,
Paolo Tealdi




-- 
Ing. Paolo Tealdi         Area IT - Politecnico Torino
Telefono/Phone : +39-011-0906714 , FAX : +39-011-0906799
Indirizzo/Address : C.so Duca degli Abruzzi,  24 - 10129 Torino - ITALY
Skype : tealdi.paolo
Please consider your environmental responsibility before printing this e-mail



More information about the Eprints-tech mailing list