Pages:
Author

Topic: Armory 0.95.1 is out - page 8. (Read 12835 times)

legendary
Activity: 2912
Merit: 1060
November 18, 2016, 02:27:13 AM
#49
ArmoryDB crashed for the second time for me. It seems to only last a day.

-INFO  - 1479382764: (..\BlockchainScanner.cpp:650) scanned from height #439366 to #439366
-INFO  - 1479382785: (..\BlockchainScanner.cpp:650) scanned from height #439367 to #439367
-INFO  - 1479383631: (..\BlockchainScanner.cpp:650) scanned from height #439368 to #439368
-INFO  - 1479384608: (..\BlockchainScanner.cpp:650) scanned from height #439369 to #439369
-INFO  - 1479387881: (..\BlockchainScanner.cpp:650) scanned from height #439370 to #439370
-ERROR - 1479388818: (..\BitcoinP2P.cpp:865) caught BitcoinP2P_Exception in processDataStackThread: invalid header size
-INFO  - 1479388818: (..\BitcoinP2P.cpp:804) Disconnected from Bitcoin node
-INFO  - 1479388818: (..\BitcoinP2P.cpp:783) Connected to Bitcoin node
-ERROR - 1479388818: (..\BitcoinP2P.cpp:865) caught BitcoinP2P_Exception in processDataStackThread: invalid header size
-ERROR - 1479388820: (..\SocketObject.cpp:125) poll() error in writeToSocket: 10038
-ERROR - 1479388820: (..\SocketObject.cpp:125) poll() error in writeToSocket: 10038
-ERROR - 1479388820: (..\SocketObject.cpp:125) poll() error in writeToSocket: 10038
newbie
Activity: 30
Merit: 0
November 17, 2016, 11:09:17 PM
#48
Thanks Goatpig

The file /home/rojaslee/.bitcoin/bitcoin.conf was not to be found so I opted to control Bitcoin-QT separately.

Thanks for helping the troubleshoot.
Best wishes

Rod
legendary
Activity: 3640
Merit: 1345
Armory Developer
November 17, 2016, 03:24:24 PM
#47
Code:
-INFO  - 1479389759: (BitcoinP2P.cpp:783) Connected to Bitcoin node

Bitcoin was running at least this one time, otherwise the DB wouldn't be able to connect.

Quote
Bitcoin QT is not installed globally so I can't really run it from the terminal like that, or I don't know how to do it. Do you need me to install it globally?

That's ok, you can cd to the folder and start the Binary yourself.

The JSON issue you are getting is that Armory (the client) fails to talk to your Bitcoin node over the RPC. This shouldn't prevent the client from processing further unless auto bitcoind management is enabled, in which case the client wants to query the bitcoind status (through the JSON RPC) to know when it is ready, before moving on.

So right now I'm guessing you have auto bitcoind enabled.

You have 2 solutions:

1) Turn off auto bitcoind (in File -> Settings in the Armory client) and manage bitcoin-qt yourself.

2) Open this file:

/home/rojaslee/.bitcoin/bitcoin.conf

and add this line:

server=1

Save it and start armory (just client, not the DB).
newbie
Activity: 30
Merit: 0
November 17, 2016, 09:42:37 AM
#46
sorry for the delay

