Closed rbenet71 closed 11 months ago
Hi @rbenet71 I'm afraid this is not the right place to ask for help. This repository is for building the PyQGIS docs and track related issues. You will probably be better served asking on qgis user mailing list (see support channels). Closing... Thanks for understanding.
I have a PyQGIS app, that generates a PDFs from an Atlas.
If I generate the PDF directly from QGIS all PDF generate correctly.
But If I generate the PDF with my PyQGIS app, some PDF don't generate properly (some elements do not appear) and give error "QPen::setWidthF: Setting a pen width that is out of range".
The first PDF contains all the elements, the other PDF are parts of first PDF, so the elements are missing in some PDFs are in the first.
One year ago, this app works perfect.
I have tried to change all PDF export options, but the error continues.
I make this question in Gis StackExchange, and no one give any answer:
https://gis.stackexchange.com/questions/469644/pyqgis-qgslayoutexporter-gives-error-qpensetwidthf-setting-a-pen-width-that
Here is a part of my code: