[Bug 1987073] [NEW] [SRU] Failure to start on 22.04

Launchpad Bug Tracker 1987073 at bugs.launchpad.net
Sun Jan 28 13:57:42 UTC 2024


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

[ Impact ]

linux-show-player is completely unusable as it will fail with the below
error whenever any user tries to run "linux-show-player":

Traceback (most recent call last):
  File "/usr/bin/linux-show-player", line 3, in <module>
    from lisp.main import main
  File "/usr/lib/python3/dist-packages/lisp/main.py", line 30, in <module>
    from lisp import modules
  File "/usr/lib/python3/dist-packages/lisp/modules/__init__.py", line 23, in <module>
    from lisp.ui import elogging
  File "/usr/lib/python3/dist-packages/lisp/ui/elogging.py", line 28, in <module>
    from lisp.ui.widgets import QDetailedMessageBox
  File "/usr/lib/python3/dist-packages/lisp/ui/widgets/__init__.py", line 1, in <module>
    from .cueaction_combobox import CueActionComboBox
  File "/usr/lib/python3/dist-packages/lisp/ui/widgets/cueaction_combobox.py", line 25, in <module>
    from lisp.cues.cue import Cue, CueAction
  File "/usr/lib/python3/dist-packages/lisp/cues/cue.py", line 25, in <module>
    from lisp.core.fade_functions import FadeInType, FadeOutType
  File "/usr/lib/python3/dist-packages/lisp/core/fade_functions.py", line 32, in <module>
    from lisp.core.util import FunctionProxy
  File "/usr/lib/python3/dist-packages/lisp/core/util.py", line 22, in <module>
    from collections import Mapping

As mentioned in the original bug report, this has been caused by Python3.10.
    
[ Test Plan ]

* Execute "linux-show-player"
* if its not fixed then it will fail as the error above
* With fixed package the "linux-show-player" window will be displayed.

[ Where problems could occur ]

This is an upstream patch which only changes the code to import the
correct module and use integer-float properly. The only major change in
the code is to call QRectF() instead of QRect() but QRectF() is
basically same as QRect() with floating point precision. So, imho, there
should not be any regression. Also, currently its completely unusable,
there can not be a bigger regression than that.

[ Other Info ]

It has been fixed in upstream release 0.5.3 and so Mantic and Noble are
not affected.

[ Original Bug Description ]

[Impact]

 * It is currently not possible to run the repository-provided version
(0.5.2) of `linux-show-player` upon Ubuntu 22.04. This is caused by
Ubuntu 22.04 using python 3.10, which contains some changes that breaks
`linux-show-player`.

 * Linux Mint 21 has relatively recently (2022-07-31) been released,
which (re)uses the Ubuntu 22.04 repositories, and as such suffers from
the same issue.

 * Pop! OS 22.04 also (re)uses the Ubuntu 22.04 repositories, and as
such suffers from the same issue.

 * Upstream bug reports (and backtraces) can be found at:

   - https://github.com/FrancescoCeruti/linux-show-player/issues/238
   - https://github.com/FrancescoCeruti/linux-show-player/issues/245
   - https://github.com/FrancescoCeruti/linux-show-player/issues/250
   - https://github.com/FrancescoCeruti/linux-show-player/issues/261
   - https://github.com/FrancescoCeruti/linux-show-player/issues/296
   - On the project's chat/discussion stream: https://gitter.im/linux-show-player/linux-show-player?at=62e657e97ccf6b6d459fc8b8

 * There exists a newer release of `linux-show-player` (0.5.3) which
contains within it a fix for this issue (corrected imports and better
differentiation of integer/float values).

 * Users have reported that the newer release works for them, when they
install it manually.

 * The newer release is currently packaged and available in the
repositories of the fledgling Ubuntu 22.10 release-to-be. (As well as
the repositories of Debian 12 and Unstable.)

[Test Plan]

 * Install package from repository;

 * Attempt to run the program from the Launcher;

 * Note that it does not start, or rather: it does but crashes;

 * Attempt to run the program via a terminal [emulator]: `$ linux-show-
player`;

 * Note the errors (or lack thereof with the newer release);

[Where problems could occur]

 * There are other changes contained in the gap between 0.5.2 and 0.5.3
beyond the fix for Python 3.10. That said, the other changes can be
summarised as being mostly documentation and CI improvements, along with
a branding update and a new translation. A full changeset may be found
here: https://github.com/FrancescoCeruti/linux-show-
player/compare/v0.5.2...v0.5.3

 * The changes required to get `linux-show-player` to work on python
3.10 are compatible with earlier versions of python 3.x, so there
shouldn't be a problem if a user prefers to use an earlier version of
python. (The project doesn't support python 2.x, and as such is not
expected to run under that.)

[Other info]

 * Note that I myself do not use Ubuntu or a Ubuntu-derived distro: I am
a contributor to the linux-show-player project who is filing this on
behalf of our users who use Ubuntu 22.04 and Linux Mint 21. I am hoping
that this is a simple case of backporting the package from 22.10 to
22.04, but lack the resources to test this.

** Affects: linux-show-player (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: linux-show-player (Ubuntu Jammy)
     Importance: Undecided
         Status: Confirmed


** Tags: jammy
-- 
[SRU] Failure to start on 22.04
https://bugs.launchpad.net/bugs/1987073
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