Instead I dug into Deluge 1.33 to see why it needed a Python newer than 2.5.
The changes seemed minor, so I wonder why support for Python 2.5 has been abandoned.
All I had to do was comment out the
Code: Select all
# with warnings.catch_warnings():
# warnings.simplefilter("ignore")
At lines 87 and 110 of
ui/gtkui/torrentview.py
At line 262 of
ui/gtkui/filtertreeview.py
Then in filtertreeview.py I had to comment out the import glib, and remove the call to glib at line 290
Code: Select all
if pix:
# try:
return gtk.gdk.pixbuf_new_from_file(deluge.common.get_pixmap("%s16.png" % pix))
# except glib.GError as e:
# log.warning(e)
return self.get_transparent_pix(16, 16)