HTTP Download Progress Bar calculation error
Versions
- OS: Manjaro Linux
- GTK Version: 3.24.14
- PyGObject Version: 3.34.0
- GLib Version : 2.62.2
- python-nbxmpp Version: 0.9.93
- Gajim Version: 1.1.93
Traceback
Traceback (most recent call last):
File "/home/x/.local/share/gajim/plugins/omemo/file_crypto.py", line 108, in _on_got_chunk
transfer.update_progress()
File "/usr/lib/python3.8/site-packages/gajim/common/filetransfer.py", line 93, in update_progress
self.notify('progress')
File "/usr/lib/python3.8/site-packages/gajim/common/helpers.py", line 1715, in notify
func()(self, signal_name, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/gajim/gtk/filetransfer_progress.py", line 110, in _on_transfer_progress
self._ui.progressbar.set_fraction(float(transfer.seen) / transfer.size)
ZeroDivisionError: float division by zero
Steps to reproduce the problem
Try to download a a file via HTTP Upload link which is 404.