-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
Description
Describe
I have a project with a report wich contains several plots (bar, histogram, scatter, but no radar plot). Since update from 4.2.0 to 4.3.1, when I open the report I got a python error about radar plot (that I don't use)
KeyError: 'y_combo_radar_label'
Traceback (most recent call last):
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\layouts\plot_layout_item.py", line 157, in draw
self.load_content()
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\layouts\plot_layout_item.py", line 223, in load_content
self.web_page.mainFrame().setHtml(self.create_plot(), base_url)
^^^^^^^^^^^^^^^^^^
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\layouts\plot_layout_item.py", line 189, in create_plot
plot_factory = PlotFactory(self.plot_settings[0], self, polygon_filter=polygon_filter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\core\plot_factory.py", line 117, in __init__
self.rebuild()
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\core\plot_factory.py", line 477, in rebuild
self.fetch_values_from_layer()
File "C:\Users/xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\core\plot_factory.py", line 167, in fetch_values_from_layer
self.settings.properties[
KeyError: 'y_combo_radar_label'
Reproduce
Steps to reproduce the behavior:
- Open project with report containing plots
- Then open the report and see the pyhton error and Qgis closing
Screenshots
none, error seems enough
Desktop (please complete the following information):
- OS: Windows 11
- QGIS release 3.40.6
- DataPlotly 4.3.1
Reactions are currently unavailable