Bitcoin Forum
May 04, 2024, 06:04:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Armory / Failed to create BlockDataMap on: August 02, 2022, 12:16:56 AM
Bitcoin Client Software and Version Number: Armoury 0.96.5, Bitcoin Core 23.0
Operating System: MacOS 10.15.7
System Hardware Specs: 16 GB RAM, Core i5
Description of Problem: Armory never comes online, creates rapidly growing log file if process is not quit.  Error from dblog.txt file:

...
-WARN  - 14:23:48: (BlockDataMap.cpp:315) Trying again...
-WARN  - 14:23:48: (BlockDataMap.cpp:314) Failed to create BlockDataMap for file: /Users/billd/Library/Application Support/Bitcoin/blocks/blk00000.dat
-WARN  - 14:23:48: (BlockDataMap.cpp:315) Trying again...
-WARN  - 14:23:48: (BlockDataMap.cpp:314) Failed to create BlockDataMap for file: /Users/billd/Library/Application Support/Bitcoin/blocks/blk00000.dat
-WARN  - 14:23:48: (BlockDataMap.cpp:315) Trying again...
-WARN  - 14:23:48: (BlockDataMap.cpp:314) Failed to create BlockDataMap for file: /Users/billd/Library/Application Support/Bitcoin/blocks/blk00000.dat
...

Background:
I downloaded BitcoinCore (430GB) and after it completed I started up Armory.  The GUI starts but there is no change to the "Preparing Database" window.  Armory is not frozen/crashed as I can use the menu and manipulate the GUI.  But, the above error repeats in the log until I kill the process - this file quickly gets to be 10s of GBs.

I have removed the Armory database directory and retried. I also tried using the default pathing as well as specifying things explicitly.  Still get the error.  From the logs it seems like the pathing is fine.

The only non-standard thing (that was a recommended solution) is I am using a sym link from  /Users/billd/Library/Application Support/Bitcoin/ to an external SSD due to the space requirements of Bitcoin Core.  The log error leads me to believe that Armory is seeing the blocks but for some reason can not create the BlockDataMap Huh

thanks for any help and continuing to develop Armory !

Armorylog.txt

2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1164 - C++ block utilities loaded successfully
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: sysctl hw.memsize
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: sysctl -n machdep.cpu.brand_string
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1281 -
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1282 -
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1283 -
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1284 - ************************************************************
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1285 - Invoked: /Users/billd/Applications/tmp/Armory.app/Contents/MacOS/py/usr/local/lib/armory/ArmoryQt.py
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1286 - ************************************************************
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1287 - Loading Armory Engine:
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1288 -    Armory Version        : 0.96.5
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1289 -    Armory Build:         : 8730390989
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1290 -    PyBtcWallet  Version  : 1.35
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1291 - Detected Operating system: MacOSX
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1292 -    OS Variant            : 10.15.7
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1293 -    User home-directory   : /Users/billd/Library/Application Support
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1294 -    Satoshi BTC directory : /Users/billd/Library/Application Support/Bitcoin
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1295 -    Armory home dir       : /Users/billd/Library/Application Support/Armory/
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1296 - Detected System Specs    :
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1297 -    Total Available RAM   : 16.00 GB
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1298 -    CPU ID string         : Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz

