Package: whipper
Version: 0.9.0-4
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

   * What led up to the situation?

For a clean install one of the first actions to perform is analize the CD/DVD
drive. This fails with an error due to a known bug.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Executing the following command will fail systematically:
-------------------------
whipper drive analyze
-------------------------

   * What was the outcome of this action?

The produced error is:

-------------------------
CRITICAL:whipper.command.main:exception TypeError at /usr/lib/python3/dist-
packages/whipper/program/cdparanoia.py:606: failed(): sequence item 0: expected
str instance, bytes found
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/whipper/common/task.py", line 89, in
_read
    self._done()
  File "/usr/lib/python3/dist-packages/whipper/common/task.py", line 107, in
_done
    self.failed()
  File "/usr/lib/python3/dist-packages/whipper/program/cdparanoia.py", line
606, in failed
    output = "".join(self._output)
TypeError: sequence item 0: expected str instance, bytes found
-------------------------

   * What outcome did you expect instead?

No error.

It's a known bug [1] and a fix is available [2]. I tested the one-line change
and it works as expected.

Due to the fact that it's an important action to perform with a very easy fix I
think it would be a good idea to back-port it.

Yours faithfully,

Age


[1] https://github.com/whipper-team/whipper/issues/431
[2] https://github.com/whipper-team/whipper/pull/434



-- System Information:
Debian Release: bullseye/sid
  APT prefers groovy-updates
  APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 
'groovy'), (100, 'groovy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-29-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages whipper depends on:
ii  cd-paranoia             10.2+2.0.0-1build1
ii  cdrdao                  1:1.2.4-1build1
ii  libc6                   2.32-0ubuntu3
ii  libsndfile1             1.0.28-8
ii  python3                 3.8.6-0ubuntu1
ii  python3-cdio            2.1.0-1build2
ii  python3-gi              3.38.0-1
ii  python3-musicbrainzngs  0.7.1-2
ii  python3-mutagen         1.45.0-1
ii  python3-requests        2.23.0+dfsg-2
ii  python3-ruamel.yaml     0.16.12-2
ii  sox                     14.4.2+git20190427-2

whipper recommends no packages.

whipper suggests no packages.

-- no debconf information

Reply via email to