Bitcoin Forum
May 02, 2024, 06:24:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: armory hangs at "initializing bitcoin engine" at 80%  (Read 854 times)
rogue_phoenix (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 13, 2016, 11:31:16 PM
 #1

I've used armory in the past, and have several wallets set up. It worked before in previous versions, though the last time I used it successfully was a year-ish ago. I installed new versions of Armory 0.93.3-beta-e59e10d38c and bitcoin core 0.13.0, and since then, it has not worked yet.

I launched bitcoin core and let it get caught up. Then closing bitcoin core, opening Armory, it gets to this point:

https://scontent-sea1-1.xx.fbcdn.net/v/t1.0-9/15073332_10210867242654966_3177572794794831949_n.jpg?oh=6a01c3b1dfc743a944235c158dea5ed4&oe=589283F1

It consistently hangs at 80%, sometimes hanging at 77% (rarely, but that's where it stuck this time). It has stayed there for longer than two weeks (in September).

Thoughts?
1714674286
Hero Member
*
Offline Offline

Posts: 1714674286

View Profile Personal Message (Offline)

Ignore
1714674286
Reply with quote  #2

1714674286
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714674286
Hero Member
*
Offline Offline

Posts: 1714674286

View Profile Personal Message (Offline)

Ignore
1714674286
Reply with quote  #2

1714674286
Report to moderator
1714674286
Hero Member
*
Offline Offline

Posts: 1714674286

View Profile Personal Message (Offline)

Ignore
1714674286
Reply with quote  #2

1714674286
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6577


Just writing some code


View Profile WWW
November 13, 2016, 11:35:18 PM
 #2

Use 0.95.1. Get it from https://btcarmory.com/0.95.1-release/.

rogue_phoenix (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 14, 2016, 01:49:46 AM
 #3

sweet. that got past the initializing hang! thanks
rogue_phoenix (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 14, 2016, 01:07:27 PM
 #4

ok now it appears to hang with the Initializing Bitcoin Engine bar full. The circle with the green triangles is still rotating, and there is some text after "scan transaction history" that says "0% 1 second". It's been in this state for 8+ hours.

https://scontent-sea1-1.xx.fbcdn.net/v/t1.0-9/15095549_10210872429104624_8203023900646787143_n.jpg?oh=1b8cb4f1a06b94b2120a4ca614511380&oe=58908CAA
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6577


Just writing some code


View Profile WWW
November 14, 2016, 01:22:59 PM
 #5

This seems to happen a lot now...

Shut down Armory. Open up the task manager and make sure that there is no process named "ArmoryDB" running. If there is, kill it. Then start Armory again. You may also need to run Bitcoin Core and Armory separately.

rogue_phoenix (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
November 14, 2016, 10:01:49 PM
 #6

running bitcoind and armory separately appears to have allowed Armory to begin building databases. Interestingly, ArmoryDB.exe wasn't in my tasks list when allowing Armory to run bitcoind in the background. Now ArmoryDB.exe has its own text window and is reporting which blocks it's parsed.

Thank you!
ChazM
Newbie
*
Offline Offline

Activity: 50
Merit: 0



View Profile
November 16, 2016, 08:33:09 PM
 #7

I'm also having the build database error on 0.95.1 with Core 0.13.1 on Ubuntu. I have killed bitcoind, and closed Armory (there was no ArmoryDB running in Ubuntu). I start bitcoind first and then run Armory, but Armory complains that Core is running and I must shut it down. I assumed this was because I didn't have an RPC username and password, but the bitcoin.conf is empty and armory doesn't seem to be creating it as usual.

However, once I kill bitcoind and have armory check again it runs and gets the Build Database error. I did run armory from terminal and this error seems to keep repeating which is why it's not going anywhere:

Code:
(ERROR) SDM.py:791 - ValueError in bkgd req top blk
Traceback (most recent call last):
  File "/usr/lib/armory/SDM.py", line 765, in __backgroundRequestTopBlock
    numblks = self.proxy.getinfo()['blocks']
  File "/usr/lib/armory/bitcoinrpc_jsonrpc/authproxy.py", line 105, in __call__
    resp = json.loads(resp, parse_float=decimal.Decimal)
  File "/usr/lib/python2.7/json/__init__.py", line 352, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

A couple things - after a full factory reset of Armory it doesn't create the bitcoin.conf file with the RPC codes. Had it stopped doing that in recent updates? Does Armory require Python 3?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6577


Just writing some code


View Profile WWW
November 16, 2016, 09:06:32 PM
 #8

I'm also having the build database error on 0.95.1 with Core 0.13.1 on Ubuntu.
Firstly, do not hijack someone else's thread. Make your own.

I have killed bitcoind, and closed Armory (there was no ArmoryDB running in Ubuntu). I start bitcoind first and then run Armory, but Armory complains that Core is running and I must shut it down. I assumed this was because I didn't have an RPC username and password, but the bitcoin.conf is empty and armory doesn't seem to be creating it as usual.
No. Please do not make these assumptions, especially when you do not know what has changed.

The reason that Armory is complaining that Core is running is because you still have it setup to auto manage the bitcoind. Just go to the settings and uncheck the setting that has Armory run Bitcoind in the background. Then try again.

However, once I kill bitcoind and have armory check again it runs and gets the Build Database error. I did run armory from terminal and this error seems to keep repeating which is why it's not going anywhere:
No. That error is unrelated. It is not why nothing is happening. Please do not assume when you do not actually know what is going on behind the scenes.

A couple things - after a full factory reset of Armory it doesn't create the bitcoin.conf file with the RPC codes. Had it stopped doing that in recent updates? Does Armory require Python 3?
That is intentional. Bitcoin Core deprecated the rpcuser and rpcpassword stuff in favor of cookie authentication (a per session user and pass) which can be easily obtained by Armory.

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!