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

Crash on login if options get closed before login requests finished

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.8.0rc1
    • 2.7.3
    • User Interface
    • None

      I got this error when logging out and logging in again:

      Traceback (most recent call last):
        File "/home/phw/devel/musicbrainz/picard/./picard/webservice/__init__.py", line 572, in _process_reply
          self._handle_reply(reply, request)
        File "/home/phw/devel/musicbrainz/picard/./picard/webservice/__init__.py", line 559, in _handle_reply
          handler(document, reply, error)
        File "/home/phw/devel/musicbrainz/picard/./picard/oauth.py", line 271, in on_fetch_username_finished
          callback(successful=successful, error_msg=error_msg)
        File "/home/phw/devel/musicbrainz/picard/./picard/tagger.py", line 354, in on_mb_login_finished
          callback(successful, error_msg)
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/options/general.py", line 162, in on_login_finished
          self.update_login_logout(error_msg)
        File "/home/phw/devel/musicbrainz/picard/./picard/ui/options/general.py", line 137, in update_login_logout
          self.ui.logged_in.setText(_("Logged in as <b>%s</b>.") % config.persist["oauth_username"])
      RuntimeError: wrapped C/C++ object of type QLabel has been deleted
      

      Only happened once, can't reproduce it right now.

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

              Created:
              Updated:

                Version Package
                2.8.0rc1