[Bug 2037326] [NEW] [SRU] Alacarte requires python3-cairo, however it is not listed as a dependency

Launchpad Bug Tracker 2037326 at bugs.launchpad.net
Mon Dec 11 15:03:48 UTC 2023


You have been subscribed to a public bug by Sudip Mukherjee (sudipmuk):

[ Impact ]

 * Alacarte fails to start if python3-cairo is not already installed in
the system

[ Test Plan ]

 * A simple test plan of the package.
   - confirm that python3-cairo is not already installed in the system
   - install alacarte.
   - confirm that it has also installed python3-cairo.
   - execute alacarte and confirm that the gui shows

[ Where problems could occur ]

The change is already in Debian now and is not modifying any source code of the package.
It is only adding python3-cairo to the runtime dependency list.
So, it should not change the behaviour and has little chance of regressing the user behaviour.

[ Other Info ]

As mentioned in the Debian bug, the dependency on python3-cairo was
introduced from v3.44.2 in Debian. But this was originally introduced by
upstream at v3.42.0 as can be seen at
https://gitlab.gnome.org/GNOME/alacarte/-/blob/3.42.0/Alacarte/ItemEditor.py#L19

So, the problem exists in Jammy (3.44.1-1), Lunar (3.44.2-1) and Mantic (3.50.0-1).
Debian has fixed the issue in 3.50.0-2 which is now in Noble.

[ Original Bug Description ]

Alacarte requires python3-cairo, however it is not listed as a dependency. Using Xubuntu 23.04.
Otherwise got this error
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 23, in <module>
    from Alacarte.MainWindow import main
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 37, in <module>
    from Alacarte.ItemEditor import LauncherEditor, DirectoryEditor
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 19, in <module>
    import cairo
ModuleNotFoundError: No module named 'cairo'

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: alacarte 3.44.2-1
ProcVersionSignature: Ubuntu 6.2.0-33.33-generic 6.2.16
Uname: Linux 6.2.0-33-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Mon Sep 25 22:47:50 2023
InstallationDate: Installed on 2023-09-25 (0 days ago)
InstallationMedia: Xubuntu 23.04 "Lunar Lobster" - Release amd64 (20230414.2)
PackageArchitecture: all
SourcePackage: alacarte
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: alacarte (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: alacarte (Ubuntu Jammy)
     Importance: High
         Status: New

** Affects: alacarte (Ubuntu Lunar)
     Importance: High
         Status: New

** Affects: alacarte (Ubuntu Mantic)
     Importance: High
         Status: Fix Released

** Affects: alacarte (Debian)
     Importance: Unknown
         Status: Fix Released


** Tags: amd64 apport-bug bitesize jammy lunar mantic noble packaging patch verification-done verification-done-mantic
-- 
[SRU] Alacarte requires python3-cairo, however it is not listed as a dependency
https://bugs.launchpad.net/bugs/2037326
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list