You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a QGIS project with 20 layouts of which one cannot be printed to PDF (but it can be printed to PNG). All layouts are very similar.
Error message is:
Exporting layout '10 Vehicle lost time zoom' Traceback (most recent call last): File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processing_provider\export_layouts_from_project.py", line 163, in processAlgorithm result = self.processor.exportCompo(cView, outputFolder, title, extension, feedback=feedback) File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processor.py", line 97, in exportCompo exportSettings = self.overrideExportSettings(cView, extension) File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processor.py", line 212, in overrideExportSettings exportSettings.exportThemes = layout.customProperty('pdfExportThemes') TypeError: str cannot be converted to a C/C++ QStringList in this context
I am using QGIS version
3.30.2-'s-Hertogenbosch
and Maps Printer version 0.9
Under Windows 10
Maps Printer Version [e.g. 0.3]
The text was updated successfully, but these errors were encountered:
Actually, not really. That specific layout had one day been exported using the default export tool and had had geopdf options enabled, with probably some map themes selected.
The fix:
You don't need/want the themes in your pdf: export that layout one more time using the standard way and when the PDF export options dialog pops up, uncheck the themes option. The new settings are saved upon exporting and will be used by maps printer then.
You want themes in your PDF: in "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processor.py", line 212, replace
I have a QGIS project with 20 layouts of which one cannot be printed to PDF (but it can be printed to PNG). All layouts are very similar.
Error message is:
Exporting layout '10 Vehicle lost time zoom' Traceback (most recent call last): File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processing_provider\export_layouts_from_project.py", line 163, in processAlgorithm result = self.processor.exportCompo(cView, outputFolder, title, extension, feedback=feedback) File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processor.py", line 97, in exportCompo exportSettings = self.overrideExportSettings(cView, extension) File "C:\Users/MAP/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MapsPrinter\processor.py", line 212, in overrideExportSettings exportSettings.exportThemes = layout.customProperty('pdfExportThemes') TypeError: str cannot be converted to a C/C++ QStringList in this context
I am using QGIS version
3.30.2-'s-Hertogenbosch
and Maps Printer version 0.9
Under Windows 10
The text was updated successfully, but these errors were encountered: