Skip to content

ZeroDivisionError: float division by zero #4

@TianshuDing

Description

@TianshuDing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions