How can I correct this trace back call
Traceback (most recent call last):
File "./upmyfee.py", line 147, in
I have the same error. How to solve?
It isn't working at all... Can anyone help.
@Ben-maxwel could you please provide your service_url value?
help with trace back
Traceback (most recent call last):
File "upmyfee.py", line 2, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Python39\lib\site-packages\requests\adapters.py", line 430, in send resp = conn.urlopen( File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen retries = retries.increment(method, url, error=e, _pool=self, File "C:\Python39\lib\site-packages\urllib3\util\retry.py", line 388, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='127.0.0.1', port=8332): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000208C86E7C70>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\local\upmyfee\upmyfee.py", line 148, in
I thought I had it running there for a second, it paused as if it were doing something, then it threw the below error....
NOTE: take out the 'https...' ('') so its just https... The rest should theoretically work, as I am running Bitcoind locally, however, @localhost:
How should I attempt to resolve the below?
The .py I run with args from cmd line is as follows:
python upmyfee.py --rpc-url=https://xxx:[email protected]:8332 --txid=9c90b460992a8c69adc7605acbf02f2ac5120ecc081540a6a8df208407506042 --payer=bc1q5rhd2x8kr3xd7w6t3x0j8zurc*-- --to=
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\local\upmyfee\upmyfee.py", line 148, in
Thanks so much and appreciate you posting this! If it works I will send you a dev fee via btc if yiu send me your btc address to [email protected]
Suggested much needed improvements for next revision.
Perhaps if we split off from rpc-url the username and pw such that you add two additional args:
--rpc-url=https://xxx:[email protected]:8332 --rpcuser=xxx --rpcpassword=xxx
and possibly a change from --fee=0.03 to --paytxfee=0.03 (I believe paytaxfee is correct cmd(?)...
Last, if you can setup a simple flag like we do in C++ as a #Define where its 0 or 1, such that 0 meaning use args via argsparse module, otherwise default to using Bitcoin.conf which would look something along these lines:
rpcuser=xxx
rpcpassword=xxx
gen=1
txindex=1
paytxfee=0.03
rpcallowip=127.0.0.1
rpcallowip=<ip address of pc running the bitcoin daemon, e.g. 192.168.2.??>
...
and as a suggestion, since we have the daemon, why not automate the Python script and setup the TXID and corresponding wallet address of the transaction being modified to send to new
a) Query blockchain for all unconfirmed transactions and if needed store to an xml or csv file and/or write into memory.
b) Setup a series of user defined conditions (e.g. Disregard transactions < <BTC amount> AND > <BTC Amount>
c) Other omissions/conditions that can be hard coded into the algo. For example, # of transactions for that wallet must be > N.
d) With the above filters, let it roll with a maximum BTC limit per day of
Voile! - That is the kind of software that we need brother turn it on and let it go on auto...
/Zap
File "C:\Users\user\upmyfee\upmyfee.py", line 148, in
How to solved?