Code:
rojaslee@debian:~$ killall armory
armory: no process found
rojaslee@debian:~$ killall bitcoind
rojaslee@debian:~$ killall ArmoryDB
ArmoryDB: no process found
rojaslee@debian:~$ ArmoryDB
/home/rojaslee
logging in /home/rojaslee/.armory/dbLog.txt
-INFO  - 1479389728: (main.cpp:23) Running on 4 threads
-INFO  - 1479389728: (main.cpp:24) Ram usage level: 4
-INFO  - 1479389728: (BlockUtils.cpp:1338) blkfile dir: /home/rojaslee/.bitcoin/blocks
-INFO  - 1479389728: (BlockUtils.cpp:1339) lmdb dir: /home/rojaslee/.armory/databases
-INFO  - 1479389728: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1479389728: (BlockUtils.cpp:1521) Executing: doInitialSyncOnLoad
-INFO  - 1479389728: (DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1479389738: (DatabaseBuilder.cpp:208) Found 439278 headers in db
-INFO  - 1479389741: (DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1479389744: (DatabaseBuilder.cpp:268) parsed block file #680
-INFO  - 1479389746: (DatabaseBuilder.cpp:268) parsed block file #681
-DEBUG - 1479389746: (Blockchain.cpp:242) Organizing chain
-INFO  - 1479389746: (DatabaseBuilder.cpp:56) updated HEADERS db in 4.00843s
-INFO  - 1479389746: (BlockUtils.cpp:1636) Enabling zero-conf tracking
-INFO  - 1479389759: (BitcoinP2P.cpp:783) Connected to Bitcoin node



Code:
rojaslee@debian:~$ armory
/usr/lib/armory/armoryengine/Transaction.py:2760: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(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 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
(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 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
(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 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
(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 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
(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 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
rojaslee@debian:~$


Bitcoin QT is not installed globally so I can't really run it from the terminal like that, or I don't know how to do it. Do you need me to install it globally?





legendary
Activity: 3640
Merit: 1345
Armory Developer
November 16, 2016, 10:57:31 PM
#45
in Debian Linux if you get "command not found" then you usually need to call the name of the program first.


Did you want those commands in separate terminals as before?  or one after the other in the same terminal?

These are command names, not command line arguments. All cli arg for armory start with --. If the command is not found, it's just a caps issue or a typo.
newbie
Activity: 15
Merit: 0
November 16, 2016, 10:33:46 PM
#44
I am still on the last version of the old armory on windows.  Will I still be able to keep my wallet on there and for how long before I need to move them? 
newbie
Activity: 30
Merit: 0
November 16, 2016, 07:23:51 PM
#43
i dont know where you got the idea that armory + some name would have any effect.



in Debian Linux if you get "command not found" then you usually need to call the name of the program first.


Did you want those commands in separate terminals as before?  or one after the other in the same terminal?
legendary
Activity: 3640
Merit: 1345
Armory Developer
November 16, 2016, 02:26:59 PM
#42
i dont know where you got the idea that armory + some name would have any effect.

Run the following:

ArmoryDB
armory
bitcoin-qt
newbie
Activity: 30
Merit: 0
November 16, 2016, 01:47:25 PM
#41
no problem


Code:
rojaslee@debian:~$ ArmoryDB
/home/rojaslee
logging in /home/rojaslee/.armory/dbLog.txt
-INFO  - 1479318205: (main.cpp:23) Running on 4 threads
-INFO  - 1479318205: (main.cpp:24) Ram usage level: 4
-INFO  - 1479318205: (BlockUtils.cpp:1338) blkfile dir: /home/rojaslee/.bitcoin/blocks
-INFO  - 1479318205: (BlockUtils.cpp:1339) lmdb dir: /home/rojaslee/.armory/databases
-INFO  - 1479318205: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1479318205: (BlockUtils.cpp:1521) Executing: doInitialSyncOnLoad
-INFO  - 1479318205: (DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1479318208: (DatabaseBuilder.cpp:208) Found 439241 headers in db
-INFO  - 1479318210: (DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1479318210: (DatabaseBuilder.cpp:477) Found next block after skipping 297810bytes
-INFO  - 1479318211: (DatabaseBuilder.cpp:268) parsed block file #680
-DEBUG - 1479318211: (Blockchain.cpp:242) Organizing chain
-INFO  - 1479318211: (DatabaseBuilder.cpp:56) updated HEADERS db in 0.636224s
-INFO  - 1479318211: (BlockUtils.cpp:1636) Enabling zero-conf tracking
-INFO  - 1479318245: (BitcoinP2P.cpp:783) Connected to Bitcoin node
-INFO  - 1479318249: (BlockchainScanner.cpp:52) no history to scan



Code:
rojaslee@debian:~$ ArmoryQT
bash: ArmoryQT: command not found
rojaslee@debian:~$



output for $ armory ArmoryQT

https://dl.dropboxusercontent.com/u/48114501/ArmoryQT2.txt
legendary
Activity: 3640
Merit: 1345
Armory Developer
November 16, 2016, 01:32:40 PM
#40
Ok I messed up. I want you to run 1 ArmoryDB and 1 ArmoryQt, not 2x ArmoryDB.
newbie
Activity: 30
Merit: 0
November 16, 2016, 12:41:31 PM
#39
I capitalized. I assumed you wanted that.

Code:
rojaslee@debian:~$ ArmoryDB
/home/rojaslee
logging in /home/rojaslee/.armory/dbLog.txt
-INFO  - 1479314446: (main.cpp:23) Running on 4 threads
-INFO  - 1479314446: (main.cpp:24) Ram usage level: 4
-INFO  - 1479314446: (BlockUtils.cpp:1338) blkfile dir: /home/rojaslee/.bitcoin/blocks
-INFO  - 1479314446: (BlockUtils.cpp:1339) lmdb dir: /home/rojaslee/.armory/databases
-INFO  - 1479314446: (lmdb_wrapper.cpp:388) Opening databases...
-ERROR - 1479314446: (BDM_Server.cpp:953) There is already a process listening on 127.0.0.1:9001
-ERROR - 1479314446: (BDM_Server.cpp:955) ArmoryDB cannot start under these conditions. Shutting down!
-ERROR - 1479314446: (BDM_Server.cpp:956) Make sure to shutdown the conflicting processbefore trying again (most likely another ArmoryDB instance).
rojaslee@debian:~$
legendary
Activity: 3640
Merit: 1345
Armory Developer
November 16, 2016, 12:36:33 PM
#38
Just start armorydb from another terminal now.
newbie
Activity: 30
Merit: 0
November 16, 2016, 08:50:45 AM
#37
Oh, thanks for the correction Goatpig:

Code:
rojaslee@debian:~$ ArmoryDB
/home/rojaslee
logging in /home/rojaslee/.armory/dbLog.txt
-INFO  - 1479300560: (main.cpp:23) Running on 4 threads
-INFO  - 1479300560: (main.cpp:24) Ram usage level: 4
-INFO  - 1479300560: (BlockUtils.cpp:1338) blkfile dir: /home/rojaslee/.bitcoin/blocks
-INFO  - 1479300560: (BlockUtils.cpp:1339) lmdb dir: /home/rojaslee/.armory/databases
-INFO  - 1479300560: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1479300560: (BlockUtils.cpp:1521) Executing: doInitialSyncOnLoad
-INFO  - 1479300560: (DatabaseBuilder.cpp:169) Reading headers from db
-WARN  - 1479300560: (lmdb_wrapper.cpp:1175) No headers in DB yet!
-INFO  - 1479300560: (DatabaseBuilder.cpp:208) Found 1 headers in db
-INFO  - 1479300560: (DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1479300560: (BitcoinP2P.cpp:783) Connected to Bitcoin node
-INFO  - 1479300563: (DatabaseBuilder.cpp:268) parsed block file #1
-INFO  - 1479300565: (DatabaseBuilder.cpp:268) parsed block file #2
-INFO  - 1479300567: (DatabaseBuilder.cpp:268) parsed block file #3
-INFO  - 1479300569: (DatabaseBuilder.cpp:268) parsed block file #5
-INFO  - 1479300570: (DatabaseBuilder.cpp:268) parsed block file #6
-INFO  - 1479300571: (DatabaseBuilder.cpp:268) parsed block file #7
-INFO  - 1479300574: (DatabaseBuilder.cpp:268) parsed block file #9
-INFO  - 1479300575: (DatabaseBuilder.cpp:268) parsed block file #10
-INFO  - 1479300576: (DatabaseBuilder.cpp:268) parsed block file #11
-INFO  - 1479300579: (DatabaseBuilder.cpp:268) parsed block file #13
-INFO  - 1479300580: (DatabaseBuilder.cpp:268) parsed block file #14
-INFO  - 1479300581: (DatabaseBuilder.cpp:268) parsed block file #15
-INFO  - 1479300584: (DatabaseBuilder.cpp:268) parsed block file #17
-INFO  - 1479300585: (DatabaseBuilder.cpp:268) parsed block file #18
-INFO  - 1479300586: (DatabaseBuilder.cpp:268) parsed block file #19
-INFO  - 1479300589: (DatabaseBuilder.cpp:268) parsed block file #21


and the log entries keep going, seemingly without stop
staff
Activity: 3374
Merit: 6530
Just writing some code
November 16, 2016, 12:39:07 AM
#36
because armorydb alone yields the follwing

Code:
rojaslee@debian:~$ armorydb
bash: armorydb: command not found
rojaslee@debian:~$

same for armoryDB

Code:
rojaslee@debian:~$ armoryDB
bash: armoryDB: command not found
rojaslee@debian:~$
What about ArmoryDB (with caps A)? I believe that is actually what the binary is called.
newbie
Activity: 30
Merit: 0
November 16, 2016, 12:17:05 AM
#35
because armorydb alone yields the follwing

Code:
rojaslee@debian:~$ armorydb
bash: armorydb: command not found
rojaslee@debian:~$

same for armoryDB

Code:
rojaslee@debian:~$ armoryDB
bash: armoryDB: command not found
rojaslee@debian:~$
newbie
Activity: 30
Merit: 0
November 16, 2016, 12:00:27 AM
#34
Is this your input when trying to run armorydb?

Code:
> armory armorydb



Yes.

In both instances that was the command
legendary
Activity: 3640
Merit: 1345
Armory Developer
November 15, 2016, 11:44:06 PM
#33
Is this your input when trying to run armorydb?

Code:
> armory armorydb

newbie
Activity: 30
Merit: 0
November 15, 2016, 11:38:24 PM
#32
and here it is after closing bitcoind

https://dl.dropboxusercontent.com/u/48114501/armorydb2.txt
newbie
Activity: 30
Merit: 0
November 15, 2016, 11:24:08 PM
#31
Show me the terminal output when running armorydb.

Code:
rojaslee@debian:~$ armory armorydb
/usr/lib/armory/armoryengine/Transaction.py:2760: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(WARNING) ArmoryQt.py:2233 - Tried to start bitcoind, but satoshi already running

legendary
Activity: 3640
Merit: 1345
Armory Developer
November 15, 2016, 11:19:34 PM
#30
Show me the terminal output when running armorydb.
Pages:
Jump to: