Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress bar exception #17

Open
rocko1337 opened this issue Dec 18, 2020 · 0 comments
Open

progress bar exception #17

rocko1337 opened this issue Dec 18, 2020 · 0 comments

Comments

@rocko1337
Copy link

rocko1337 commented Dec 18, 2020

I am using python 3.8.5 on windows. While downloading is working the progress bar isn't. The following exception is thrown:

Traceback (most recent call last):
  File "C:\Users\SJ\anaconda3\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "C:\Users\SJ\anaconda3\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\SJ\anaconda3\lib\site-packages\xdcc_dl\xdcc\XDCCClient.py", line 629, in progress_printer
    ratio = int(bytes_delta / time_delta)
ZeroDivisionError: float division by zero

I just checked on linux it is working but not on Windows. Any idea how to fix it for windows? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant