Gajim became unresponsive on error
Versions:
- Gajim Version: 1.7.3+e3366360fa64
- GTK Version: 3.24.37
- GLib Version: 2.76.0
- Pango Version: 1.50.12
- PyGObject Version: 3.44.1
- cairo Version: 1.16.0
- pycairo Version: 1.20.1
- python-nbxmpp Version: 4.2.2
- libsoup Version: 3.4.0
Description:
Gajim suddenly became unresponsive and would not exit with tray icon menu. I have image previews enabled. I have multiple of this error in my logs "Stream has outstanding operation". The included log excerpt is from the very end of the log.
Debug log output:
05/20/2023 14:44:02 (I) nbxmpp.stream | (gajim.org) Start ping timer
05/20/2023 14:44:02 (I) nbxmpp.http | Request(140457406164864): Finished reading
05/20/2023 14:44:02 (I) nbxmpp.http | Request(140457406164864): Set Failed: 4
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 441, in _on_got_body_data
self._check_content_overflow()
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 459, in _check_content_overflow
self._finish_read(HTTPRequestError.CONTENT_OVERFLOW)
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 397, in _finish_read
self._set_failed(error)
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 507, in _set_failed
self._close_all_streams()
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 533, in _close_all_streams
input_stream.close(None)
gi.repository.GLib.GError: g-io-error-quark: Stream has outstanding operation (20)
05/20/2023 14:44:02 (I) nbxmpp.http | Request(140457406164864): Finished reading
05/20/2023 14:44:02 (I) nbxmpp.http | Request(140457406164864): Set Failed: 4
05/20/2023 14:44:02 (W) gajim.c.preview | Download failed: https://draugr.de/upload/00f530bb49b4e1685114d28f8bb6fb44b2fcbc2f/NTJyLpJBAPuN3fi6SPHbraBTi4wrCYXAsxtr2W2W/CkHnbZuWYAAkRD3.jpeg - <HTTPRequestError.CONTENT_OVERFLOW: 4>
05/20/2023 14:44:02 (I) nbxmpp.http | Request(140457406164864): Run cleanup