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

Can't open WAV files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0
    • 2.0
    • None
    • None

      Opening a WAV file currently fails with

      E: 19:05:25 Traceback (most recent call last):
      File "./picard/util/thread.py", line 46, in run
      result = self.func()
      File "./picard/file.py", line 117, in _load_check
      return self._load(filename)
      File "./picard/formats/wav.py", line 35, in _load
      f = wave.open(encode_filename(filename), "rb")
      File "/usr/lib/python3.6/wave.py", line 499, in open
      return Wave_read(f)
      File "/usr/lib/python3.6/wave.py", line 163, in _init_
      self.initfp(f)
      File "/usr/lib/python3.6/wave.py", line 128, in initfp
      self._file = Chunk(file, bigendian = 0)
      File "/usr/lib/python3.6/chunk.py", line 61, in _init_
      self.chunkname = file.read(4)
      AttributeError: 'bytes' object has no attribute 'read'

            mineo Wieland Hoffmann
            mineo Wieland Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.0