Fails to start on 24.04 – needs python3-setuptools?

Bug #2068078 reported by Alexander Browne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
whipper (Ubuntu)
New
Undecided
Unassigned

Bug Description

Whipper fails to start on 24.04:

$ whipper
Traceback (most recent call last):
  File "/usr/bin/whipper", line 33, in <module>
    sys.exit(load_entry_point('whipper==0.10.0', 'console_scripts', 'whipper')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/whipper", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/whipper/command/main.py", line 10, in <module>
    from distutils.sysconfig import get_python_lib
ModuleNotFoundError: No module named 'distutils'

After installing `python3-setuptools` it seems to work: it prints the help message at least. I haven't tried ripping a disc.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: whipper 0.10.0-2ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 4 21:12:40 2024
InstallationDate: Installed on 2020-04-01 (1525 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200331)
SourcePackage: whipper
UpgradeStatus: Upgraded to noble on 2024-04-27 (38 days ago)

Revision history for this message
Alexander Browne (elcste) wrote :
Revision history for this message
Alexandre Detiste (alexandre-detiste) wrote :

fixed in 0.10.0-4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.