Sean Radford | 2 Jul 02:54

pdf2html conversion outputs garbage (null Blob)

Hi,

1 of my 5.2 boxes is not converting pdf's to html correctly.... garbage 
characters are just output to the screen in the preview frame.

I am unable to run it through the debugger, but it appears that the 
BlobHolder being passed into ConversionServiceImpl#convert(...) has a 
null Blob.

As a result PDF2HtmlConverter#getCmdBlobParameters(...) does not set 
'inFilePath' and so this is not available in 
CommandLineBasedConverter#execOnBlob(...).

Thus the commandline being run is 'pdftohtml OUTPUT_DIR', hence the 
garbage...

Any ideas what is going on?

This is happening for all PDF's (including any new ones added) - they 
all download correctly, so being stored ok.

Thanks,

Sean

--

-- 
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0) 8700 671 490
m: +44 (0) 7802 24 24 86

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm


Gmane