Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odgovori
9060 Prikazi

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
Opusti

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
Opusti
Best Answer

I have the some pb

the solution plz ???

thank you

Avatar
Opusti
Best Answer

Please run this command in the terminal:

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

Let me know if it helped.

 

Avatar
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
5
nov. 16
6904
0
avg. 16
5143
2
jun. 16
3895
1
jun. 25
3331
2
dec. 24
4305