Pages:
Author

Topic: RAM-Reduction & Backup Center Testing (version 0.89.99.16) - page 22. (Read 41280 times)

legendary
Activity: 1428
Merit: 1093
Core Armory Developer
I'm trying to set up the new Armory and Bitcoin-QT to run completely off a flash drive. Oh!! BTW thanks for the new Armory! I actually can run it now!  Grin

So what is the difference between the --datadir and --satoshi-datadir command line calls?

--datadir is the Armory home directory to use
--satoshi-datadir is the Bitcoin-Qt/bitcoind home directory to use (which should match the "-datadir" flag you give to Bitcoin software if run it manually)
sr. member
Activity: 306
Merit: 250

Armory version 0.89.99.3-testing:

Windows:  Download the standalone executable bundle (click here)  
Just unpack and double-click on ArmoryQt.exe.  You may want to right-click and make a shortcut to it, in the same directory, then modify the properties->"Target:" to use non-standard "--datadir" and/or "--satoshi-datadir" paths (or any other flags you want, like "--testnet).


I'm trying to set up the new Armory and Bitcoin-QT to run completely off a flash drive. Oh!! BTW thanks for the new Armory! I actually can run it now!  Grin

So what is the difference between the --datadir and --satoshi-datadir command line calls?

hero member
Activity: 798
Merit: 1000
Good stuff, looking forward to the OSX release Smiley
hero member
Activity: 547
Merit: 500
Decor in numeris
If I want to try it out on OS X I have to compile it myself.  I assume it is in a branch in git ?



It's the "testing" branch.  There is Level DB source code in the project, though, no clue if it compiles on OSX...

If it doesn't, then I will look at it in a few weeks.  If it does, I will report back here soon.  :-)
A quick google for "os x leveldb" looks like it should work, but that it in reality causes some amount of trouble ...
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
If I want to try it out on OS X I have to compile it myself.  I assume it is in a branch in git ?



It's the "testing" branch.  There is Level DB source code in the project, though, no clue if it compiles on OSX...
hero member
Activity: 547
Merit: 500
Decor in numeris
If I want to try it out on OS X I have to compile it myself.  I assume it is in a branch in git ?

legendary
Activity: 1428
Merit: 1093
Core Armory Developer


Fixed rescan-on-every-load bug!

Version 0.89.99.3-testing (link is in the top post)

It turns out that it wasn't waiting for the block data manager to finish writing the wallet histories to the database before killing it.  The time between calling and killing was enough to write out a couple hundred addresses -- if you had more than that, it wouldn't finish in time, and Armory would detect a bunch of new addresses every load requiring a rescan. 

Therefore, all features I wanted to be in this release are implemented now.  I've pretty much decided to freeze the feature set, and just focus on bugs and polishing.

One other bug that I noticed: there's a pretty long freeze on every new block.  Again, it's one of those efficiencies/optimizations that can be improved later.  The "usability" impact of that bug is a lot less than requiring 6 GB of RAM!
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
Code:
print '***blkdir var:', type(blkdir), len(blkdir), '"'+str(blkdir)+'"'


It doesn't seem that print dumps the text into the log file and windows doesn't show the standard output stream (even if started from command line).


My bad.  Sorry for the scavenger hunt!  Put in LOGERROR calls, which will guarantee it gets written out to the log file:

Code:
      LOGERROR('***BLKDIR VARIABLE:')
      LOGERROR('***Type:  %s' % str(type(blkdir)))
      LOGERROR('***Size:  %d' % len(blkdir))
      LOGERROR('***Value: %s' % str(blkdir))

Breaking them out like that will also make sure the type() is printed even if len() or str() throws an error.
legendary
Activity: 1232
Merit: 1094
Code:
print '***blkdir var:', type(blkdir), len(blkdir), '"'+str(blkdir)+'"'


It doesn't seem that print dumps the text into the log file and windows doesn't show the standard output stream (even if started from command line).
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
Quote
I'm still quite curious how that error is cropping up.  If you are ambitious, you can close Armory, unpack the library.zip file inside that directory, then modify armoryengine.py.  When you are done, re-zip it and overwrite library.zip.  Then it should use the new code when you run ArmoryQt.exe.   This works for everything except ArmoryQt.py which is the entry point for the app, so it treats that file differently.  But all the other python files should be modifiable in that way mentioned.

They are all .pyc files rather than .py files.  I assume there is some kind of compile step.

Do I need to set a home directory too?


Ack, forgot about the .pyc thing.  I forgot that py2exe puts the already-byte-compiled python code in there.  However, it doesn't require .pyc files.  Simply copy in the pre-compiled armoryengine.py and delete the .pyc.  Make the modification to the .py file, and my previous instructions should work (sorry, it's been a while since I've done this).

If you want to spend any significant amount of time modifying code, etc, and you are a patient person, we just gave all the MSVS projects a complete overhaul and should be much easier to get working, now (and uses the free version of MSVS 2012).  Still not trivial, but if you have any interest in spending a lot of time in Armory source code (C++ or python), it would be worth the effort.
legendary
Activity: 1232
Merit: 1094
If you are modifying the target of a shortcut, I believe bot '/' and '\' are fine.  If you are running from a git/cygwin shell, you have to use forward slashes '/' or else it interprets the backslashes as escape characters.   

I just unpacked the zip file and created a shortcut.  I am not running from within cygwin.

It is not impossible that the %HOME% issue is affecting things though.  Maybe some other directory reference is affected.

Quote
I'm still quite curious how that error is cropping up.  If you are ambitious, you can close Armory, unpack the library.zip file inside that directory, then modify armoryengine.py.  When you are done, re-zip it and overwrite library.zip.  Then it should use the new code when you run ArmoryQt.exe.   This works for everything except ArmoryQt.py which is the entry point for the app, so it treats that file differently.  But all the other python files should be modifiable in that way mentioned.

They are all .pyc files rather than .py files.  I assume there is some kind of compile step.

Do I need to set a home directory too?

Code:
(INFO) armoryengine.pyc:781 -
(INFO) armoryengine.pyc:782 -
(INFO) armoryengine.pyc:783 -
(INFO) armoryengine.pyc:784 - ************************************************************
(INFO) armoryengine.pyc:785 - Invoked: G:\armory_testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\ArmoryQt.exe --datadir=G:\armory_testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\datadir --debug
(INFO) armoryengine.pyc:786 - ************************************************************
(INFO) armoryengine.pyc:787 - Loading Armory Engine:
(INFO) armoryengine.pyc:788 -    Armory Version        : 0.89.99.2
(INFO) armoryengine.pyc:789 -    PyBtcWallet  Version  : 1.35
(INFO) armoryengine.pyc:790 - Detected Operating system: Windows
(INFO) armoryengine.pyc:791 -    OS Variant            : 7-6.1.7601-SP1-Multiprocessor Free
(INFO) armoryengine.pyc:792 -    User home-directory   : C:\Users\TN\AppData\Roaming
(INFO) armoryengine.pyc:793 -    Satoshi BTC directory : C:\Users\TN\AppData\Roaming\Bitcoin\
(INFO) armoryengine.pyc:794 -    Armory home dir       : C:\Users\TN\AppData\Roaming\Armory\
(INFO) armoryengine.pyc:795 - Detected System Specs    :
(INFO) armoryengine.pyc:796 -    Total Available RAM   : 16.00 GB
(INFO) armoryengine.pyc:797 -    CPU ID string         : Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
(INFO) armoryengine.pyc:798 -    Number of CPU cores   : 4 cores
(INFO) armoryengine.pyc:799 -    System is 64-bit      : False
(INFO) armoryengine.pyc:800 -    Preferred Encoding    : cp1252
(INFO) armoryengine.pyc:801 -
(INFO) armoryengine.pyc:802 - Network Name: Main Network
(INFO) armoryengine.pyc:803 - Satoshi Port: 8333
(INFO) armoryengine.pyc:804 - Named options/arguments to armoryengine.py:
(INFO) armoryengine.pyc:806 -     leveldbDir      : DEFAULT
(INFO) armoryengine.pyc:806 -     skipVerCheck    : False
(INFO) armoryengine.pyc:806 -     satoshiPort     : DEFAULT
(INFO) armoryengine.pyc:806 -     settingsPath    : C:\Users\TN\AppData\Roaming\Armory\ArmorySettings.txt
(INFO) armoryengine.pyc:806 -     logFile         : C:\Users\TN\AppData\Roaming\Armory\ArmoryQt.exe.log.txt
(INFO) armoryengine.pyc:806 -     nettimeout      : 2
(INFO) armoryengine.pyc:806 -     rescan          : False
(INFO) armoryengine.pyc:806 -     doDebug         : True
(INFO) armoryengine.pyc:806 -     datadir         : G:\armory_testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\datadir
(INFO) armoryengine.pyc:806 -     netlog          : False
(INFO) armoryengine.pyc:806 -     keypool         : 100
(INFO) armoryengine.pyc:806 -     testnet         : False
(INFO) armoryengine.pyc:806 -     rpcport         : DEFAULT
(INFO) armoryengine.pyc:806 -     satoshiHome     : DEFAULT
(INFO) armoryengine.pyc:806 -     forceOnline     : False
(INFO) armoryengine.pyc:806 -     logDisable      : False
(INFO) armoryengine.pyc:806 -     offline         : False
(INFO) armoryengine.pyc:806 -     mtdebug         : False
(INFO) armoryengine.pyc:806 -     rebuild         : False
(INFO) armoryengine.pyc:806 -     interport       : 8223
(INFO) armoryengine.pyc:807 - Other arguments:
(INFO) armoryengine.pyc:810 - ************************************************************
(INFO) armoryengine.pyc:1016 - C++ block utilities loaded successfully
(INFO) armoryengine.pyc:13305 - Using the asynchronous/multi-threaded BlockDataManager.
(INFO) armoryengine.pyc:13306 - Blockchain operations will happen in the background. 
(INFO) armoryengine.pyc:13307 - Devs: check TheBDM.getBDMState() before asking for data.
(INFO) armoryengine.pyc:13308 - Registering addresses during rescans will queue them for
(INFO) armoryengine.pyc:13309 - inclusion after the current scan is completed.
(INFO) armoryengine.pyc:11405 - Using settings file: C:\Users\TN\AppData\Roaming\Armory\ArmorySettings.txt
(INFO) ArmoryQt.py:1505 - loadWalletsAndSettings
(INFO) ArmoryQt.py:1552 - Loading wallets...
(INFO) ArmoryQt.py:1600 - Number of wallets read in: 4
(INFO) ArmoryQt.py:1605 -    Wallet (27KXMC5Ao):   "VanityWallet                    "   (Encrypted)
(INFO) ArmoryQt.py:1605 -    Wallet (2Jg5gsaZV):   "Active                          "   (No Encryption)
(INFO) ArmoryQt.py:1605 -    Wallet (38vfGKavT):   "Primary Wallet (Watch)          "   (No Encryption)
(INFO) ArmoryQt.py:1605 -    Wallet (LC1iqeBy):    "Test Wallet1                    "   (No Encryption)
(INFO) ArmoryQt.py:1186 - Setting up networking...
(INFO) ArmoryQt.py:1239 - Internet connection is Available: True
(INFO) ArmoryQt.py:1240 - Bitcoin-Qt/bitcoind is Available: 0
(INFO) ArmoryQt.py:1247 - startBitcoindIfNecessary
(INFO) ArmoryQt.py:1277 - setSatoshiPaths
(INFO) armoryengine.pyc:10831 - Found bitcoind in the following places:
(INFO) armoryengine.pyc:10833 -    C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
(INFO) armoryengine.pyc:10835 - Using: C:\Program Files (x86)\Bitcoin\daemon\bitcoind.exe
(INFO) armoryengine.pyc:602 - Executing popen: ['icacls', u'F:\\bitcoin_data\\bitcoin.conf', '/inheritance:r', '/grant:r', 'TN:F']
(INFO) armoryengine.pyc:11004 - icacls returned: processed file: F:\bitcoin_data\bitcoin.conf Successfully processed 1 files; Failed processing 0 files
(INFO) armoryengine.pyc:11058 - Called startBitcoind
(INFO) armoryengine.pyc:602 - Executing popen: ['C:\\Program Files (x86)\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=F:\\bitcoin_data']
(INFO) armoryengine.pyc:11101 - PID of bitcoind: 5556
(INFO) armoryengine.pyc:11102 - PID of armory:   2876
(INFO) armoryengine.pyc:602 - Executing popen: ['G:\\armory_testing\\ArmoryStandalone_0.89.99.2_win_all\\ArmoryStandalone\\guardian.exe', '2876', '5556']
(INFO) ArmoryQt.py:773 - setupUriRegistration
(INFO) ArmoryQt.py:812 - Armory already registered for current user.  Done!
(INFO) armoryengine.pyc:11260 - Creating proxy in SDM: host=127.0.0.1, port=8332
(INFO) ArmoryQt.py:4214 - Dashboard switched to auto-InitSync
(INFO) ArmoryQt.py:3687 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
(INFO) ArmoryQt.py:3687 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
(INFO) ArmoryQt.py:3629 - Switching Armory functional mode to "Offline"
(INFO) ArmoryQt.py:529 - Usermode: Expert
(INFO) ArmoryQt.py:1019 - Changing usermode:
(INFO) ArmoryQt.py:1020 -    From: Expert
(INFO) ArmoryQt.py:1028 -      To: Expert
(INFO) armoryengine.pyc:10746 - Signature on signed data block is GOOD!
(INFO) ArmoryQt.py:1158 - Latest versions:
(INFO) ArmoryQt.py:1159 -    Satoshi: 0.8.1
(INFO) ArmoryQt.py:1160 -     Armory: 0.88
(INFO) ArmoryQt.py:1169 - You are running the latest version!
(INFO) ArmoryQt.py:4214 - Dashboard switched to auto-InitSync
(INFO) ArmoryQt.py:3687 - Switching Armory state text to Mgmt:Auto, State:InitializingDoneSoon
(INFO) ArmoryQt.py:3687 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
(INFO) ArmoryQt.py:3629 - Switching Armory functional mode to "Offline"
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 21 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 62016481, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (62016481)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887837
(INFO) armoryengine.pyc:10446 -    StartHeight: 259494
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 22 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 45243962, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (45243962)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 23 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 76143845, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (76143845)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887840
(INFO) armoryengine.pyc:10446 -    StartHeight: 259496
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001be2ae056523401720da306758e54f2551153ac6a23c3dd01b
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 24 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 72244790, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (72244790)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10498 - Received new block.  0000000000000004cc3c8821fc424901030665fa1de9f3286525a8be31c954d0
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887841
(INFO) armoryengine.pyc:10446 -    StartHeight: 259497
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001be2ae056523401720da306758e54f2551153ac6a23c3dd01b
(INFO) armoryengine.pyc:10498 - Received new block.  0000000000000004cc3c8821fc424901030665fa1de9f3286525a8be31c954d0
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887841
(INFO) armoryengine.pyc:10446 -    StartHeight: 259497
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000243d5372d0e637f7b047c041af5f598a7accabeeba1a2cbf50
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 25 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 97531984, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (97531984)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000243d5372d0e637f7b047c041af5f598a7accabeeba1a2cbf50
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000243d5372d0e637f7b047c041af5f598a7accabeeba1a2cbf50
(INFO) armoryengine.pyc:10498 - Received new block.  0000000000000004cc3c8821fc424901030665fa1de9f3286525a8be31c954d0
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887842
(INFO) armoryengine.pyc:10446 -    StartHeight: 259498
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000243d5372d0e637f7b047c041af5f598a7accabeeba1a2cbf50
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000034ba3c3c3cf4660bdc0f4c7b17c2bbb9af0c1a0e6264a6df0
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 26 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 29566096, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (29566096)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000034ba3c3c3cf4660bdc0f4c7b17c2bbb9af0c1a0e6264a6df0
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000034ba3c3c3cf4660bdc0f4c7b17c2bbb9af0c1a0e6264a6df0
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000034ba3c3c3cf4660bdc0f4c7b17c2bbb9af0c1a0e6264a6df0
(INFO) armoryengine.pyc:10442 - Received version message from peer:
(INFO) armoryengine.pyc:10443 -    Version:     70001
(INFO) armoryengine.pyc:10444 -    SubVersion:  /Satoshi:0.8.1/
(INFO) armoryengine.pyc:10445 -    TimeStamp:   1379887843
(INFO) armoryengine.pyc:10446 -    StartHeight: 259499
(INFO) armoryengine.pyc:10624 - Handshake finished, connection open!
(INFO) armoryengine.pyc:10498 - Received new block.  00000000000000034ba3c3c3cf4660bdc0f4c7b17c2bbb9af0c1a0e6264a6df0
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001e0c0e2fda15f09f1ca1658e3b0f623d68f2db03e3f277b118
(INFO) ArmoryQt.py:4497 - Starting load blockchain
(INFO) ArmoryQt.py:1300 - loadBlockchainIfNecessary
(ERROR) ArmoryQt.py:646 - 27 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(INFO) ArmoryQt.py:1346 - Setting netmode: 1
(INFO) armoryengine.pyc:12324 - Setting online mode: True (wait=False)
(INFO) armoryengine.pyc:13245 - Go online requested
(INFO) armoryengine.pyc:12766 - Called __startLoadBlockchain()
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 29892524, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (29892524)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(INFO) armoryengine.pyc:10353 - Connection initiated.  Start handshake
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001e0c0e2fda15f09f1ca1658e3b0f623d68f2db03e3f277b118
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001e0c0e2fda15f09f1ca1658e3b0f623d68f2db03e3f277b118
(INFO) armoryengine.pyc:10498 - Received new block.  000000000000001e0c0e2fda15f09f1ca1658e3b0f623d68f2db03e3f277b118
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
legendary
Activity: 1232
Merit: 1094
There's two different problems.  The $(DESKTOP) issue is one that is a simple bug I can fix.  The app shouldn't crash because it can't find the desktop folder.

The other problem is it trying to set the new LevelDB directory, which it attempts to create as

Code:
os.path.join(ARMORY_HOME_DIR, 'databases')

It appears that the result of that operation is getting passed to the SWIG'd C++ code, and throwing an error.  Either because it's expecting a string and got something else, or we passed a string and it was expecting something else.  I would get it's the first problem, and that os.path.join is returning a unicode output that is not handled properly. 

Ahh ok.  I am still getting this error:

Code:
(ERROR) ArmoryQt.py:646 - 8 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 87485194, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (87485194)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(ERROR) ArmoryQt.py:646 - 9 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 43561706, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (43561706)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(ERROR) ArmoryQt.py:646 - 10 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 48373466, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (48373466)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'

I started the program with this shortcut

"G:\armory testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\ArmoryQt.exe" --datadir=G:\armory testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\datadir

Maybe, I need to use forward slashes?
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
Could it be a unicode issue?  Do you have non-ASCII characters in your paths?  Unfortunately, the error does not explain what the expected and supplied data types were.  But it wouldn't surprise me if "type 'unicode'" was one of those...

The issue is that if the %HOME%/Desktop directory doesn't exist, then there is an error and it doesn't check any more locations.

I think the code here needs to check if the path exists before checking if path/*.* exists.

I will try the re-download.

There's two different problems.  The $(DESKTOP) issue is one that is a simple bug I can fix.  The app shouldn't crash because it can't find the desktop folder.

The other problem is it trying to set the new LevelDB directory, which it attempts to create as

Code:
os.path.join(ARMORY_HOME_DIR, 'databases')

It appears that the result of that operation is getting passed to the SWIG'd C++ code, and throwing an error.  Either because it's expecting a string and got something else, or we passed a string and it was expecting something else.  I would get it's the first problem, and that os.path.join is returning a unicode output that is not handled properly. 
legendary
Activity: 1232
Merit: 1094
Could it be a unicode issue?  Do you have non-ASCII characters in your paths?  Unfortunately, the error does not explain what the expected and supplied data types were.  But it wouldn't surprise me if "type 'unicode'" was one of those...

The issue is that if the %HOME%/Desktop directory doesn't exist, then there is an error and it doesn't check any more locations.

I think the code here needs to check if the path exists before checking if path/*.* exists.

I will try the re-download.
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
legendary
Activity: 1232
Merit: 1094
The update still suffers from that issue that I PM-ed you about a while back.  (Granted not a critical issue Smiley )

If the HOME environment variable is set incorrectly, then it can't start the reference client.

Code:
(ERROR) ArmoryQt.py:1271 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1267, in startBitcoindIfNecessary
  File "armoryengine.pyc", line 10827, in setupSDM
  File "armoryengine.pyc", line 10891, in findBitcoind
WindowsError: [Error 3] The system cannot find the path specified: 'e:\\cygwin\\home\\coding\\Desktop/*.*'

[edit]
Creating the Desktop directory in my alternative home direction seems to fix things
[/edit]

[edit2]
When I start, it says that I have started by clicking on a bitcoin: link, but should try again when Armory is online (since transactions are not possible).
[/edit2]

[edit3]
It crashes after around a minute

When it crashes, it doesn't kill the bitcoin daemon.  I have to manually use "bitcoind stop" to stop it (or kill the process).

guardian.exe doesn't appear to be in the .zip file.

Code:
(ERROR) armoryengine.pyc:10973 - Could not find guardian script: G:\armory testing\ArmoryStandalone_0.89.99.2_win_all\ArmoryStandalone\guardian.exe
(ERROR) ArmoryQt.py:1271 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 1268, in startBitcoindIfNecessary
  File "armoryengine.pyc", line 11105, in startBitcoind
  File "armoryengine.pyc", line 10974, in getGuardianPath
FileExistsError
(ERROR) ArmoryQt.py:646 - 6 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 35672076, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (35672076)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(ERROR) ArmoryQt.py:646 - 7 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:651 - File mempool.bin does not exist. Nothing deleted.
(ERROR) armoryengine.pyc:13270 - Error processing BDM input
(ERROR) armoryengine.pyc:13271 - Received inputTuple: GoOnlineRequested [13, 3242000, False]
(ERROR) armoryengine.pyc:13272 - Error processing ID (3242000)
(ERROR) armoryengine.pyc:13273 - ERROR:
Traceback (most recent call last):
  File "armoryengine.pyc", line 13256, in run
  File "armoryengine.pyc", line 12808, in __startLoadBlockchain
  File "CppBlockUtils.pyc", line 1230, in SetBlkFileLocation
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'

[/edit3]
full member
Activity: 157
Merit: 100
Hello!
Windows XP PRO
AMD Athlon X2 5200+
300GB HDD
4 GB RAM

I know, it's kinda crappy. Tongue

Well, I want it to be supported on such systems.  So this is a good test.  I wonder if it's an issue with Windows XP.  For instance, I bet if I setup the new build environment in Windows XP, it would be forward compatible with Win7 and Win8, but not the other way around (it's being built on Win7-64bit right now, but as a 32-bit app).

I assume your Windows XP system is 32-bit... correct?
Yes, sorry. Smiley
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
Windows XP PRO
AMD Athlon X2 5200+
300GB HDD
4 GB RAM

I know, it's kinda crappy. Tongue

Well, I want it to be supported on such systems.  So this is a good test.  I wonder if it's an issue with Windows XP.  For instance, I bet if I setup the new build environment in Windows XP, it would be forward compatible with Win7 and Win8, but not the other way around (it's being built on Win7-64bit right now, but as a 32-bit app).

I assume your Windows XP system is 32-bit... correct?
full member
Activity: 157
Merit: 100
Hello!
Windows XP PRO
AMD Athlon X2 5200+
300GB HDD
4 GB RAM

I know, it's kinda crappy. Tongue
Pages:
Jump to: