Skip to Content
Menu
This question has been flagged
5 Replies
7756 Views

Installed V8 on 14.04.01, when printing report it throws following message:

Unable to open document “file:///tmp/sale.report_saleorder-1.pdf”.

File type plain text document (text/plain) is not supported

Any help is very much appreciated.

Regards,

Bharat

Avatar
Discard

Document Viewer cannot open text files. Are you sure that the file sale.report_saleorder-1.pdf is not corrupted PDF file? Do other, correct PDF, in this location throw this error?

Best Answer

Hello I have installed Odoo 10 in Centos7 and wkhtmltopdf ver. 0.12.1 but when tried to print some document show xxxxxx.pdf 0 bytes.


Cant help me wiht this error


Thanks

 

Avatar
Discard
Best Answer

I have the some pb

the solution plz ???

thank you

Avatar
Discard
Best Answer

Please run this command in the terminal:

sudo update-mime-database /usr/share/mime

Let me know if it helped.

 

Avatar
Discard
Author Best Answer

Thanks for the answers and replies, got this error solved by upgrading the wkhtmltopdf version. Here is the reference link to update the wkhtmltopdf version

http://odedrabhavesh.blogspot.in/search?updated-max=2014-12-10T09:53:00-08:00&max-results=7

Regards,

Bharat

Avatar
Discard
Related Posts Replies Views Activity
5
Nov 16
5617
0
Aug 16
4120
2
Jun 16
2813
0
Dec 20
2884
16
Feb 17
45939