OSError: [Errno 7] Argument list too long on ubuntu, python calling bitcoind-cli with popen -


Bitcound-Cli is running a python script using Poppins on Ubuntu, on large blocks with many traces, When I get it, I get the phone error OSError: [Errno 7] Logic list is too long

I understand that this is a buffer problem between shell and dragon script ? There is an argument, I think it's just a very long

is there something else I need to check? Can I make the buffer bigger anyway or do I interact with bitcoind to change the method to RPC?

Thanks to

thank you

Since you are using Python, the best part is that you can use RPC, such as:

  import support import import feedback = requests.post ( Bitcoind_url, data = json.dumps ({'method': method, 'params': params,' jsonrpc ':' 2.0 ',' id ': 0,}), header = {' content-type ':' Jason ',' Authorization ': b'Basic' + base64.b64encode (rpcuser + b ':' + rpc password)})  

Where There is a list of arguments for the specific method .

You can use rpcuser and from the Bitcoind configuration file to rpcpassword .


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -