mypaint 2.0 fails to start - missing python module 'distutils.spawn'

Bug #1870353 reported by Rik Mills
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mypaint (Ubuntu)
Fix Released
High
Rik Mills

Bug Description

In focal, mypaint 2.0 fails to start with:

Traceback (most recent call last):
  File "/usr/bin/mypaint", line 310, in <module>
    main.main(
  File "/usr/lib/mypaint/gui/main.py", line 225, in main
    run()
  File "/usr/lib/mypaint/gui/main.py", line 186, in run
    from gui import application
  File "/usr/lib/mypaint/gui/application.py", line 97, in <module>
    import gui.profiling
  File "/usr/lib/mypaint/gui/profiling.py", line 22, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

This can be fixed by installing the python3-distutils package.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mypaint 2.0.0-1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Apr 2 14:43:42 2020
InstallationDate: Installed on 2019-12-24 (100 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191224)
SourcePackage: mypaint
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rik Mills (rikmills) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mypaint (Ubuntu):
status: New → Confirmed
Thomas Ward (teward)
Changed in mypaint (Ubuntu):
assignee: nobody → Thomas Ward (teward)
status: Confirmed → In Progress
importance: Undecided → High
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Ubuntu desktop 20.04 development branch up to date to latest @ 2/4/2020

After install and launching mypaint, a crash report window jumps open
(see screenshot attached)

Revision history for this message
Thomas Ward (teward) wrote :

This is directly related to the lack of a dep on `python3-distutils`. Working on a fix now.

Revision history for this message
Thomas Ward (teward) wrote :

My system is borken (rebuilding my Focal dev env again >.>) - RikMills if you can upload that'd be great.

Changed in mypaint (Ubuntu):
assignee: Thomas Ward (teward) → Rik Mills (rikmills)
Revision history for this message
Rik Mills (rikmills) wrote :

Uploaded, and in waiting in the unapproved queue.

Changed in mypaint (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mypaint - 2.0.0-1ubuntu1

---------------
mypaint (2.0.0-1ubuntu1) focal; urgency=medium

  * debian/control: Add dependency on python3-distutils. Fixes crash
    on application start. (LP: #1870353)

 -- Rik Mills <email address hidden> Thu, 02 Apr 2020 14:15:52 +0000

Changed in mypaint (Ubuntu):
status: Fix Committed → Fix Released
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.