[SRU] pychess is broken in Jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pychess (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
pychess is completely unusable as it will fail to start and will give error while trying to start the splash screen.
The error:
/usr/games/
from gi.repository import Gtk, Gdk
Failed to create splash screen
ERROR: Not all dependencies installed! You can find them in INSTALL
Namespace Gdk is already loaded with version 4.0
[ Test Plan ]
* Execute pychess, which will fail to start if its not fixed.
* With the fixed package, pychess will start and we can play a small game of chess to verify it works.
[ Where problems could occur ]
This is an upstream patch and is not changing any part of the code. Its only specifying the Gtk version that should be loaded. Since the screen is displayed with this change the chances of regression are very small.
[ Other Info ]
* It has been fixed by upstream in v1.0.1 and so later releases after Jammy are not affected.
[ Original Bug Description ]
Running from the command-line:
/usr/games/
from gi.repository import Gtk, Gdk
Failed to create splash screen
ERROR: Not all dependencies installed! You can find them in INSTALL
Namespace Gdk is already loaded with version 4.0
Really quick, just adding that line results in a situation where pychess just won't work with Python 3.9 that's installed. I tried adding Python 3.7 with deadsnakes to try that out, but their jammy repo isn't up yet.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: pychess 1.0.0-1.2
ProcVersionSign
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Jan 30 12:51:37 2022
InstallationDate: Installed on 2022-01-27 (2 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pychess
UpgradeStatus: Upgraded to jammy on 2022-01-28 (2 days ago)
Changed in pychess (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
Changed in pychess (Ubuntu): | |
status: | Confirmed → Fix Released |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Should probably pull in the latest version from here: https:/ /github. com/pychess/ pychess/ releases
python3- pychess_ 1.0.3-1_ all.deb seems to work fine.