Bug 2308168 - GTK gui doesn't launch with python 3.13
Summary: GTK gui doesn't launch with python 3.13
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: deluge
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-08-27 14:24 UTC by Mamoru TASAKA
Modified: 2024-09-13 20:55 UTC (History)
1 user (show)

Fixed In Version: deluge-2.1.1-10.fc41
Clone Of:
Environment:
Last Closed: 2024-09-13 20:55:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mamoru TASAKA 2024-08-27 14:24:17 UTC
Fedora 41 has python 3.13.0 rc1 now, and deluge GTK GUI does not launch at all like:

$ deluge-gtk
[tasaka1@localhost ~]$ deluge-gtk 

Traceback (most recent call last):
  File "/usr/bin/deluge-gtk", line 33, in <module>
    sys.exit(load_entry_point('deluge==2.1.1', 'gui_scripts', 'deluge-gtk')())
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/__init__.py", line 64, in start
    Gtk().start()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/__init__.py", line 45, in start
    from .gtkui import GtkUI
  File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/gtkui.py", line 50, in <module>
    from deluge.ui.tracker_icons import TrackerIcons
  File "/usr/lib/python3.13/site-packages/deluge/ui/tracker_icons.py", line 22, in <module>
    from deluge.httpdownloader import download_file
  File "/usr/lib/python3.13/site-packages/deluge/httpdownloader.py", line 9, in <module>
    import cgi
ModuleNotFoundError: No module named 'cgi'


Reproducible: Always




$ rpm -q python3 deluge
python3-3.13.0~rc1-2.fc41.x86_64
deluge-2.1.1-8.fc41.noarch

Comment 1 Mamoru TASAKA 2024-08-27 14:25:52 UTC
cgi module is removed on python 3.13:

https://peps.python.org/pep-0594/#cgi

Comment 2 Michael Cronenworth 2024-08-27 20:34:12 UTC
Thanks. I have created a report upstream.

https://forum.deluge-torrent.org/viewtopic.php?t=56871

Comment 3 Mamoru TASAKA 2024-09-09 02:34:48 UTC
Now F42 deluge is fixed.

Would you rebuild fixed deluge also for F-41 and submit updates for bodhi?
(And I've noticed that the referenced bug number in %changelog was wrong...
 Sorry for that.)

Comment 4 Fedora Update System 2024-09-09 02:37:19 UTC
FEDORA-2024-988a60845f (deluge-2.1.1-10.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-988a60845f

Comment 5 Fedora Update System 2024-09-10 08:02:47 UTC
FEDORA-2024-988a60845f has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-988a60845f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-988a60845f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-09-13 20:55:27 UTC
FEDORA-2024-988a60845f (deluge-2.1.1-10.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.