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
    • Environment:
      Linux

      Description

      Picard 2.0.3 fails to load OptimFROG files on Linux (and likely also macOS):

       

      E: 23:10:49,685 /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 112, in _load

      self._info(metadata, file)

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

      if file.filename.lower().endswith(".ofs"):

      TypeError: endswith 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: