Comments (11)
What version of python are you using?
from ethereum-etl.
Version python 3.7
from ethereum-etl.
I will install version python 3.5
from ethereum-etl.
Now I have problem
When execute:
python export_blocks_and_transactions.py -s 0 -e 5499999 -b 100000 --ipc-path ~\.\pipe\geth.ipc --blocks-output blocks.csv --transactions-output transactions.csv
I have problem below:
Traceback (most recent call last):
File "export_blocks_and_transactions.py", line 35, in
job.run()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\base_job.py", line 7, in run
self._end()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 57, in _end
super()._end()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 56, in _end
self.executor.shutdown()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 16, in shutdown
self._check_completed_futures()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 24, in _check_completed_futures
future.result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 398, in result
return self.__get_result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 357, in __get_result
raise self._exception
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\base_job.py", line 5, in run
self._export()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 42, in _export
self.executor.submit(self._fail_safe_export_batch, batch_start, batch_end)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 8, in submit
self._check_completed_futures()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 24, in _check_completed_futures
future.result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 398, in result
return self.__get_result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 357, in __get_result
raise self._exception
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures\thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 50, in _fail_safe_export_batch
self._export_batch(block_number, block_number)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 42, in _export_batch
response = self.ipc_wrapper.make_request(json.dumps(blocks_rpc))
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\ipc.py", line 34, in make_request
with self._lock, self._socket as sock:
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 45, in enter
self.sock = self._open()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 58, in _open
return get_ipc_socket(self.ipc_path)
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 26, in get_ipc_socket
return NamedPipe(ipc_path)
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\utils\windows.py", line 19, in init
raise IOError(err)
OSError: (3, 'CreateFile', 'O sistema não pode encontrar o caminho especificado.')
from ethereum-etl.
Seems you are using Windows. Try these instructions https://github.com/medvedev1088/ethereum-etl#running-in-windows
from ethereum-etl.
In particular the file path should be \\.\pipe\geth.ipc
from ethereum-etl.
I run in GIT Bash, ./export_all.sh -s 0 -e 999999 -b 100000 -i '\.\pipe\geth.ipc' -o output
But i have problem below:
Traceback (most recent call last):
File "export_blocks_and_transactions.py", line 35, in
job.run()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\base_job.py", line 7, in run
self._end()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 57, in _end
super()._end()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 56, in _end
self.executor.shutdown()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 16, in shutdown
self._check_completed_futures()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 24, in _check_completed_futures
future.result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 398, in result
return self.__get_result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 357, in __get_result
raise self._exception
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\base_job.py", line 5, in run
self._export()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 42, in _export
self.executor.submit(self._fail_safe_export_batch, batch_start, batch_end)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 8, in submit
self._check_completed_futures()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 24, in _check_completed_futures
future.result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 398, in result
return self.__get_result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 357, in __get_result
raise self._exception
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures\thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 50, in _fail_safe_export_batch
self._export_batch(block_number, block_number)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 42, in _export_batch
response = self.ipc_wrapper.make_request(json.dumps(blocks_rpc))
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\ipc.py", line 34, in make_request
with self._lock, self._socket as sock:
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 45, in enter
self.sock = self._open()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 58, in _open
return get_ipc_socket(self.ipc_path)
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\providers\ipc.py", line 26, in get_ipc_socket
return NamedPipe(ipc_path)
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\site-packages\web3\utils\windows.py", line 19, in init
raise IOError(err)
from ethereum-etl.
After raise IOError(err) you have the same message as before? OSError: (3, 'CreateFile', 'O sistema não pode encontrar o caminho especificado.')
Check that geth is running. The message says that the ipc file doesn't exist.
from ethereum-etl.
Thank very Much.
I have other problem:
Traceback (most recent call last):
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\base_job.py", line 5, in run
self._export()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 42, in _export
self.executor.submit(self._fail_safe_export_batch, batch_start, batch_end)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 8, in submit
self._check_completed_futures()
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\executors\fail_safe_executor.py", line 24, in _check_completed_futures
future.result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 398, in result
return self.__get_result()
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures_base.py", line 357, in __get_result
raise self._exception
File "C:\Users\XPS\AppData\Local\Programs\Python\Python35-32\lib\concurrent\futures\thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\batch_export_job.py", line 46, in _fail_safe_export_batch
self._export_batch(batch_start, batch_end)
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 44, in _export_batch
blocks = [self.block_mapper.json_dict_to_block(result) for result in results]
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\jobs\export_blocks_job.py", line 44, in
blocks = [self.block_mapper.json_dict_to_block(result) for result in results]
File "C:\Users\XPS\Documents\Python-Ethereum\ethereum-etl-master\ethereumetl\utils.py", line 25, in rpc_response_batch_to_results
raise ValueError('result is null in response {}'.format(response_item))
ValueError: result is null in response {'result': None, 'jsonrpc': '2.0', 'id': 0}
from ethereum-etl.
Thank you, you helped me a lot.
I'll study your script.
I'm very grateful.
from ethereum-etl.
It seems that #35 is the same cause as this. It's duplicated issue.
from ethereum-etl.
Related Issues (20)
- [Errno 101]
- Add decoding log functions here
- How to store the output directory on an external drive?
- CloudQuery Source Plugin?
- How to ensure consistency between exported data and data on the chain?
- Duplicate contracts on BigQuery HOT 1
- Please help me with the BigQuery request !
- missing contract internal txn in ethereumetl export_blocks_and_transactions HOT 2
- Failed to transfer eth data to kinesis using ethereumetl stream HOT 1
- SQLalchemy never commits HOT 2
- Remove urllib3 v2 restriction once xenial has openssl 1.1.1+
- Google Pub/Sub message ordering
- Connection slow when I connect the postgresql db from remote
- Streaming to postgresql is Extremely slow. HOT 2
- Export all doesn't export any token transfers. HOT 2
- the version of ethereum-etl is not fully compatible with Python 3.11
- Erigon Client instead of GETH HOT 2
- receipt no support daFee,daGasPrice,daGasUsed ( mantle)
- [stream] cli works well but no data in postgres HOT 4
- suck at block 15098154 , got error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethereum-etl.