« Return to Thread: pdf2html conversion outputs garbage (null Blob)

Re: pdf2html conversion outputs garbage (null Blob)

by Thierry Delprat-2 :: Rate this Message:

Reply to Author | View in Thread

Can you check what part of the unit tests for PDF converter
(nuxeo-platfotm-convert) run on you box ?

Sean Radford a écrit :

> 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
>

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

 « Return to Thread: pdf2html conversion outputs garbage (null Blob)