2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1299 -    Number of CPU cores   : 4 cores
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1300 -    System is 64-bit      : True
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1301 -    Preferred Encoding    : Unknown
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1302 -    Machine Arch          : x86_64
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1303 -    Available HDD (ARM)   : 432 GB
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1304 -    Available HDD (BTC)   : 1413 GB
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1305 -
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1306 - Network Name: Main Network
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1307 - Satoshi Port: 8333
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1308 - Do wlt check: True
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1309 - Named options/arguments to armoryengine.py:
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     force_segwit    : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     nettimeout      : 2
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     rescan          : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     force_fcgi      : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     ignoreAllZC     : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     rescanBalance   : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     disableModules  : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     port            : None
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     interport       : 8223
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     coverageOutputDir: None
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     forceWalletCheck: False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     regtest         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     rebuild         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     thread_count    : -1
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     datadir         : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     clearMempool    : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     offline         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     armoryDBDir     : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     armorydb_port   : 9001
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     psn             : None
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     satoshiPort     : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     disableConfPermis: False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     useTorSettings  : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     netlog          : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     keypool         : 100
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     coverageInclude : None
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     forceOnline     : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     disableWalletCheck: False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     redownload      : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     rpcBindAddr     : 127.0.0.1
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     armorydb_ip     : 127.0.0.1
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     multisigFile    : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     ram_usage       : -1
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     ignoreZC        : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     logDisable      : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     settingsPath    : /Users/billd/Library/Application Support/Armory/ArmorySettings.txt
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     language        : en
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     db_type         : DB_FULL
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     doDebug         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     enableDetSign   : True
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     mtdebug         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     testnet         : False
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     rpcport         : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     satoshiHome     : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     satoshiRpcport  : DEFAULT
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     logFile         : /Users/billd/Library/Application Support/Armory/ArmoryQt.py.log.txt
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1311 -     verbosity       : None
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1312 - Other arguments:
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1315 - ************************************************************
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:1720 - C++ block utilities loaded successfully
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:3578 - Using settings file: /Users/billd/Library/Application Support/Armory/ArmorySettings.txt
2022-07-30 13:09:52 (ERROR) -- ArmoryUtils.py:3735 - Unsupported language  specified. Defaulting to English (en)
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:3738 - Using Language: en
2022-07-30 13:09:52 (INFO) -- BDM.py:353 - Using the asynchronous/multi-threaded BlockDataManager.
2022-07-30 13:09:52 (INFO) -- BDM.py:354 - Blockchain operations will happen in the background. 
2022-07-30 13:09:52 (INFO) -- BDM.py:355 - Devs: check TheBDM.getState() before asking for data.
2022-07-30 13:09:52 (INFO) -- BDM.py:356 - Registering addresses during rescans will queue them for
2022-07-30 13:09:52 (INFO) -- BDM.py:357 - inclusion after the current scan is completed.
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:3578 - Using settings file: /Users/billd/Library/Application Support/Armory/ArmorySettings.txt
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:2060 - loadWalletsAndSettings
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:2120 - Loading wallets...
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:2185 - Number of wallets read in: 0
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1763 - acquiring process mutex...
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1395 - setupUriRegistration
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:566 - Usermode: Advanced
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1698 - Changing usermode:
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1699 -    From: Advanced
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1707 -      To: Advanced
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1836 - startBitcoindIfNecessary
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths
2022-07-30 13:09:52 (WARNING) -- SDM.py:402 - Spawning DB with command: /Users/billd/Applications/tmp/Armory.app/Contents/MacOS/py/usr/local/lib/armory/../../bin/ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/Users/billd/Library/Application Support/Bitcoin/blocks" --satoshi-port=8333 --datadir="/Users/billd/Library/Application Support/Armory/" --dbdir="/Users/billd/Library/Application Support/Armory/databases"
2022-07-30 13:09:52 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['/Users/billd/Applications/tmp/Armory.app/Contents/MacOS/py/usr/local/lib/armory/../../bin/ArmoryDB', '--db-type="DB_FULL"', '--cookie', '--satoshi-datadir="/Users/billd/Library/Application Support/Bitcoin/blocks"', '--satoshi-port=8333', '--datadir="/Users/billd/Library/Application Support/Armory/"', '--dbdir="/Users/billd/Library/Application Support/Armory/databases"']
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1824 - Connecting on port 55999
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1905 - loadBlockchainIfNecessary
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-07-30 13:09:52 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-07-30 13:37:30 (INFO) -- ArmoryQt.py:5477 - BDM is safe for clean shutdown
2022-07-30 13:37:30 (INFO) -- SDM.py:465 - Called stopBitcoind
2022-07-30 13:37:30 (INFO) -- SDM.py:471 - ...but bitcoind is not running, to be able to stop


Screenshot of the problem:
Log Files from the Bitcoin Client:
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!