[Bug 1959523] Re: [SRU] pychess is broken in Jammy

Julian Andres Klode 1959523 at bugs.launchpad.net
Thu Feb 15 10:44:31 UTC 2024


Sponsored, thank you

** Changed in: pychess (Ubuntu Jammy)
       Status: Confirmed => In Progress

-- 
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/1959523

Title:
  [SRU] pychess is broken in Jammy

Status in pychess package in Ubuntu:
  Fix Released
Status in pychess source package in Jammy:
  In Progress

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/pychess:17: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
    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/pychess:17: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
    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
  ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
  Uname: Linux 5.15.0-18-generic x86_64
  ApportVersion: 2.20.11-0ubuntu76
  Architecture: amd64
  CasperMD5CheckResult: pass
  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)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pychess
  UpgradeStatus: Upgraded to jammy on 2022-01-28 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pychess/+bug/1959523/+subscriptions




More information about the Ubuntu-sponsors mailing list