File "/home/ubuntu/accounting/.ancillary/lib/python3.5/site-packages/preview_generator/preview/builder/office__libreoffice.py", line 135, in convert_office_document_to_pdf
with open(output_filepath, "rb") as pdf_handle:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/accounting/reporting/static/all_jobs_document/temp/11c36bc5ce6a5f5caea03adad71391e5.pdf'
My pdf file is not generating.
I have debugged the code and found that in my ubuntu server the libreoffice path is "usr/bin/libreoffice5.1" is executable and "usr/bin/libreoffice" is not. So can you let me know how I give libreoffice5.1 path in place of "usr/bin/libreoffce" path.
File "/home/ubuntu/accounting/.ancillary/lib/python3.5/site-packages/preview_generator/preview/builder/office__libreoffice.py", line 135, in convert_office_document_to_pdf with open(output_filepath, "rb") as pdf_handle: FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/accounting/reporting/static/all_jobs_document/temp/11c36bc5ce6a5f5caea03adad71391e5.pdf'
My pdf file is not generating.
I have debugged the code and found that in my ubuntu server the libreoffice path is "usr/bin/libreoffice5.1" is executable and "usr/bin/libreoffice" is not. So can you let me know how I give libreoffice5.1 path in place of "usr/bin/libreoffce" path.