Author

Topic: armory hangs at "initializing bitcoin engine" at 80% (Read 892 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
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.
newbie
Activity: 50
Merit: 0
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?
newbie
Activity: 4
Merit: 0
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!
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
newbie
Activity: 4
Merit: 0
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
newbie
Activity: 4
Merit: 0
sweet. that got past the initializing hang! thanks
staff
Activity: 3458
Merit: 6793
Just writing some code
newbie
Activity: 4
Merit: 0
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?
Jump to: