Hi all
I am running the Create transaction script, I want to create a transaction using this script instead of clicking the buttons on Armory Bitcoin wallet GUI, it seemed it had a lot of code that doesn't work but I have fixed most of it.
This is errors remain:
\______________________________________________________
(ERROR) Traceback (most recent call last):
File "Unsigned.py", line 153, in <module>
txdp = createTxFromAddrList(wlt, addrList, recipList, 100000, sendChangeTo)
File "Unsigned.py", line 79, in createTxFromAddrList
pprintUnspentTxOutList(utxoList, 'Available outputs: ')
File "//BitcoinArmory/armoryengine/CoinSelection.py", line 164, in pprintUnspentTxOutList
print ' ',str(utxo.getNumConfirm()).rjust(
,
File "//BitcoinArmory/CppBlockUtils.py", line 931, in getNumConfirm
def getNumConfirm(self, *args): return _CppBlockUtils.UnspentTxOut_getNumConfirm(self, *args)
TypeError: UnspentTxOut_getNumConfirm() takes exactly 2 arguments (1 given)
\_______________________________________________________________________________________________________________________
1. I can not find CppBlockUtils.py file
If I run this script again I get:
2. Segmentation fault (core dumped)
and it also presents this error:
(ERROR) Traceback (most recent call last):
File "Unsigned.py", line 153, in <module>
txdp = createTxFromAddrList(wlt, addrList, recipList, 100000, sendChangeTo)
File "Unsigned.py", line 66, in createTxFromAddrList
unspentTxOuts = walletObj.getAddrTxOutList(addr160, 'Spendable')
File "/home/buildmds/Documents/BitcoinArmory/armoryengine/PyBtcWallet.py", line 52, in inner
return func(*args, **kwargs)
File "//BitcoinArmory/armoryengine/PyBtcWallet.py", line 481, in getAddrTxOutList
return cppAddr.getSpendableTxOutList(IGNOREZC);
File "//BitcoinArmory/CppBlockUtils.py", line 1971, in getSpendableTxOutList
def getSpendableTxOutList(self, ignoreZC=True): return _CppBlockUtils.ScrAddrObj_getSpendableTxOutList(self, ignoreZC)
3. RuntimeError: Cannot start transaction without db env
Has anybody encountered this error, or has the updated and working version of Createtransaction.py
Thank you for your help