You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/zuppif/Documents/Hephaistos/playground.py", line 24, in pipe
h = proxy.getblockhash(i)
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/site-packages/bitcoin/rpc.py", line 361, in <lambda>
f = lambda *args: self._call(name, *args)
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/site-packages/bitcoin/rpc.py", line 266, in _call
raise JSONRPCError(
bitcoin.rpc.JSONRPCError: {'code': -32700, 'message': 'Parse error'}
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/zuppif/Documents/Hephaistos/playground.py", line 35, in <module>
data = pool.map(pipe, range(1, 125))
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/zuppif/anaconda3/envs/bc/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
bitcoin.rpc.JSONRPCError: {'code': -32700, 'message': 'Parse error'}
Any idea?
Best regards,
Francesco
The text was updated successfully, but these errors were encountered:
Dear all,
I have the following snippet where I just get a block and its transactions using different processes:
And this works great! But if I add
proxy.getblockchaininfo()
I got the following error:
Any idea?
Best regards,
Francesco
The text was updated successfully, but these errors were encountered: