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

ZeroDivisionError: float division by zero #4

Open
TianshuDing opened this issue Aug 23, 2022 · 1 comment
Open

ZeroDivisionError: float division by zero #4

TianshuDing opened this issue Aug 23, 2022 · 1 comment

Comments

@TianshuDing
Copy link

Select the datasets to download:
0. All

  1. Block
  2. Block Transaction
  3. Internal Transaction
  4. Contract Info
  5. ERC20 Transaction
  6. ERC721 Transaction
  7. Token Info
    Please input a number (0~6): 2

Downloading 0to999999_BlockTransaction.zip 110.77 MB
100.0% - 1.23 MB/s - 110.77 MB

Downloading 1000000to1999999_BlockTransaction.zip 452.85 MB
100.0% - 1.19 MB/s - 452.85 MB

Downloading 2000000to2999999_BlockTransaction.zip 516.45 MB
Traceback (most recent call last):
File "E:/Papers/XBlock-ETH/download.py", line 210, in
start()
File "E:/Papers/XBlock-ETH/download.py", line 191, in start
download(localFile, srcUrl)
File "E:/Papers/XBlock-ETH/download.py", line 22, in download
line = line % (downSize/contentLength*100, downSize/1024/1024/(time.time()-startTime), downSize/1024/1024)
ZeroDivisionError: float division by zero

Process finished with exit code 1

@tczpl
Copy link
Owner

tczpl commented May 24, 2023

好像已经被另一个老哥的PR修复了?

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

2 participants