...I spoke too soon.
So Deluge does launch, and I see my previous in-progress torrents. However, uploading/downloading doesn't actually start happening for anything.
Some UI elements are actually broken, and if I try clicking on anything, Deluge immediately crashes.
Looking at the output, immediately after launching Deluge the errors begin:
Code: Select all
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
(deluge:19029): Gdk-CRITICAL **: 22:07:52.253: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
result = sort_func(model, iter1, iter2, data)
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
return cmp(state1, state2)
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/common.py", line 45, in cmp
return (x > y) - (x < y)
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
result = sort_func(model, iter1, iter2, data)
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
return cmp(state1, state2)
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/common.py", line 45, in cmp
return (x > y) - (x < y)
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
That last chunk repeats often and fast, quickly scrolling the buffer. After a bajillion of them it changes up:
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/common.py", line 45, in cmp
TypeError: '>' not supported between instances of 'NoneType' and 'str'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
File "/usr/lib/python3/dist-packages/apport/report.py", line 620, in add_proc_info
File "/usr/lib/python3/dist-packages/apport/report.py", line 1731, in get_logind_session
OSError: [Errno 24] Too many open files: 'cgroup'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/common.py", line 45, in cmp
TypeError: '>' not supported between instances of 'NoneType' and 'str'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/common.py", line 45, in cmp
TypeError: '>' not supported between instances of 'NoneType' and 'str'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
File "/usr/lib/python3/dist-packages/apport/report.py", line 566, in add_proc_info
OSError: [Errno 24] Too many open files: '/proc/19029'
And then that one repeats a ton. Until it changes again to:
Code: Select all
Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f2db3247b80>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: _findCaller() takes from 1 to 2 positional arguments but 3 were given
/usr/lib/python3/dist-packages/deluge/ui/gtk3/filtertreeview.py:299:update
/usr/lib/python3/dist-packages/twisted/internet/defer.py:953:__del__
/usr/lib/python3/dist-packages/twisted/logger/_logger.py:270:critical
/usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call__
/usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call__
/usr/lib/python3/dist-packages/deluge/log.py:208:emit
/usr/lib/python3/dist-packages/twisted/python/log.py:595:emit
/usr/lib/python3/dist-packages/twisted/logger/_legacy.py:154:publishToNewObserver
/usr/lib/python3/dist-packages/twisted/logger/_stdlib.py:115:__call__
/usr/lib/python3.8/logging/__init__.py:1500:log
/usr/lib/python3.8/logging/__init__.py:1565:_log
]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/filtertreeview.py", line 299, in update
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 953, in __del__
File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 270, in critical
File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 144, in emit
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in __call__
File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in __call__
File "/usr/lib/python3/dist-packages/deluge/log.py", line 208, in emit
File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 595, in emit
File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 154, in publishToNewObserver
File "/usr/lib/python3/dist-packages/twisted/logger/_stdlib.py", line 115, in __call__
File "/usr/lib/python3.8/logging/__init__.py", line 1500, in log
File "/usr/lib/python3.8/logging/__init__.py", line 1565, in _log
builtins.TypeError: _findCaller() takes from 1 to 2 positional arguments but 3 were given
And that repeats a ton, although after a while this gets thrown into the mix too:
Code: Select all
(deluge:19029): Pango-WARNING **: 22:08:06.682: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9'
(deluge:19029): Pango-WARNING **: 22:08:06.682: font_face status is: <unknown error status>
(deluge:19029): Pango-WARNING **: 22:08:06.682: scaled_font status is: out of memory
(deluge:19029): Pango-WARNING **: 22:08:06.684: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9'
(deluge:19029): Pango-WARNING **: 22:08:06.684: font_face status is: <unknown error status>
(deluge:19029): Pango-WARNING **: 22:08:06.684: scaled_font status is: out of memory
Seems pretty consistent at that point, until I click on something, then crash:
Code: Select all
(deluge:19029): Gtk-WARNING **: 22:13:15.226: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/elementary-xfce/status/16/image-missing.png: Error opening file /usr/share/icons/elementary-xfce/status/16/image-missing.png: Too many open files (g-io-error-quark, 31)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/elementary-xfce/status/16/image-missing.png: Error opening file /usr/share/icons/elementary-xfce/status/16/image-missing.png: Too many open files (g-io-error-quark, 31)
Aborted (core dumped)
So it seems something bad happens early on and things sorta spin out of controll, opening up too many files and exhausting memory... then it can't cope with being touched becuase there aren't any resources left so *BOOM*.
I tried uninstalling deluge and re-installing, but that didn't fix it. I'm afraid I'm back to appealing for help.