Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4
    • Component/s: Tags & Metadata
    • Labels:
      None

      Description

      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

       

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: