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

Unable to open Picard due to a TypeError getting an unexpected argument 'float'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 2.5.3
    • None
    • None
    • Void Linux 64-bit musl version

      This is the output from picard -d:

      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-splop'
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-splop'
      D: 12:07:20,248 /usr/lib/python3.10/site-packages/picard/tagger.__init__:225: Starting Picard from '/usr/lib/python3.10/site-packages/picard/tagger.py'
      D: 12:07:20,248 /usr/lib/python3.10/site-packages/picard/tagger.__init__:226: Platform: Linux-5.13.19_1-x86_64-with-libc CPython 3.10.0
      D: 12:07:20,249 /usr/lib/python3.10/site-packages/picard/tagger.__init__:228: Versions: Picard 2.5, Python 3.10.0, PyQt 5.15.4, Qt 5.15.2, Mutagen 1.45.1, Discid discid 1.2.0, libdiscid 0.6.2, astrcmp C, SSL OpenSSL 1.1.1l  24 Aug 2021
      D: 12:07:20,249 /usr/lib/python3.10/site-packages/picard/tagger.__init__:229: Configuration file path: '/home/splop/.config/MusicBrainz/Picard.ini'
      D: 12:07:20,249 /usr/lib/python3.10/site-packages/picard/tagger.__init__:231: User directory: '/home/splop/.config/MusicBrainz/Picard'
      D: 12:07:20,250 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:83: Using locale 'en_US.UTF-8'
      D: 12:07:20,250 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:85: Loading gettext translation, localedir='/usr/share/locale'
      D: 12:07:20,250 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:87: Loading gettext translation (picard-countries), localedir='/usr/share/locale'
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:92: [Errno 2] No translation file found for domain: 'picard-countries'
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:108: _ = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x7f82934a3ee0>>
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:109: N_ = <function <lambda> at 0x7f8293f9f9a0>
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:110: ngettext = <bound method NullTranslations.ngettext of <gettext.NullTranslations object at 0x7f82934a3ee0>>
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:111: gettext_countries = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x7f82934a3fd0>>
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:112: gettext_attributes = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x7f829350c100>>
      D: 12:07:20,251 /usr/lib/python3.10/site-packages/picard/i18n.setup_gettext:113: pgettext_attributes = <bound method NullTranslations.pgettext of <gettext.NullTranslations object at 0x7f829350c100>>
      D: 12:07:20,255 /usr/lib/python3.10/site-packages/picard/webservice/__init__._network_accessible_changed:292: Network accessible requested: 1, actual: 1
      D: 12:07:20,260 /usr/lib/python3.10/site-packages/picard/webservice/__init__.set_cache:315: NetworkDiskCache dir: '/home/splop/.cache/network/' current size: 20.4 MB max size: 100 MB
      D: 12:07:20,260 /usr/lib/python3.10/site-packages/picard/pluginmanager.load_plugins_from_directory:219: Looking for plugins in directory '/usr/lib/python3.10/site-packages/picard/plugins', 0 names found
      D: 12:07:20,260 /usr/lib/python3.10/site-packages/picard/pluginmanager.load_plugins_from_directory:219: Looking for plugins in directory '/home/splop/.config/MusicBrainz/Picard/plugins', 0 names found
      D: 12:07:20,261 /usr/lib/python3.10/site-packages/picard/ui/playertoolbar.__init__:91: Internal player: QtMultimedia available, initializing QMediaPlayer
      D: 12:07:20,373 /usr/lib/python3.10/site-packages/picard/ui/playertoolbar.__init__:98: Internal player: available, QMediaPlayer set up
      Traceback (most recent call last):
        File "/bin/picard", line 3, in <module>
          main('/usr/share/locale', False)
        File "/usr/lib/python3.10/site-packages/picard/tagger.py", line 969, in main
          tagger = Tagger(picard_args, unparsed_args, localedir, autoupdate)
        File "/usr/lib/python3.10/site-packages/picard/tagger.py", line 280, in __init__
          self.window = MainWindow()
        File "/usr/lib/python3.10/site-packages/picard/ui/mainwindow.py", line 152, in __init__
          self.setupUi()
        File "/usr/lib/python3.10/site-packages/picard/ui/mainwindow.py", line 189, in setupUi
          self.cover_art_box = CoverArtBox(self)
        File "/usr/lib/python3.10/site-packages/picard/ui/coverartbox.py", line 304, in __init__
          self.cover_art = CoverArtThumbnail(False, True, self.pixmap_cache, parent)
        File "/usr/lib/python3.10/site-packages/picard/ui/coverartbox.py", line 75, in __init__
          self.shadow = self.shadow.scaled(w, h, QtCore.Qt.KeepAspectRatio, QtCore.Qt.SmoothTransformation)
      TypeError: arguments did not match any overloaded call:
        scaled(self, int, int, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'
        scaled(self, QSize, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'
      

            Unassigned Unassigned
            Kratacoa Kratacoa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package