Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1726

Crash when closing options quickly before plugin list got loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.3.0rc1
    • 2.2.3, 2.3.0b1
    • User Interface
    • None

      When opening the option window and closing it quickly before the request to fetch plugin details has finished, Picard will crash with:

       

      D: 08:51:13,482 webservice._handle_reply:409: Received reply for https://picard.musicbrainz.org:443/api/v2/plugins/: HTTP 200 (OK)
      Traceback (most recent call last):
      File "./picard/webservice/_init_.py", line 441, in _process_reply
      self._handle_reply(reply, request)
      File "./picard/webservice/_init_.py", line 428, in _handle_reply
      handler(document, reply, error)
      File "./picard/pluginmanager.py", line 441, in _plugins_json_loaded
      callback()
      File "./picard/ui/options/plugins.py", line 376, in _reload
      self._remove_all()
      File "./picard/ui/options/plugins.py", line 345, in _remove_all
      for item in self.items():
      File "./picard/ui/options/plugins.py", line 248, in items
      iterator = QTreeWidgetItemIterator(self.ui.plugins, QTreeWidgetItemIterator.All)
      RuntimeError: wrapped C/C++ object of type QTreeWidget has been deleted
      zsh: abort (core dumped) ./tagger.py

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.3.0rc1