[Bug 2037326] Re: [SRU] Alacarte requires python3-cairo, however it is not listed as a dependency
Dave Jones
2037326 at bugs.launchpad.net
Mon Dec 11 18:06:34 UTC 2023
Looks good, thanks! Sponsoring for lunar and jammy.
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2037326
Title:
[SRU] Alacarte requires python3-cairo, however it is not listed as a
dependency
Status in alacarte package in Ubuntu:
Fix Released
Status in alacarte source package in Jammy:
New
Status in alacarte source package in Lunar:
New
Status in alacarte source package in Mantic:
Fix Released
Status in alacarte package in Debian:
Fix Released
Bug description:
[ 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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/2037326/+subscriptions
More information about the Ubuntu-sponsors
mailing list