These are the logs recorded when I click the button from the client side to render the pdf.
The call doesn’t even go to the target form’s init method. It crashes before.
[ERROR anvil.app-server.run] Error report from client code:
JSONDecodeError: PDF generation failed: Expecting value: line 1 column 1 (char 0)
Traceback:
/home/ubuntu/.local/lib/python3.8/site-packages/anvil_downlink_worker/anvil/pdf.py:17
/home/ubuntu/.local/lib/python3.8/site-packages/anvil_downlink_worker/anvil/pdf.py:59
/home/ubuntu/Gravital_CPQ/server_code/server_main.py:90
app/Gravital_CPQ/Test/__init__.py:157
[DEBUG anvil.app-server.run] [CLIENT] Handling Error: PDF generation failed: Expecting value: line 1 column 1 (char 0)
Raising Error: PDF generation failed: Expecting value: line 1 column 1 (char 0)
My guess is either anvil-app-server module or chrome is causing this. The problem is I don’t know exactly which combination of those versions would work! If you can provide some insight, It’d be a great help!
Is there any news on this? We’re unable to upgrade our production environment due to this issue/bug. Is there any way that we can help to get it resolved as it has been 2 months.