Skip to content

Error while attempting to parse toc as utf-8 #10

@Azlinon

Description

@Azlinon

I'm getting this stack trace trying to rip Taylor Swift: Tortured Poets Department: The Anthology (disc 1) in whipper with python3-puaidio-2.1.0-14, and I didn't see anything relevant in the issues list. My understanding is that the toc is supposed to be encoded as iso-8859-1, so attempting to use utf-8 is the underlying problem. Can someone confirm if this is the correct place to address this issue?

CRITICAL:whipper.command.main:exception UnicodeDecodeError at /usr/lib64/python3.10/codecs.py:322: decode(): 'utf-8' codec can't decode byte 0x89 in position 124: invalid start byte
Traceback (most recent call last):
File "/usr/lib64/python3.10/site-packages/whipper/extern/task/task.py", line 522, in c
callable_task(*args, **kwargs)
File "/usr/lib64/python3.10/site-packages/whipper/program/cdrdao.py", line 115, in _read
self._done()
File "/usr/lib64/python3.10/site-packages/whipper/program/cdrdao.py", line 153, in _done
self.toc.parse()
File "/usr/lib64/python3.10/site-packages/whipper/image/toc.py", line 257, in parse
content = f.readlines()
File "/usr/lib64/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 124: invalid start byte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions