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

Loading TAK files fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.4
    • 2.0.3
    • Tags & Metadata
    • None

      Loading TAK files fails with an exception:

       

      E: 17:41:16,202 /usr/lib/python3.7/site-packages/picard/util/thread.run:51: Traceback (most recent call last):

      File "/usr/lib/python3.7/site-packages/picard/util/thread.py", line 47, in run

      result = self.func()

      File "/usr/lib/python3.7/site-packages/picard/file.py", line 117, in _load_check

      return self._load(filename)

      File "/usr/lib/python3.7/site-packages/picard/formats/apev2.py", line 61, in _load

      file = self._File(encode_filename(filename))

      File "/usr/lib/python3.7/site-packages/mutagen/file.py", line 49, in __init_

      self.load(*args, **kwargs)

      File "/usr/lib/python3.7/site-packages/mutagen/_util.py", line 140, in wrapper

      return func(self, h, *args, **kwargs)

      File "/usr/lib/python3.7/site-packages/mutagen/apev2.py", line 740, in load

      self.info = self._Info(fileobj)

      File "/usr/lib/python3.7/site-packages/picard/formats/mutagenext/tak.py", line 38, in _init_

      if len(header) != 4 or not header.startswith("tBaK"):

      TypeError: startswith first arg must be bytes or a tuple of bytes, not str

       

       

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

              Created:
              Updated:
              Resolved:

                Version Package
                2.0.4