This python program in the ubuntu groovy distribution in the import statements in several of the files suffers from https://github.com/jupyter/nbviewer/issues/869

Bug #1918296 reported by Matthew Carey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-dvb-daemon (Debian)
Fix Released
Unknown
gnome-dvb-daemon (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
High
Jeremy Bícha
Kinetic
Fix Released
High
Jeremy Bícha
Lunar
Fix Released
High
Jeremy Bícha

Bug Description

Impact
------
The gnome-dvb-control app doesn't run because it needed to be updated
for Python >= 3.8.

The gnome-dvb-daemon binary packages have no reverse dependencies in Ubuntu and have a low popcon.

Test Case
---------
Install the updated packages.
Run gnome-dvb-control (or the Digital TV Control app)
The app should start and run normally.

What Could Go Wrong
-------------------
In this case, the gnome-dvb-control app doesn't run so it's not really possible to make that part worse.

The patch seems a minimal and appropriate way to fix the change in behavior for newer Python 3 versions.

It wasn't merged upstream because the upstream project has been archived since no one is really working on this app any more.

Original bug report
-------------------
/usr/bin/gnome-dvb-control

This python program in the ubuntu groovy distribution in the import statements in several of the files suffers from https://github.com/jupyter/nbviewer/issues/869

The lines that read:

from cgi import escape

Needs to be replaced by

from html import escape

affects ubuntu/groovy
affects ubunty/groovy/gnome-dvb-control

It will at least execute after that.

The affected files:
 /usr/lib/python3/dist-packages/gnomedvb/ui/widgets/ChannelsStore.py
 /usr/lib/python3/dist-packages/gnomedvb/ui/widgets/RunningNextStore.py
 /usr/lib/python3/dist-packages/gnomedvb/ui/widgets/ScheduleStore.py
 /usr/lib/python3/dist-packages/gnomedvb/ui/widgets/RecordingsStore.py

Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: gnome-dvb-client 1:0.2.91~git20170110-4build4 [modified: usr/lib/python3/dist-packages/gnomedvb/ui/widgets/ChannelsStore.py usr/lib/python3/dist-packages/gnomedvb/ui/widgets/RecordingsStore.py usr/lib/python3/dist-packages/gnomedvb/ui/widgets/RunningNextStore.py usr/lib/python3/dist-packages/gnomedvb/ui/widgets/ScheduleStore.py]
ProcVersionSignature: Ubuntu 5.8.0-44.50-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 9 14:22:00 2021
InstallationDate: Installed on 2020-11-17 (111 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
PackageArchitecture: all
SourcePackage: gnome-dvb-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthew Carey (matthewvcarey) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-dvb-daemon - 1:0.2.91~git20170110-5

---------------
gnome-dvb-daemon (1:0.2.91~git20170110-5) unstable; urgency=medium

  * Cherry-pick patch to fix compatibility with Python >= 3.8
    (Closes: #1036124, LP: #1918296)

 -- Jeremy Bícha <email address hidden> Mon, 15 May 2023 15:08:55 -0400

Changed in gnome-dvb-daemon (Ubuntu):
status: New → Fix Released
Jeremy Bícha (jbicha)
description: updated
Changed in gnome-dvb-daemon (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
Changed in gnome-dvb-daemon (Ubuntu Kinetic):
status: New → In Progress
importance: Undecided → High
Changed in gnome-dvb-daemon (Ubuntu Lunar):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jeremy Bícha (jbicha)
Changed in gnome-dvb-daemon (Ubuntu Kinetic):
assignee: nobody → Jeremy Bícha (jbicha)
Changed in gnome-dvb-daemon (Ubuntu Jammy):
assignee: nobody → Jeremy Bícha (jbicha)
Changed in gnome-dvb-daemon (Debian):
status: Unknown → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Matthew, or anyone else affected,

Accepted gnome-dvb-daemon into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-dvb-daemon/1:0.2.91~git20170110-4ubuntu0.23.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-dvb-daemon (Ubuntu Lunar):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-lunar
Changed in gnome-dvb-daemon (Ubuntu Kinetic):
status: In Progress → Fix Committed
tags: added: verification-needed-kinetic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Matthew, or anyone else affected,

Accepted gnome-dvb-daemon into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-dvb-daemon/1:0.2.91~git20170110-4ubuntu0.22.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-dvb-daemon (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Matthew, or anyone else affected,

Accepted gnome-dvb-daemon into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-dvb-daemon/1:0.2.91~git20170110-4ubuntu0.22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I successfully complete the test case

- on Ubuntu 22.04 LTS using 1:0.2.91~git20170110-4ubuntu0.22.04.1
- on Ubuntu 22.10 using 1:0.2.91~git20170110-4ubuntu0.22.10.1
- on Ubuntu 23.04 using 1:0.2.91~git20170110-4ubuntu0.23.04.1

tags: added: verification-done verification-done-jammy verification-done-kinetic verification-done-lunar
removed: verification-needed verification-needed-jammy verification-needed-kinetic verification-needed-lunar
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-dvb-daemon - 1:0.2.91~git20170110-4ubuntu0.22.04.1

---------------
gnome-dvb-daemon (1:0.2.91~git20170110-4ubuntu0.22.04.1) jammy; urgency=medium

  * Cherry-pick patch to fix compatibility with Python >= 3.8
    (Closes: #1036124, LP: #1918296)

 -- Jeremy Bícha <email address hidden> Mon, 15 May 2023 15:08:55 -0400

Changed in gnome-dvb-daemon (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for gnome-dvb-daemon has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-dvb-daemon - 1:0.2.91~git20170110-4ubuntu0.22.10.1

---------------
gnome-dvb-daemon (1:0.2.91~git20170110-4ubuntu0.22.10.1) kinetic; urgency=medium

  * Cherry-pick patch to fix compatibility with Python >= 3.8
    (Closes: #1036124, LP: #1918296)

 -- Jeremy Bícha <email address hidden> Mon, 15 May 2023 15:08:55 -0400

Changed in gnome-dvb-daemon (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-dvb-daemon - 1:0.2.91~git20170110-4ubuntu0.23.04.1

---------------
gnome-dvb-daemon (1:0.2.91~git20170110-4ubuntu0.23.04.1) lunar; urgency=medium

  * Cherry-pick patch to fix compatibility with Python >= 3.8
    (Closes: #1036124, LP: #1918296)

 -- Jeremy Bícha <email address hidden> Mon, 15 May 2023 15:08:55 -0400

Changed in gnome-dvb-daemon (Ubuntu Lunar):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.