Bitcoin Forum
May 14, 2024, 06:38:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 »  All
  Print  
Author Topic: 0.96 preliminary testing  (Read 6222 times)
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6637


Just writing some code


View Profile WWW
February 27, 2017, 02:07:14 AM
 #41

- There seems to be some sort of repo cloning issue. Every time I've cloned onto my Ubuntu VM, the FCGI subproject never downloads. I got around it by manually downloading the code and copying it over. Still, something's up, and I'm not sure what it is. (OSX is fine.)
When you clone, run
Code:
git submodule init
git submodule update
to get the fcgi submodule

It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
February 27, 2017, 02:18:50 AM
 #42

Found two more problems.

- There seems to be some sort of repo cloning issue. Every time I've cloned onto my Ubuntu VM, the FCGI subproject never downloads. I got around it by manually downloading the code and copying it over. Still, something's up, and I'm not sure what it is. (OSX is fine.)

- The C++ wallet mirroring seemed to pause when it hit an error.

Code:
(ERROR) ArmoryUtils.py:3217 - Error in pybkgdthread: 'WalletComparisonClass' object has no attribute 'tr'
Traceback (most recent call last):
  File "/home/droark/Projects/PersonalGitRepo/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3215, in run
self.output = self.func()
  File "/home/droark/Projects/PersonalGitRepo/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3152, in funcPartial
return thefunc(*args, **kwargs)
  File "/home/droark/Projects/PersonalGitRepo/BitcoinArmory/ui/WalletMirrorDialog.py", line 91, in walletComputation
reportTextProgress(self.tr("Checking imports for wallet %s").arg(wltID))
AttributeError: 'WalletComparisonClass' object has no attribute 'tr'

I'm also seeing some other errors on startup. The first one is repeated once, and the second is repeating multiple times.

Code:
(ERROR) Traceback (most recent call last):
  File "ArmoryQt.py", line 4797, in handleCppNotification
self.finishLoadBlockchainGUI()
  File "ArmoryQt.py", line 2437, in finishLoadBlockchainGUI
self.createCombinedLedger()
  File "ArmoryQt.py", line 2510, in createCombinedLedger
totalFunds += wlt.getBalance('Total')
TypeError: unsupported operand type(s) for +=: 'int' and 'SwigPyObject'

(...)

(ERROR) Traceback (most recent call last):
  File "/home/droark/Projects/PersonalGitRepo/BitcoinArmory/armorymodels.py", line 81, in data
dispStr = coin2str(bal, maxZeros=2)
  File "/home/droark/Projects/PersonalGitRepo/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
nBtc = float(nSatoshi) / float(ONE_BTC)
TypeError: float() argument must be a string or a number

These errors are fixed in dev

goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
February 28, 2017, 10:27:01 PM
 #43

    • Editing tx comments from main window yielded QString::arg: 1 argument(s) missing in Add %2 %2:
    • Using the wallet filters produced overlapping or incomplete results accompanied by -INFO  - 1487508653: (SocketObject.cpp:517) POLLIN recv return 0

    Fixed

    Quote
    • A little messing around with the "Use only selected UTXOs" option ended up with a bunch of  AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel' with differing tracebacks, followed by the fee adjustment failing altogether. Clicking Send! in that state produced an Insufficient Fee dialog with this text featuring "Your specified fee results in a rate of %d satoshis per byte/b>. This is much lower than the median satoshi/byte rate of %s BTC"

    Can't reproduce the coin control thing, you're gonna have to narrow it down. I got some other bug on the fee part that may cover what you found, more on that when that fix is out.

    Both the Create Wallet button and dropdown selection yields this:

    Code:
    Traceback (most recent call last):
      File "ArmoryQt.py", line 3456, in startWalletWizard
        walletWizard = WalletWizard(self, self)
      File "/home/user/BitcoinArmory/ui/Wizards.py", line 103, in __init__
        self.walletBackupPage = WalletBackupPage(self)
      File "/home/user/BitcoinArmory/ui/Wizards.py", line 307, in __init__
        WalletBackupFrame(wizard, wizard.main, wizard.tr("Backup Wallet")))
      File "/home/user/BitcoinArmory/ui/WalletFrames.py", line 807, in __init__
        self.featuresLbls[F.ProtGen] = MkFeatLabel(self.tr('Protects All Future Addresses'))
      File "/home/user/BitcoinArmory/ui/WalletFrames.py", line 806, in <lambda>
        MkFeatLabel = lambda x: QRichLabel(tr(x), doWrap=False)
    NameError: global name 'tr' is not defined

    ...and no Create Wallet dialog

    Fixed

    Another problem (and one that seems to have been around for years): The transaction export feature is broken. There are two problems.

    - In qtdialogs.py, order_ascending and order_descending aren't defined.
    - There's something wrong with SWIG. I got the following error on the command line when running the export command after defining the two order values.

    Code:
    (ERROR) Traceback (most recent call last):
      File "/Users/droark/Projects/private-goatpig-BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py/usr/lib/armory/qtdialogs.py", line 9504, in accept
        if self.createFile_CSV():
      File "/Users/droark/Projects/private-goatpig-BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py/usr/lib/armory/qtdialogs.py", line 9631, in createFile_CSV
        walletGroup = TheBDM.bdv().getStandAloneWalletGroup(wltIDList, order)
      File "/Users/droark/Projects/private-goatpig-BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py/usr/lib/armory/CppBlockUtils.py", line 2453, in <lambda>
        __getattr__ = lambda self, name: _swig_getattr(self, BlockDataViewer, name)
      File "/Users/droark/Projects/private-goatpig-BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py/usr/lib/armory/CppBlockUtils.py", line 80, in _swig_getattr
        raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
    AttributeError: 'BlockDataViewer' object has no attribute 'getStandAloneWalletGroup'

    This probably has to do with order_ascending and order_descending, which need to be HistoryOrdering objects. I can't seem to find examples in Git. Will keep looking and submit a PR if I can.

    EDIT: Okay, I think I found it. The Python code relies on code in BlockDataViewer.h/cpp. However, that code goes into ArmoryDB. SwigClient.h/cpp appears to have its own BlockDataViewer. This is what Python accesses. The Python BDV doesn't have the code required for the Tx exporting. I'll look into that and see if how easy it would be to copy the code over.

    Fixed

    Ente
    Legendary
    *
    Offline Offline

    Activity: 2126
    Merit: 1001



    View Profile
    February 28, 2017, 11:04:10 PM
     #44

    I just tried to install the dev branch.
    After pulling, changing branch to dev and installing a few new dependencies, I did
    Quote
    sh autogen.sh
    ./configure
    make

    make gives me
    Quote
    make  all-recursive
    make[1]: Entering directory '/opt/BitcoinArmory'
    Making all in cppForSwig
    make[2]: Entering directory '/opt/BitcoinArmory/cppForSwig'
    Making all in lmdb
    make[3]: Entering directory '/opt/BitcoinArmory/cppForSwig/lmdb'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/opt/BitcoinArmory/cppForSwig/lmdb'
    Making all in fcgi
    make[3]: Entering directory '/opt/BitcoinArmory/cppForSwig/fcgi'
    make[3]: *** No rule to make target 'all'.  Stop.
    make[3]: Leaving directory '/opt/BitcoinArmory/cppForSwig/fcgi'
    Makefile:1453: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/opt/BitcoinArmory/cppForSwig'
    Makefile:417: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/opt/BitcoinArmory'
    Makefile:348: recipe for target 'all' failed
    make: *** [all] Error 2

    I wouldn't be surprised if I messed something up with dependencies and all, but can't make much sense out of that error.
    Running on debian 8 by the way.

    Cheers,

    Ente
    achow101
    Staff
    Legendary
    *
    Offline Offline

    Activity: 3388
    Merit: 6637


    Just writing some code


    View Profile WWW
    February 28, 2017, 11:14:36 PM
     #45

    I just tried to install the dev branch.
    After pulling, changing branch to dev and installing a few new dependencies, I did
    Quote
    sh autogen.sh
    ./configure
    make

    make gives me
    Quote
    make  all-recursive
    make[1]: Entering directory '/opt/BitcoinArmory'
    Making all in cppForSwig
    make[2]: Entering directory '/opt/BitcoinArmory/cppForSwig'
    Making all in lmdb
    make[3]: Entering directory '/opt/BitcoinArmory/cppForSwig/lmdb'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/opt/BitcoinArmory/cppForSwig/lmdb'
    Making all in fcgi
    make[3]: Entering directory '/opt/BitcoinArmory/cppForSwig/fcgi'
    make[3]: *** No rule to make target 'all'.  Stop.
    make[3]: Leaving directory '/opt/BitcoinArmory/cppForSwig/fcgi'
    Makefile:1453: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/opt/BitcoinArmory/cppForSwig'
    Makefile:417: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/opt/BitcoinArmory'
    Makefile:348: recipe for target 'all' failed
    make: *** [all] Error 2

    I wouldn't be surprised if I messed something up with dependencies and all, but can't make much sense out of that error.
    Running on debian 8 by the way.

    Cheers,

    Ente
    Did you run
    Code:
    git submodule init
    git submodule update
    before attempting to build? If not, do that first.

    Carlton Banks
    Legendary
    *
    Offline Offline

    Activity: 3430
    Merit: 3074



    View Profile
    February 28, 2017, 11:41:35 PM
    Last edit: March 01, 2017, 12:01:26 AM by Carlton Banks
     #46

    Can't test the new fixes, the main transaction window and balances are blank. Block height reads "Offline"

    Code:
    BDM is ready!
    (ERROR) Traceback (most recent call last):
      File "ArmoryQt.py", line 4797, in handleCppNotification
        self.finishLoadBlockchainGUI()
      File "ArmoryQt.py", line 2437, in finishLoadBlockchainGUI
        self.createCombinedLedger()
      File "ArmoryQt.py", line 2510, in createCombinedLedger
        totalFunds += wlt.getBalance('Total')
    TypeError: unsupported operand type(s) for +=: 'int' and 'SwigPyObject'

    Traceback (most recent call last):
      File "ArmoryQt.py", line 4797, in handleCppNotification
        self.finishLoadBlockchainGUI()
      File "ArmoryQt.py", line 2437, in finishLoadBlockchainGUI
        self.createCombinedLedger()
      File "ArmoryQt.py", line 2510, in createCombinedLedger
        totalFunds += wlt.getBalance('Total')
    TypeError: unsupported operand type(s) for +=: 'int' and 'SwigPyObject'
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    A new block arrives, and kicks the main tx window into life, tx details don't work. Still no balances. Block height is still "Offline"

    Code:
    New Block:  455196
    (ERROR) Traceback (most recent call last):
      File "ArmoryQt.py", line 4825, in handleCppNotification
        self.createCombinedLedger()
      File "ArmoryQt.py", line 2510, in createCombinedLedger
        totalFunds += wlt.getBalance('Total')
    TypeError: unsupported operand type(s) for +=: 'int' and 'SwigPyObject'

    Traceback (most recent call last):
      File "ArmoryQt.py", line 4825, in handleCppNotification
        self.createCombinedLedger()
      File "ArmoryQt.py", line 2510, in createCombinedLedger
        totalFunds += wlt.getBalance('Total')
    TypeError: unsupported operand type(s) for +=: 'int' and 'SwigPyObject'
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/armorymodels.py", line 81, in data
        dispStr = coin2str(bal, maxZeros=2)
      File "/home/user/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1322, in coin2str
        nBtc = float(nSatoshi) / float(ONE_BTC)
    TypeError: float() argument must be a string or a number
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.
    swig/python detected a memory leak of type 'uint64_t *', no destructor found.

    The memory leak error is repeated hundreds of times, edited for brevity


    Edit: dbLog.txt has this as the last line, the rest is normal stuff I believe

    Code:
    -ERROR - 1488326155: (BitcoinP2P.cpp:926) caught SocketError exception in processDataStackThread: POLLNVAL in readFromSocketThread

    Vires in numeris
    achow101
    Staff
    Legendary
    *
    Offline Offline

    Activity: 3388
    Merit: 6637


    Just writing some code


    View Profile WWW
    March 01, 2017, 12:22:42 AM
     #47

    --snip--
    Are you using the latest dev? If so, I think it is currently unstable. Goatpig was working on some fixes to the socket (related to that dblog error you posted) and I don't think they are completely done yet (something about edge cases).

    goatpig (OP)
    Moderator
    Legendary
    *
    Offline Offline

    Activity: 3668
    Merit: 1347

    Armory Developer


    View Profile
    March 01, 2017, 07:04:45 AM
     #48

    Should be good now. Make sure to make clean and autogen again, quite a lot of stuff has changed. Also make sure the submodule is up to date.

    Carlton Banks
    Legendary
    *
    Offline Offline

    Activity: 3430
    Merit: 3074



    View Profile
    March 01, 2017, 12:23:30 PM
    Last edit: March 02, 2017, 01:21:30 PM by Carlton Banks
     #49

    Should the git submodule update command not produce some delta feedback in respect of the changes ? I got a new prompt with nothing. Do I need to make clean first?


    Edit: some idiot forgot to git checkout dev before loading the submodule. Move along...

    Vires in numeris
    Ente
    Legendary
    *
    Offline Offline

    Activity: 2126
    Merit: 1001



    View Profile
    March 01, 2017, 03:31:35 PM
     #50

    Did you run
    Code:
    git submodule init
    git submodule update
    before attempting to build? If not, do that first.

    That did the trick, thank you.
    It all ran through smoothly, as far as I can see.
    I now get a GUI, but only a rotating wheel:

    Code:
    python /opt/BitcoinArmory/ArmoryQt.py --armorydb-ip=192.168.0.1 --armorydb-port=9001

    Code:
    (ERROR) ArmoryUtils.py:1230 - Error getting system details:
    Traceback (most recent call last):
      File "/opt/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1228, in <module>
        SystemSpecs = GetSystemDetails()
      File "/opt/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1223, in GetSystemDetails
        out.HddAvailB = getHddSize(BTC_HOME_DIR)    / (1024**3)
      File "/opt/BitcoinArmory/armoryengine/ArmoryUtils.py", line 1220, in getHddSize
        s = os.statvfs(adir)
    OSError: [Errno 2] No such file or directory: '/home/user/.bitcoin/'
    (ERROR) ArmoryUtils.py:1231 - Skipping.
    (ERROR) ArmoryUtils.py:3741 - Unsupported language  specified. Defaulting to English (en)
    (WARNING) ArmoryQt.py:1790 - DB is already running
    -ERROR - 1488381598: (DataObject.h:285) exhausted entries in Arguments object
    -ERROR - 1488381598: (SwigClient.cpp:61) exhausted entries in Arguments object

    No idea why the DB would be already running, I only see that one process running.
    Anything I can do on my side?

    Cheers,

    Ente
    goatpig (OP)
    Moderator
    Legendary
    *
    Offline Offline

    Activity: 3668
    Merit: 1347

    Armory Developer


    View Profile
    March 01, 2017, 07:05:05 PM
    Last edit: March 01, 2017, 07:33:37 PM by goatpig
     #51

    Should the git submodule update command not produce some delta feedback in respect of the changes ? I got a new prompt with nothing. Do I need to make clean first?

    It should. I'm not an expert with submodules though, first time trying it.

    There are other ways to get the submodules to update with a command from the top most repo:

    http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules

    Otherwise, the "brute force" method is to git pull in the submodule repo. Once I'll more familiar with it I'll update the readme with the most convenient method.

    Quote
    No idea why the DB would be already running, I only see that one process running.
    Anything I can do on my side?

    Quote
    No idea why the DB would be already running, I only see that one process running.

    That line just means the client successfully probed the ip:port you gave it for a listening socket and won't start a local DB.

    Quote
    Anything I can do on my side?

    Do you have some python or C++ in you?

    EDIT: also please detail your setup. If you dont have any coding in you, I'll make you a separate branch with extra verbose in there for you to paste back here.

    droark
    Sr. Member
    ****
    Offline Offline

    Activity: 525
    Merit: 282


    View Profile WWW
    March 02, 2017, 02:25:01 AM
     #52

    - There seems to be some sort of repo cloning issue. Every time I've cloned onto my Ubuntu VM, the FCGI subproject never downloads. I got around it by manually downloading the code and copying it over. Still, something's up, and I'm not sure what it is. (OSX is fine.)
    When you clone, run
    Code:
    git submodule init
    git submodule update
    to get the fcgi submodule

    Thanks. That did the trick. I wonder if there's a way to update this. Anyway....

    These errors are fixed in dev

    Thanks. Seems like dev is getting a bit more stable. There are still some problems on Linux, though. (I've been sending some testnet coins throughout the day.)

    - Coin Control seems to be broken. I have to specify which UTXOs I want to use, otherwise Armory complains. I can get the exact message if you need it.
    - After ~7-8 blocks come in, Armory seems to stop picking up new blocks even though Core keeps chugging along. No messages on the command line. When I close, I have to force quit. The blocks seem to be picked up upon restart.
    - While it's just a wild hunch, I suspect the C++ and Python wallet code is out of sync. Is there any way to reset the C++ side, similar to Rebuild & Rescan? (I typically just nuke the DB directory and let Armory rebuild.)
    - I'm still seeing a couple of errors on the command line.

    Code:
    (ERROR) ArmoryUtils.py:3741 - Unsupported language  specified. Defaulting to English (en)

    Code:
    (ERROR) ArmoryQt.py:2129 - ***WARNING: Wallet could not be loaded: /home/droark/.armory/testnet3/armory_22LowGmee_.WatchOnly.wallet (skipping)
    Traceback (most recent call last):
      File "ArmoryQt.py", line 2089, in loadWalletsAndSettings
        reportProgress=reportProgress)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/Timer.py", line 99, in inner
        ret = func(*args, **kwargs)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 2110, in readWalletFile
        self.unpackHeader(wltdata)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1997, in unpackHeader
        self.unpackWalletFlags(binUnpacker)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1929, in unpackWalletFlags
        raise isMSWallet('Cannot Open MS Wallets')
    isMSWallet: Cannot Open MS Wallets
    goatpig (OP)
    Moderator
    Legendary
    *
    Offline Offline

    Activity: 3668
    Merit: 1347

    Armory Developer


    View Profile
    March 02, 2017, 06:59:45 AM
     #53

    - Coin Control seems to be broken. I have to specify which UTXOs I want to use, otherwise Armory complains. I can get the exact message if you need it.

    Please do

    Quote
    - After ~7-8 blocks come in, Armory seems to stop picking up new blocks even though Core keeps chugging along. No messages on the command line. When I close, I have to force quit. The blocks seem to be picked up upon restart.

    Try to narrow it down. I'll try to reproduce on my end. Feel free to add verbose if you got an idea of where it's happening.

    Quote
    Code:
    (ERROR) ArmoryUtils.py:3741 - Unsupported language  specified. Defaulting to English (en)

    This is a false positive from the translation PR. I'm guessing it should set the default the first time, which it isn't doing.

    Quote
    Code:
    (ERROR) ArmoryQt.py:2129 - ***WARNING: Wallet could not be loaded: /home/droark/.armory/testnet3/armory_22LowGmee_.WatchOnly.wallet (skipping)
    Traceback (most recent call last):
      File "ArmoryQt.py", line 2089, in loadWalletsAndSettings
        reportProgress=reportProgress)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/Timer.py", line 99, in inner
        ret = func(*args, **kwargs)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 2110, in readWalletFile
        self.unpackHeader(wltdata)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1997, in unpackHeader
        self.unpackWalletFlags(binUnpacker)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1929, in unpackWalletFlags
        raise isMSWallet('Cannot Open MS Wallets')
    isMSWallet: Cannot Open MS Wallets

    That's quorum's MS wallets, don't cheat now =D

    Carlton Banks
    Legendary
    *
    Offline Offline

    Activity: 3430
    Merit: 3074



    View Profile
    March 02, 2017, 04:37:29 PM
     #54

    • Editing tx comments from main window yielded QString::arg: 1 argument(s) missing in Add %2 %2:
    • Using the wallet filters produced overlapping or incomplete results accompanied by -INFO  - 1487508653: (SocketObject.cpp:517) POLLIN recv return 0

    Fixed

    yep (both)

    Quote
    A little messing around with the "Use only selected UTXOs" option ended up with a bunch of  AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel' with differing tracebacks, followed by the fee adjustment failing altogether. Clicking Send! in that state produced an Insufficient Fee dialog with this text featuring "Your specified fee results in a rate of %d satoshis per byte/b>. This is much lower than the median satoshi/byte rate of %s BTC"

    Can't reproduce the coin control thing, you're gonna have to narrow it down. I got some other bug on the fee part that may cover what you found, more on that when that fix is out.

    So, I can reliably reproduce the issue:

    • Choose an output in Coin Control dialog
    • Click MAX amount button
    • Complete receiving address field
    • Click the Preview button (the box that contains the fee/tx size info continues to read "N/A", instead of the actual info)

    This error is produced....

    Code:
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1577, in execSendBtc
        self.wltAddrModel.reset()
    AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel'

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1577, in execSendBtc
        self.wltAddrModel.reset()
    AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel'
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1577, in execSendBtc
        self.wltAddrModel.reset()
    AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel'

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1577, in execSendBtc
        self.wltAddrModel.reset()
    AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel'

    .... plus this dialog appears when clicking Preview Tx:

    There was an error constructing your transaction, due to a
                quirk in the way Bitcoin transactions work.  If you see this
                error more than once, try sending your BTC in two or more
                separate transactions.


    Both the Create Wallet button and dropdown selection yields this:

    Fixed

    There's more....

    Create New is good now, but Delete Wallet produces this.....

    Code:
    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1577, in execSendBtc
        self.wltAddrModel.reset()
    AttributeError: 'DlgWalletDetails' object has no attribute 'wltAddrModel'
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 4089, in <lambda>
        rmWalletSlot = lambda: self.removeWallet(wlt)
      File "/home/user/BitcoinArmory/qtdialogs.py", line 4167, in removeWallet
        self.main.removeWalletFromApplication(wltID)
      File "ArmoryQt.py", line 2843, in removeWalletFromApplication
        self.walletMap[wltID].unregisterWallet()
    AttributeError: 'PyBtcWallet' object has no attribute 'unregisterWallet'

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 4089, in <lambda>
        rmWalletSlot = lambda: self.removeWallet(wlt)
      File "/home/user/BitcoinArmory/qtdialogs.py", line 4167, in removeWallet
        self.main.removeWalletFromApplication(wltID)
      File "ArmoryQt.py", line 2843, in removeWalletFromApplication
        self.walletMap[wltID].unregisterWallet()
    AttributeError: 'PyBtcWallet' object has no attribute 'unregisterWallet'


    ...the wallet is deleted, but only after shutdown/restart



    Vires in numeris
    achow101
    Staff
    Legendary
    *
    Offline Offline

    Activity: 3388
    Merit: 6637


    Just writing some code


    View Profile WWW
    March 02, 2017, 05:59:21 PM
     #55

    Transaction details won't open.

    Traceback:
    Code:
    Traceback (most recent call last):
      File "ArmoryQt.py", line 3290, in showContextMenuLedger
        self.showLedgerTx()
      File "ArmoryQt.py", line 3267, in showLedgerTx
        DlgDispTxInfo( pytx, self.walletMap[wltID], self, self, txtime=txtime).exec_()
      File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 5571, in __init__
        self.txInModel = TxInDispModel(pytx, self.data[FIELDS.InList], self.main)
      File "/home/andy/bitcoin/BitcoinArmory/armorymodels.py", line 1125, in __init__
        dispInfo = self.main.getDisplayStringForScript(script, 60)
      File "ArmoryQt.py", line 4763, in getDisplayStringForScript
        prefIDOverAddr, lblTrunc, lastTrunc)
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/UserAddressUtils.py", line 172, in getDisplayStringForScript
        if iterWlt.hasScrAddr(scrAddr):
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/PyBtcWallet.py", line 538, in hasScrAddr
        return self.cppWallet.hasScrAddr(scrAddr)
      File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 3727, in hasScrAddr
        return _CppBlockUtils.WalletContainer_hasScrAddr(self, scrAddr)
    RuntimeError: invalid char in b58 string

    goatpig (OP)
    Moderator
    Legendary
    *
    Offline Offline

    Activity: 3668
    Merit: 1347

    Armory Developer


    View Profile
    March 02, 2017, 07:35:18 PM
     #56

    ...the wallet is deleted, but only after shutdown/restart

    I'm aware of this one, pissed me off at one point so I left it on the back burner. Will fix the rest, dunno about this one atm, high cost to reward ratio for something that can be done by just deleting the underlying file manually and restarting the client.

    droark
    Sr. Member
    ****
    Offline Offline

    Activity: 525
    Merit: 282


    View Profile WWW
    March 02, 2017, 10:09:09 PM
     #57

    - Coin Control seems to be broken. I have to specify which UTXOs I want to use, otherwise Armory complains. I can get the exact message if you need it.

    Please do

    I can't seem to reproduce this right now. However, the fee window is broken. If I tell it I want a flat fee, the actual fee is different. For example, if I want a fee of 0.0001 BTC, Armory actually wants it to be 0.00011576 BTC (45.05 sat/B). I have to tell it 0.00008638 BTC (38.91 sat/B). I then have to tell Armory to use something like 0.00008362 BTC in order for the real fee to be 0.0001 BTC. This is the latest dev build.

    Quote
    Quote
    - After ~7-8 blocks come in, Armory seems to stop picking up new blocks even though Core keeps chugging along. No messages on the command line. When I close, I have to force quit. The blocks seem to be picked up upon restart.

    Try to narrow it down. I'll try to reproduce on my end. Feel free to add verbose if you got an idea of where it's happening.

    I left it overnight and saw a network error on the command line. Unfortunately, I didn't save it. Sad This was long after Armory stopped accepting blocks. Nothing's in the Python logs, and the C++ logs are garbled junk for some reason. I'll keep an eye out.

    Quote
    Quote
    Code:
    (ERROR) ArmoryUtils.py:3741 - Unsupported language  specified. Defaulting to English (en)

    This is a false positive from the translation PR. I'm guessing it should set the default the first time, which it isn't doing.

    Yeah. Something doesn't seem to be set, or at least sticking.

    Quote
    Quote
    Code:
    (ERROR) ArmoryQt.py:2129 - ***WARNING: Wallet could not be loaded: /home/droark/.armory/testnet3/armory_22LowGmee_.WatchOnly.wallet (skipping)
    Traceback (most recent call last):
      File "ArmoryQt.py", line 2089, in loadWalletsAndSettings
        reportProgress=reportProgress)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/Timer.py", line 99, in inner
        ret = func(*args, **kwargs)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 2110, in readWalletFile
        self.unpackHeader(wltdata)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1997, in unpackHeader
        self.unpackWalletFlags(binUnpacker)
      File "/home/droark/Projects/BitcoinArmory/armoryengine/PyBtcWallet.py", line 1929, in unpackWalletFlags
        raise isMSWallet('Cannot Open MS Wallets')
    isMSWallet: Cannot Open MS Wallets

    That's quorum's MS wallets, don't cheat now =D

    Oops. Smiley
    goatpig (OP)
    Moderator
    Legendary
    *
    Offline Offline

    Activity: 3668
    Merit: 1347

    Armory Developer


    View Profile
    March 03, 2017, 01:36:16 AM
     #58

    Transaction details won't open.

    Traceback:
    Code:
    Traceback (most recent call last):
      File "ArmoryQt.py", line 3290, in showContextMenuLedger
        self.showLedgerTx()
      File "ArmoryQt.py", line 3267, in showLedgerTx
        DlgDispTxInfo( pytx, self.walletMap[wltID], self, self, txtime=txtime).exec_()
      File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 5571, in __init__
        self.txInModel = TxInDispModel(pytx, self.data[FIELDS.InList], self.main)
      File "/home/andy/bitcoin/BitcoinArmory/armorymodels.py", line 1125, in __init__
        dispInfo = self.main.getDisplayStringForScript(script, 60)
      File "ArmoryQt.py", line 4763, in getDisplayStringForScript
        prefIDOverAddr, lblTrunc, lastTrunc)
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/UserAddressUtils.py", line 172, in getDisplayStringForScript
        if iterWlt.hasScrAddr(scrAddr):
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/PyBtcWallet.py", line 538, in hasScrAddr
        return self.cppWallet.hasScrAddr(scrAddr)
      File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 3727, in hasScrAddr
        return _CppBlockUtils.WalletContainer_hasScrAddr(self, scrAddr)
    RuntimeError: invalid char in b58 string

    Works for me. Is there only a few select transactions it cannot display?

    achow101
    Staff
    Legendary
    *
    Offline Offline

    Activity: 3388
    Merit: 6637


    Just writing some code


    View Profile WWW
    March 03, 2017, 03:26:05 AM
     #59

    Transaction details won't open.

    Traceback:
    Code:
    Traceback (most recent call last):
      File "ArmoryQt.py", line 3290, in showContextMenuLedger
        self.showLedgerTx()
      File "ArmoryQt.py", line 3267, in showLedgerTx
        DlgDispTxInfo( pytx, self.walletMap[wltID], self, self, txtime=txtime).exec_()
      File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 5571, in __init__
        self.txInModel = TxInDispModel(pytx, self.data[FIELDS.InList], self.main)
      File "/home/andy/bitcoin/BitcoinArmory/armorymodels.py", line 1125, in __init__
        dispInfo = self.main.getDisplayStringForScript(script, 60)
      File "ArmoryQt.py", line 4763, in getDisplayStringForScript
        prefIDOverAddr, lblTrunc, lastTrunc)
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/UserAddressUtils.py", line 172, in getDisplayStringForScript
        if iterWlt.hasScrAddr(scrAddr):
      File "/home/andy/bitcoin/BitcoinArmory/armoryengine/PyBtcWallet.py", line 538, in hasScrAddr
        return self.cppWallet.hasScrAddr(scrAddr)
      File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 3727, in hasScrAddr
        return _CppBlockUtils.WalletContainer_hasScrAddr(self, scrAddr)
    RuntimeError: invalid char in b58 string

    Works for me. Is there only a few select transactions it cannot display?
    Yes. It can't display any transactions that I received within the last day or two. Older transactions are fine, but not my newer ones which recently confirmed or are still unconfirmed.

    Carlton Banks
    Legendary
    *
    Offline Offline

    Activity: 3430
    Merit: 3074



    View Profile
    March 04, 2017, 08:22:05 PM
     #60

    I expect you're aware of this goatpig;  Wallet Properties -> Receive Coins button produces

    Code:
    (ERROR) Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1550, in getNewAddress
        if DlgNewAddressDisp(self.wlt, self, self.main, loading).exec_():
      File "/home/user/BitcoinArmory/qtdialogs.py", line 2242, in __init__
        addrStr = self.addr.getAddrStr()
      File "/home/user/BitcoinArmory/armoryengine/PyBtcAddress.py", line 161, in getAddrStr
        raise Exception("Deprecated, get address from mirror wallet instead")
    Exception: Deprecated, get address from mirror wallet instead

    Traceback (most recent call last):
      File "/home/user/BitcoinArmory/qtdialogs.py", line 1550, in getNewAddress
        if DlgNewAddressDisp(self.wlt, self, self.main, loading).exec_():
      File "/home/user/BitcoinArmory/qtdialogs.py", line 2242, in __init__
        addrStr = self.addr.getAddrStr()
      File "/home/user/BitcoinArmory/armoryengine/PyBtcAddress.py", line 161, in getAddrStr
        raise Exception("Deprecated, get address from mirror wallet instead")
    Exception: Deprecated, get address from mirror wallet instead


    Vires in numeris
    Pages: « 1 2 [3] 4 5 6 7 »  All
      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!