Bitcoin Forum
September 03, 2024, 09:16:59 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is Armory scripting broken?  (Read 139 times)
faxxxik (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 25, 2018, 09:59:39 PM
 #1

Today I tried to automate some task within Armory and learnt a bit about scripting.

However, none of what I tried (e.g. extras/BDMbasics_listUTXOs.py) worked.

Specifically, no matter what I did (ran scripts stand-alone, started ArmoryDB or Armory), self.cppWallet was always None, so most of the functions didn't work.
Code:
Traceback (most recent call last):
  File "extras/BDMbasics_listUTXOs.py", line 50, in <module>
    wlt.registerWallet(isNew=False)
  File "/home/faxik/workspace/BitcoinArmory/armoryengine/PyBtcWallet.py", line 285, in registerWallet
    raise Exception('invalid cppWallet object')
Exception: invalid cppWallet object

I did all the tests (which were never updated in the last 3 years) on the current master branch. Is the scripting broken? Or the examples are outdated? Or maybe I'm missing something?

P.s. I'll hope to find time to play with older (0.93 maybe) version of Armory which would require rebuilding the database.

Please, advise! Thanks!
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3724
Merit: 1360

Armory Developer


View Profile
July 26, 2018, 12:25:01 AM
 #2

These scripts are ancient and were never updated. Look at armoryd if you want to build automation.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!