sudoblockio / icon-etl

MIT License
0 stars 0 forks source link

Protobuf parsing error in the CraftMultiToken Sync #15

Closed pranav925 closed 3 years ago

pranav925 commented 3 years ago
etl_1             | 2021-08-18 02:49:42,056 - root [INFO] - Nothing to sync. Sleeping for 1 seconds...
etl_1             | 2021-08-18 02:49:43,068 - root [INFO] - Current block 38448429, target block 27927700, last synced block 27927600, blocks to sync 100
etl_1             | 2021-08-18 02:49:43,070 - ProgressLogger [INFO] - Started work. Items to process: 100.
etl_1             | 2021-08-18 02:49:43,590 - ProgressLogger [INFO] - 100 items processed. Progress is 100%.
etl_1             | 2021-08-18 02:49:43,591 - ProgressLogger [INFO] - Finished work. Total items processed: 100. Took 0:00:00.521929.
etl_1             | 2021-08-18 02:49:43,592 - ProgressLogger [INFO] - Started work.
etl_1             | 2021-08-18 02:49:43,938 - ProgressLogger [INFO] - Finished work. Total items processed: 117. Took 0:00:00.345844.
etl_1             | 2021-08-18 02:49:43,947 - root [INFO] - Exporting with KafkaItemExporter
etl_1             | 2021-08-18 02:49:43,992 - root [ERROR] - An exception occurred while syncing block data.
etl_1             | Traceback (most recent call last):
etl_1             |   File "/usr/local/lib/python3.6/site-packages/blockchain_etl_common-1.3.0-py3.6.egg/blockchainetl_common/streaming/streamer.py", line 77, in _do_stream
etl_1             |     synced_blocks = self._sync_cycle()
etl_1             |   File "/usr/local/lib/python3.6/site-packages/blockchain_etl_common-1.3.0-py3.6.egg/blockchainetl_common/streaming/streamer.py", line 98, in _sync_cycle
etl_1             |     self.blockchain_streamer_adapter.export_all(self.last_synced_block + 1, target_block)
etl_1             |   File "/icon-etl/iconetl/streaming/icx_streamer_adapter.py", line 104, in export_all
etl_1             |     self.item_exporter.export_items(all_items)
etl_1             |   File "/icon-etl/iconetl/jobs/exporters/kafka_item_exporter.py", line 153, in export_items
etl_1             |     item_timestamp=str(item["item_timestamp"]),
etl_1             |   File "/usr/local/lib/python3.6/site-packages/protobuf-3.17.3-py3.6.egg/google/protobuf/internal/python_message.py", line 569, in init
etl_1             |     setattr(self, field_name, field_value)
etl_1             |   File "/usr/local/lib/python3.6/site-packages/protobuf-3.17.3-py3.6.egg/google/protobuf/internal/python_message.py", line 713, in field_setter
etl_1             |     new_value = type_checker.CheckValue(new_value)
etl_1             |   File "/usr/local/lib/python3.6/site-packages/protobuf-3.17.3-py3.6.egg/google/protobuf/internal/type_checkers.py", line 168, in CheckValue
etl_1             |     raise ValueError('Value out of range: %d' % proposed_value)
etl_1             | ValueError: Value out of range: 823000000000000000000