Python Version
Python 3.8
Hivepy Version
hivepy ver 0.10
Expected Behavior
The program should continue to download blocks from Hive until he reaches the final block.
Actual Behavior
I keep reciving warnings of RPCErrorRecoverable until the program closes itself from RPCError generated from the method run specificly from the for where I pull out the blocks.
Steps to reproduce
simply run the script.
Stack Trace
WARNING:root:Retry in 1s -- RPCErrorRecoverable: non-200 response: 503 from api.hive.blog
WARNING:root:Retry in 1s -- RPCErrorRecoverable: non-200 response: 503 from api.hive.blog
ERROR:hivebase.http_client:Unexpected exception! Please report at https://github.com/pharesim/hive-python/issues -- RPCError: unspecified error from api.hive.blog (Request Timeout) in get_block
Traceback (most recent call last):
File "hive_blockchain_download.py", line 61, in
run(output_file, start_block, end_block)
File "hive_blockchain_download.py", line 42, in run
for block in b.stream_from(start_block=start_block, full_blocks=True):
File "/home/sipione/.local/lib/python3.6/site-packages/hive/blockchain.py", line 95, in stream_from
yield self.hive.get_block(block_num)
File "/home/sipione/.local/lib/python3.6/site-packages/hive/hived.py", line 405, in get_block
return self.call('get_block', block_num, api='database_api')
File "/home/sipione/.local/lib/python3.6/site-packages/hivebase/http_client.py", line 321, in call
raise e
File "/home/sipione/.local/lib/python3.6/site-packages/hivebase/http_client.py", line 296, in call
raise RPCError(detail)
hivebase.exceptions.RPCError: unspecified error from api.hive.blog (Request Timeout) in get_block
hive_blockchain_download.zip
Python Version
Python 3.8
Hivepy Version
hivepy ver 0.10
Expected Behavior
The program should continue to download blocks from Hive until he reaches the final block.
Actual Behavior
I keep reciving warnings of RPCErrorRecoverable until the program closes itself from RPCError generated from the method run specificly from the for where I pull out the blocks.
Steps to reproduce
simply run the script.
Stack Trace
WARNING:root:Retry in 1s -- RPCErrorRecoverable: non-200 response: 503 from api.hive.blog
WARNING:root:Retry in 1s -- RPCErrorRecoverable: non-200 response: 503 from api.hive.blog
ERROR:hivebase.http_client:Unexpected exception! Please report at https://github.com/pharesim/hive-python/issues -- RPCError: unspecified error from api.hive.blog (Request Timeout) in get_block
Traceback (most recent call last):
File "hive_blockchain_download.py", line 61, in
run(output_file, start_block, end_block)
File "hive_blockchain_download.py", line 42, in run
for block in b.stream_from(start_block=start_block, full_blocks=True):
File "/home/sipione/.local/lib/python3.6/site-packages/hive/blockchain.py", line 95, in stream_from
yield self.hive.get_block(block_num)
File "/home/sipione/.local/lib/python3.6/site-packages/hive/hived.py", line 405, in get_block
return self.call('get_block', block_num, api='database_api')
File "/home/sipione/.local/lib/python3.6/site-packages/hivebase/http_client.py", line 321, in call
raise e
File "/home/sipione/.local/lib/python3.6/site-packages/hivebase/http_client.py", line 296, in call
raise RPCError(detail)
hivebase.exceptions.RPCError: unspecified error from api.hive.blog (Request Timeout) in get_block
hive_blockchain_download.zip