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

Picard crashes on launch (AttributeError: 'NoneType' object has no attribute 'setPopupMode')

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.3
    • 2.2.2
    • None
    • None

      Trying to start Picard results in an unhandled exception with latest master. Did any dependencies change?

      > picard .&
      <<… full debug output: https://gist.github.com/Freso/5806add7f12cc19867302af75d894683 >>
      D: 09:43:30,429 /usr/lib/python3.7/site-packages/picard/tagger.main:913: Looking for Qt locale da_DK in /usr/share/qt/translations
      D: 09:43:30,430 /usr/lib/python3.7/site-packages/picard/tagger.main:917: Qt locale da_DK not available
      D: 09:43:30,430 /usr/lib/python3.7/site-packages/picard/browser/browser.start:69: Starting the browser integration (127.0.0.1:8000)
      Traceback (most recent call last):
        File "/usr/lib/python3.7/site-packages/picard/tagger.py", line 388, in event
          event.run()
        File "/usr/lib/python3.7/site-packages/picard/util/thread.py", line 39, in run
          self.func(*self.args, **self.kwargs)
        File "/usr/lib/python3.7/site-packages/picard/ui/mainwindow.py", line 571, in _update_cd_lookup_actions
          self.update_cd_lookup_drives(result)
        File "/usr/lib/python3.7/site-packages/picard/ui/mainwindow.py", line 587, in update_cd_lookup_drives
          self._update_cd_lookup_button()
        File "/usr/lib/python3.7/site-packages/picard/ui/mainwindow.py", line 592, in _update_cd_lookup_button
          button.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
      AttributeError: 'NoneType' object has no attribute 'setPopupMode'
      fish: 'picard .&' terminated by signal SIGABRT (Abort)
      [134] > picard --version
      MusicBrainz Picard 2.3.0.dev1
      > pacman -Qi picard-git|grep -i version
      Version                : 2.2.2.r24.g552051ae-1
      

            outsidecontext Philipp Wolfer
            freso Freso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.2.3