Hi Community,
While trying to print a document in erpnext I’m getting the below warning message.
How to rectify this? And because of this I’m getting error in sending mail with attachments as well.
Thanks in Advance.
Hi Community,
While trying to print a document in erpnext I’m getting the below warning message.
How to rectify this? And because of this I’m getting error in sending mail with attachments as well.
Thanks in Advance.
wkhtmltopdf --version
Run this command and check if you get output like this: wkhtmltopdf 0.12.6 (with patched qt)
. The “qt” should be present in your version output.
If “qt” is not present, then in my opinion, you have to install the correct version of wkhtmltopdf.
How to install the correct version ?
@Abai Following are the steps ::
In case of any Issue, Please let me know
After installing this version the print formats I have created are not working properly.
I’m getting the below kind of errors.
Invalid value for “CSS Level 2.1” property: flex [231:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [232:5: justify-content]
04:12:39 web.1 | WARNING Property: Unknown Property name. [233:5: align-items]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [244:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [245:5: justify-content]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [251:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [252:5: flex-direction]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [264:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [265:5: justify-content]
04:12:39 web.1 | WARNING Property: Unknown Property name. [267:5: align-items]
After installing the above version the warning popup is not showing but it leads to mis alignment in my print formats. With the below errors
Invalid value for “CSS Level 2.1” property: flex [231:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [232:5: justify-content]
04:12:39 web.1 | WARNING Property: Unknown Property name. [233:5: align-items]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [244:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [245:5: justify-content]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [251:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [252:5: flex-direction]
04:12:39 web.1 | ERROR Property: Invalid value for “CSS Level 2.1” property: flex [264:5: display]
04:12:39 web.1 | WARNING Property: Unknown Property name. [265:5: justify-content]
04:12:39 web.1 | WARNING Property: Unknown Property name. [267:5: align-items]
to your notice I’m using the below frappe and erpnext versions
ERPNext: v15.38.4 (version-15)
Frappe Framework: v15.44.2 (version-15)
Frappe Pdf: v0.0.1 (main)
It is resolved?