Skip to content

error when selecting features after closing dockwidget #412

Description

@eithanwes

after closing the widget and then selecting features in the layer an error is raised. possibly because of signal not disconnecting?

2026-03-18T17:40:01     WARNING    Traceback (most recent call last):
              File "C:\Users/USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\gui\plot_settings_widget.py", line 1500, in refresh_plot
              self.refreshPlotView()
              File "C:\Users/USER/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\gui\plot_settings_widget.py", line 1583, in refreshPlotView
              self.plot_view.load(self.plot_url)
             RuntimeError: wrapped C/C++ object of type QWebView has been deleted
             

To Reproduce
Steps to reproduce the behavior:

  1. create plot using 'use only selected features'
  2. close the dockwidget (i used remove a dock)
  3. select features in the layer used for the plot
  4. see python error

Desktop:

  • OS: windows
  • QGIS release QGIS 3.44.8
  • DataPlotly release 4.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions