Hi, I am trying to convert a local html file (via flask) which has external css and it results in below error:
OSError: wkhtmltopdf reported an error:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Exit with code 1 due to network error: ProtocolUnknownError
Since it is a client code, I cant paste the content of html file, the code from python file is as below:
Hi, I am trying to convert a local html file (via flask) which has external css and it results in below error:
Since it is a client code, I cant paste the content of html file, the code from python file is as below:
I am clueless what is wrong and how to debug it, need help