Could not load pdf content

Dear team,
I have setup alfresco 5.2 and libreoffice setup in Ubuntu 18 LTS. i have install libreoffice in ubuntu .
but when i open .dwg format document is showing Could not load pdf content error.
can u please suggest on this issue

DWG (AutoCAD drawing binary format) is not among the file types that LibreOffice can open. It only has a DXF (interchange) file format support (and I am not sure if binary DXF is supported or not).

Dear Mike,

I have already set up this configuration on windows its working.but when i set this on Ubuntu its not working.

Working what? Opening DWGs in LibreOffice?

yes…
we are using alfresco communtiy edition 5.2 and in that we have using libreoffice for pdf content.
we have convert .dwg file content to .pdf and then previewing the document.

… so in your configuration, LibreOffice actually tries to open some PDF (not DWG, which was a red herring after all)? Then which PDF it is exactly; which command line is executed? I suppose that that could be a fault of alfresco - but that needs some information… you didn’t tell anything about the actual problem (which would be “A third-party application (it doesn’t matter which actually) prepares this PDF (here a link to actual sample goes), which is opened by LibreOffice version X on Windows just fine, but fails to be opened by LibreOffice version Y on Ubuntu”, or “a file X is on a network share is tried to be open on Ubuntu using this command line, but fails (because of wrong path specification/bug in LO to handle such path on Linux?)…”).

Please don’t use Answers to clarify your questions. Answers are to suggest a solution, not to clarify/reply. Edit your question instead.

Hi,
I have used QCAD integration with alfresco,
for that we have instaaled plug-plugins,

… and…? As I said, it is unrelated information which application and how is used in your infra; what is important is to provide actual LibreOffice-related information. You need to check the generated PDF on your LibreOffice without any alfresco; check if it opens fine or if it gives you the same error you have when use alfresco - that would mean that the problem is related to something in the file that is handled OK on Windows, but not on Linux - and then it’s enough to file a bug and provide the file as a test sample; if the file is opened OK on Linux, then it must be something in the way it is called - possibly some problem in command line, or in accessing network, or … - and then you need to investigate further, to find what actually fails, and then file a bug report with the explanation that doesn’t require one to have an alfresco, let alone setup like you have it, and using some plugins etc.