file preview error on invalid link to pdf
Versions:
- OS: Ubuntu 22.04.1 LTS 22.04 (jammy)
- GTK Version: 3.24.33
- PyGObject Version: 3.42.1
- GLib Version : 2.71.3
- python-nbxmpp Version: 4.0.0
- Gajim Version: 1.6.0
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 312, in _on_response
self._input_stream = session.send_finish(result)
gi.repository.GLib.GError: g-io-error-quark: Operation was cancelled (19)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 316, in _on_response
self._set_failed(HTTPRequestError.CANCELLED)
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 464, in _set_failed
self._cleanup()
File "/usr/lib/python3/dist-packages/nbxmpp/http.py", line 489, in _cleanup
del self._cancellable
AttributeError: _cancellable
Steps to reproduce the problem
- enable file preview
- post link to a pdf from archive.org with date removed from URL
original link:
https://web.archive.org/web/20081001170454/https://www.adobe.com/devnet/acrobat/pdfs/pdf_reference_1-7.pdf
posted link has date removed:
https://web.archive.org/web/https://www.adobe.com/devnet/acrobat/pdfs/pdf_reference_1-7.pdf