幫助

0

Printing Error: Wkhtmltopdf failed (error code: 3221225477). Message: b''

Avatar
Mohamed Boss

Odoo version: 13

Operating System: Windows 10


I am getting an error in trying to print through my custom module. I am getting the error message:


Wkhtmltopdf failed (error code: 3221225477

). Message: b''



I have tried previous suggestions in the community by installing the wkhtmltopdf package and adding it to my environment variables path but still no improvement. Other posts have suggested installing the microsoftt Core Fonts packages but I dont think that applies here as I am using windows. I also tried to print reports from the sales quotations module but those come out blank


Kindly Assist

Mohamed


頭像
取消
3 答案
1
Avatar
Niyas Raphy
最佳答案

Hi,

Does the default odoo reports coming fine ? Seems the issue with the wkhtmltopdf package issue, install this packages and see.


sudo apt install ttf-mscorefonts-installer

sudo fc-cache -f -v


Thanks

2 備註
頭像
取消
Avatar
Mohamed Boss
-

I could generate the report but not able to see anything on the report that I generated. See the link: https://ibb.co/7Y7Lgvx

I am running windows 10 OS. How do I install these packages?

Avatar
Usman
-

amazing its help me alot ....

0
Avatar
Mohamed Boss
最佳答案
I was able to resolve the issue by restarting the server, uninstalling the package and restarting the machine. Im not sure which one worked but I have been able to generate the print rapport. 
頭像
取消