Email and PDF view displays with out the letter head, and with out the “Quotation/Estimate header”
I checked to make sure the host_name was set in the json file, did it via the bench command as well to double check. as suggested here Wkhtmltopdf layout error.
I ran the frappe.throw(html) and copied the html to run wkhtmltopdf on it from the server and there was no errors reported.
During this I did find something interesting, in the /tmp on the server there appear to be some left over html files from before they are sent to wkhtmltopdf, but when i run wkhtmltopdf on them manually it produces a pdf that has the missing headers but not the body!?!?
Going to keep looking into this tomorrow, hopefully if I can fix it i’ll post the solution. Any advice on where to look is welcome.