Bug#1036124: gnome-dvb-client: gnome-dvb-control fails to start with Python >= 3.8

Jeremy Bícha jeremy.bicha at canonical.com
Mon May 15 20:19:01 BST 2023


Package: gnome-dvb-client
Version: 1:0.2.91~git20170110-4
Severity: serious
Tags: buster bookworm sid patch
Forwarded: https://gitlab.gnome.org/Archive/gnome-dvb-daemon/-/merge_requests/2

$ gnome-dvb-control
Traceback (most recent call last):
  File "/usr/bin/gnome-dvb-control", line 25, in <module>
    from gnomedvb.ui.controlcenter.ControlCenterWindow import
ControlCenterWindow
  File "/usr/lib/python3/dist-packages/gnomedvb/ui/controlcenter/ControlCenterWindow.py",
line 25, in <module>
    from gnomedvb.ui.widgets.ChannelsStore import ChannelsStore
  File "/usr/lib/python3/dist-packages/gnomedvb/ui/widgets/ChannelsStore.py",
line 24, in <module>
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.11/cgi.py)

"from cgi import escape" was deprecated in Python 3.2 and no longer
works as of Python 3.8.

https://docs.python.org/3.7/library/cgi.html#cgi.escape

Thank you,
Jeremy Bícha



More information about the pkg-gnome-maintainers mailing list