Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Error encounted while syncing data after May 17 2020 #218

Open
cxd1995 opened this issue May 27, 2020 · 1 comment
Open

Error encounted while syncing data after May 17 2020 #218

cxd1995 opened this issue May 27, 2020 · 1 comment

Comments

@cxd1995
Copy link

cxd1995 commented May 27, 2020

We have been collecting data from Ethereum using ethereum-etl for years. But recently we have encountered an error. More specifically, the error started from May 17 2020. The error is copied below. Since there is no fork in Ethereum blockchain recently, we could not figure out the reason.

Symbolic Execution not available: No module named 'mythril'
Traceback (most recent call last):
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/service/eth_service.py", line 51, in get_block_range_for_timestamps
end_block_bounds = self._graph_operations.get_bounds_for_y_coordinate(end_timestamp)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/service/graph_operations.py", line 40, in get_bounds_for_y_coordinate
result = self._get_bounds_for_y_coordinate_recursive(y, *initial_bounds)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/service/graph_operations.py", line 45, in _get_bounds_for_y_coordinate_recursive
raise OutOfBoundsError('y coordinate {} is out of bounds for points {}-{}'.format(y, start, end))
ethereumetl.service.graph_operations.OutOfBoundsError: y coordinate 1590364799 is out of bounds for points (1,1438269988)-(10120023,1590209309)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/blockchain/anaconda3/bin/ethereumetl", line 11, in
sys.exit(cli())
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/cli/export_all.py", line 116, in export_all
output_dir, provider_uri, max_workers, export_batch_size)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/jobs/export_all_common.py", line 72, in export_all_common
for batch_start_block, batch_end_block, partition_dir in partitions:
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/cli/export_all.py", line 76, in get_partitions
batch_start_block, batch_end_block = eth_service.get_block_range_for_date(start_date)
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/service/eth_service.py", line 37, in get_block_range_for_date
return self.get_block_range_for_timestamps(start_datetime.timestamp(), end_datetime.timestamp())
File "/home/blockchain/anaconda3/lib/python3.7/site-packages/ethereumetl/service/eth_service.py", line 53, in get_block_range_for_timestamps
raise OutOfBoundsError('The existing blocks do not completely cover the given time range') from e
ethereumetl.service.graph_operations.OutOfBoundsError: The existing blocks do not completely cover the given time range

@medvedev1088
Copy link
Member

medvedev1088 commented May 27, 2020

Interesting. Looks like the node is not fully synced. Check what's the latest block number returned by the node and whether it's outside the date you're trying to export.

PS: I haven't noticed any issues in production.

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