Bitcoin Forum
November 08, 2024, 04:47:54 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 »  All
  Print  
Author Topic: 0.96.1 testing build #4  (Read 8088 times)
creamers
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 16, 2017, 10:30:43 AM
 #81

and again:

Cleared the logs first and started armory...I just let it run (with bitcoind in background) and it crashed:

dblog:
https://pastebin.com/cfNL4WBM

armorylog:
https://pastebin.com/ixRCKe2t
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 16, 2017, 02:14:58 PM
 #82

Pushed a fix for that

creamers
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 16, 2017, 04:54:52 PM
Last edit: June 18, 2017, 05:50:05 PM by creamers
 #83

oke, will have to wait for the build to test it out.

*EDIT: since I started without the bitcoind and with bitcoin core in the foreground it runs without crashes.
Mr.Vice
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
June 19, 2017, 02:33:50 PM
Last edit: June 19, 2017, 05:38:18 PM by Mr.Vice
 #84

Bug Report: Armory 0.96.0.3-testing

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BUG #1

Offline Transactions > Sign/Broadcast transaction > Load file ...

The file loading function in Offline Transactions seem to be broken. In order to load the file you have to open the .tx files with the notepad and copy/paste the text. *** PROBABLY SOLVED: (.TX) DATA WITH 0.96.0.2 CREATED ***

armorylog.txt
Code:
2017-06-19 16:15:25 (ERROR) -- qtdialogs.pyc:5836 - Error showing TxOut
Traceback (most recent call last):
  File "qtdialogs.pyc", line 5834, in showTxOutDialog
  File "qtdialogs.pyc", line 6074, in __init__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128)
2017-06-19 16:16:55 (ERROR) -- Traceback (most recent call last):
  File "ui\TxFrames.pyc", line 2091, in loadTx
UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in position 16: ordinal not in range(128)

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BUG #2

Select Offline Wallet > Send > Open address book > Select address

This button is also still broken (like double-click). Addresses can only be chosen via the address book by right-click copy address and paste it into the address field in the sending dialoge.

armorylog.txt
Code:
2017-06-19 16:36:41 (ERROR) -- Traceback (most recent call last):
  File "qtdialogs.pyc", line 8086, in acceptAddrSelection
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 4: ordinal not in range(128)

2017-06-19 16:36:42 (ERROR) -- Traceback (most recent call last):
  File "qtdialogs.pyc", line 7995, in dblClickAddressRx
  File "qtdialogs.pyc", line 8086, in acceptAddrSelection
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 4: ordinal not in range(128)

2017-06-19 16:36:47 (ERROR) -- Traceback (most recent call last):
  File "qtdialogs.pyc", line 8086, in acceptAddrSelection
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 4: ordinal not in range(128)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BUG #3

Right-click tx in global ledger (main window) > Select "bump fee"

This function (menu button) also seems to be broken. When you click on it, nothing happens (like Bug #1&#2).
*** PROBABLY SOLVED: INSUFFICIENT FUNDING (MAX. INPUT SPENDING) ***

armorylog.txt
Code:
2017-06-19 19:24:43 (ERROR) -- Traceback (most recent call last):
  File "ArmoryQt.py", line 3379, in showContextMenuLedger
  File "ArmoryQt.py", line 5920, in bumpFee
  File "ui\TxFrames.pyc", line 1296, in prefillFromBatch
  File "ui\TxFrames.pyc", line 1335, in prefill
  File "ui\TxFrames.pyc", line 335, in addOneRecipient
  File "ui\TxFrames.pyc", line 500, in resolveCoinSelection
RuntimeError: Invalid spend value
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Kind regards :-)
Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 25, 2017, 08:21:46 AM
 #85

Will there be offline bundles for the next release? If I setup a new offline wallet should I use 0.96 or one of the latest test versions or wait for 0.96.1 (approx release date?Smiley)?

I used to have ubuntu 12 on my offline wallet but some altcoins wallets require a more up to date system. My plan is to create the dependency files on my own when I run the ubuntu 16 live cd on an online machine and install armory. All packages should then be in /var/cache/apt/archives/ and can be copied to the same folder on the offline machine that runs the same fresh ubuntu install. "sudo dpkg -i /var/cache/apt/archives/*deb" should install the packages. Maybe it's useful for someone.

The mac binary of the latest test version is not starting. I filled an issue: https://github.com/goatpig/BitcoinArmory/issues/253

Thanks for all the work goatpig.
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 25, 2017, 08:29:16 AM
 #86

Will there be offline bundles for the next release?

Yes

Quote
If I setup a new offline wallet should I use 0.96 or one of the latest test versions or wait for 0.96.1 (approx release date?Smiley)?

If your online system is weak, wait for 0.96.1.

Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 26, 2017, 07:31:49 AM
 #87

The mac binary of the latest test version is not starting. I filled an issue: https://github.com/goatpig/BitcoinArmory/issues/253

I just checked the Application Support dir of Armory but no log files were created for that crash.
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 26, 2017, 07:32:41 AM
 #88

Ask droark, he takes care of the OSX stuff.

Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 26, 2017, 10:27:02 AM
 #89

Ask droark, he takes care of the OSX stuff.

Okay, I sent him a msg. When I started Armory in the console it printed this error msg:

BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py/usr/local/lib/armory/ArmoryQt.py': [Errno 2] No such file or directory
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
June 26, 2017, 10:30:35 AM
 #90

There was a post some weeks ago in this thread where someone pointed out something about the newest OSX giving you grief if you don't move the scripts around on your system (for whatever reason). You should try and dig that out.

Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 26, 2017, 07:55:24 PM
Last edit: June 27, 2017, 06:06:44 AM by Tmptmpbuggyguy
 #91

I was digging to the whole thread to find some solution but couldn't come up with anything that worked for me on Mac OS 10.12.5.

I moved the binary to another folder/applications but Armory still doesn't start.

I tried to compile with
Code:
minOSXVer     = '10.8'
but same problem.

Starting Armory by command line within the .app package returns
Code:
Armory.app/Contents/MacOS/Python: can't open file '/Applications/Armory.app/Contents/MacOS/py/usr/local/lib/armory/ArmoryQt.py': [Errno 2] No such file or directory

executing
Code:
git submodule init
git submodule update

in "osxbuild" as suggested in this thread and building it again leads to the same problem....  Huh Huh Huh Cry

according to my build log the error msg are similar to the ones gangtraet got.
Code:
1 error generated.
make[2]: *** [ArmoryDB-BtcWallet.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Finished executing: "make DESTDIR="/Users/username/Documents/Code/BitcoinArmory/osxbuild/workspace/Armory.app/Contents/MacOS/py" install -j4 2>&1 | tee -a /Users/username/Documents/Code/BitcoinArmory/osxbuild/build-app.log.txt"
Finished executing from: ".."

............

2017-Jun-26 09:41pm
Executing: "patch -p0 < /Users/username/Documents/Code/BitcoinArmory/osxbuild/qmake_LFLAGS.patch 2>&1 | tee -a /Users/username/Documents/Code/BitcoinArmory/osxbuild/build-app.log.txt"
Executing from: "/Users/username/Documents/Code/BitcoinArmory/osxbuild/objc_armory"
patching file ./Makefile
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file ./Makefile.rej
Finished executing: "patch -p0 < /Users/username/Documents/Code/BitcoinArmory/osxbuild/qmake_LFLAGS.patch 2>&1 | tee -a /Users/username/Documents/Code/BitcoinArmory/osxbuild/build-app.log.txt"
Finished executing from: "/Users/username/Documents/Code/BitcoinArmory/osxbuild/objc_armory"
********************************************************************************

Seems there are really some files missing in my compiled mac binary. It's only about 108MB while the binary from the latest releases is around 150mb. Unfortunately the binaries from the latest release are also not working for me.

Code:
Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   _CppBlockUtils.so             0x0000000104dc1d22 void CryptoPP::GetUserKey<unsigned int>(CryptoPP::ByteOrder, unsigned int*, unsigned long, unsigned char const*, unsigned long) + 450
1   _CppBlockUtils.so             0x0000000104e359a5 CryptoPP::Rijndael::Base::UncheckedSetKey(unsigned char const*, unsigned int, CryptoPP::NameValuePairs const&) + 197
2   _CppBlockUtils.so             0x0000000104deab64 CryptoPP::AutoSeededX917RNG<CryptoPP::Rijndael>::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) + 196
3   _CppBlockUtils.so             0x0000000104dea962 CryptoPP::AutoSeededX917RNG<CryptoPP::Rijndael>::Reseed(bool, unsigned char const*, unsigned long) + 450
4   _CppBlockUtils.so             0x0000000104b86dc0 SecureBinaryData::GenerateRandom(unsigned int, SecureBinaryData) + 80
5   _CppBlockUtils.so             0x0000000104bc50f9 BlockDataManagerConfig::BlockDataManagerConfig() + 457
6   _CppBlockUtils.so             0x0000000104d21634 _wrap_new_BlockDataManagerConfig(_object*, _object*) + 68
gangtraet
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2017, 08:09:51 AM
 #92

I was digging to the whole thread to find some solution but couldn't come up with anything that worked for me on Mac OS 10.12.5.

It may be my post he is referring to.  You need to move Armory.app using the Finder before you can use it.  If it has never been moved since it was unpacked (or was moved using mv), OS X enables some hacking protection called App Translocation, and that unfortunately breaks Armory (although a simple workaround could be enable at build time).

See https://bitcointalk.org/index.php?topic=1917955.msg19519942#msg19519942
Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 27, 2017, 08:49:50 AM
Last edit: June 27, 2017, 09:00:24 AM by Tmptmpbuggyguy
 #93

I was digging to the whole thread to find some solution but couldn't come up with anything that worked for me on Mac OS 10.12.5.

It may be my post he is referring to.  You need to move Armory.app using the Finder before you can use it.  If it has never been moved since it was unpacked (or was moved using mv), OS X enables some hacking protection called App Translocation, and that unfortunately breaks Armory (although a simple workaround could be enable at build time).

See https://bitcointalk.org/index.php?topic=1917955.msg19519942#msg19519942


I moved my Armory.app package around several times with finder but it didn't help Sad

My exact steps:
- unpack tar.gz package
- move Armory.app to another folder
- start Armory.app
- OS X warning pops up that file is not from a certified developer.
- I go to system settings -> security -> click "open" -> confirm that I want to open Armory
- Armory symbol starts to jump around in dock but after some seconds it disappears again
- Armory Bitcoin Client crashed window pops up (same msg as posted before)
gangtraet
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2017, 09:17:04 AM
 #94

Try opening a Terminal, and go to the folder where Armory.app is.  Then start it with this command line:

Code:
Armory.app/Contents/MacOS/Armory

Cut-and-paste any errors to this thread.
Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 27, 2017, 09:21:19 AM
 #95

Code:
MacBook-Pro:Desktop myusername$ Armory.app/Contents/MacOS/Armory
/Users/myusername
Illegal instruction: 4

Then Mac OS crash report opens. I pm'ed you the full report.
gangtraet
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2017, 09:34:15 AM
 #96

Ouch!  I cannot really read the crash report, but I notice this part:

Code:
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)

Termination Signal:    Illegal instruction: 4

To me, it looks like your Mac is somewhat old, and that the executable is built assuming a newer CPU.  I don't know how to proceed from here, perhaps the developers can help you.

I guess you can attempt to build Armory.app yourself, I did not have any success doing so myself, but you could try following the instructions here:
https://github.com/goatpig/BitcoinArmory/blob/master/osxbuild/OSX_build_notes.md

It might, however, be a good idea to wait until goatpig and co come online and reply in this thread, they may have better ideas.


Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 27, 2017, 09:36:49 AM
 #97

Thanks for your help.

I already tried to compile it by myself. Compiling works but the app package does not start as well but with a different error message (ArmoryQt.Py is missing) and the binary is about 50mb smaller than the one from the github release. My Mac is from Mid 2012,  Intel Core i5, 2,5 GHz.

For reference the first lines of the crash report

Code:
Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   _CppBlockUtils.so             0x0000000104d82222 void CryptoPP::GetUserKey<unsigned int>(CryptoPP::ByteOrder, unsigned int*, unsigned long, unsigned char const*, unsigned long) + 450
1   _CppBlockUtils.so             0x0000000104df5ea5 CryptoPP::Rijndael::Base::UncheckedSetKey(unsigned char const*, unsigned int, CryptoPP::NameValuePairs const&) + 197
2   _CppBlockUtils.so             0x0000000104dab064 CryptoPP::AutoSeededX917RNG<CryptoPP::Rijndael>::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) + 196
3   _CppBlockUtils.so             0x0000000104daae62 CryptoPP::AutoSeededX917RNG<CryptoPP::Rijndael>::Reseed(bool, unsigned char const*, unsigned long) + 450
4   _CppBlockUtils.so             0x0000000104b45e80 SecureBinaryData::GenerateRandom(unsigned int, SecureBinaryData) + 80
5   _CppBlockUtils.so             0x0000000104b85349 BlockDataManagerConfig::BlockDataManagerConfig() + 457
.....

Code:
Binary Images:
       0x100000000 -        0x100000fff +Python (???) <DE9F445E-AF87-3A6F-B171-EF96DCC5B5D1> /Users/USER/Desktop/Armory.app/Contents/MacOS/Python
       0x100003000 -        0x100044ff7 +libssl.1.0.0.dylib (0) <35C152E0-7168-3B99-94AB-ECA04D3B3DB5> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
       0x100062000 -        0x1001d2727 +libcrypto.1.0.0.dylib (0) <11B495A9-782C-3FB0-9729-ACFCD9F4F53E> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
       0x10024b000 -        0x1003a8ff7 +org.python.python (2.7.13, [c] 2001-2016 Python Software Foundation. - 2.7.13) <D1108E8D-C9FE-3E53-B9E4-D5F34B9BD38F> /Users/USER/Desktop/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/Python
       0x1004f9000 -        0x1004fbfff +_locale.so (???) <05973DD6-F503-354D-BE3C-2996D8477180> /Users/USER/Desktop/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
       0x101a40000 -        0x101a48ff3 +libintl.8.dylib (0) <9A1967E0-AC59-3EF6-B14F-643AF08A6B4F> /usr/local/opt/gettext/lib/libintl.8.dylib
       0x101b4d000 -        0x101b51ff7 +operator.so (???) <ECA4F01C-D5B9-3160-B75B-76044F66A3EF> /Users/USER/Desktop/

.....

Maybe it's related to this issue: https://stackoverflow.com/questions/38167803/genymotion-crash-on-start-in-osx
gangtraet
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
June 27, 2017, 09:50:00 AM
 #98

I already tried to compile it by myself. Compiling works but the app package does not start as well but with a different error message (ArmoryQt.Py is missing) and the binary is about 50mb smaller than the one from the github release. My Mac is from Mid 2012,  Intel Core i5, 2,5 GHz.

I had the same problem.  I think it is related to something missing from the source code package that github generates.  Maybe if you get the source code like this:

Make sure you are in a folder without an old BitcoinArmory source folder in it, then run
Code:
git clone https://github.com/goatpig/BitcoinArmory.git
cd BitcoinArmory
git submodule init
git submodule update
then you should have the complete source code.


EDIT: spelling.
Tmptmpbuggyguy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 27, 2017, 09:55:00 AM
Last edit: June 27, 2017, 12:37:08 PM by Tmptmpbuggyguy
 #99

Quote
Make sure you are in a folder without an old BitcoinArmory source folder in it, then run
Code:
git clone https://github.com/goatpig/BitcoinArmory.git
cd BitcoinArmory
git submodule init
git submodule update
then you should have the complete source code.

Edit:
Should the git commands not be executed from the osxbuild dir?


Try doing this manually in the OS X root directory.

Code:
git submodule init
dit submodule update

(of course I used 'git' instead of 'dit')

I tried it from the osxdir and with testing branch but no success (Mac OS Sierra 12.2.5, Xcode 8 ).

Update:
 I made progress. I executed the git commands from the root dir of the source (like gangtraet suggested) and compiled:
- The before missing ArmoryQt.py etc. files are included now :-)
- Starting Armory from terminal prints:  
Code:
Traceback (most recent call last):
  File "/Users/user/Desktop/Armory.app/Contents/MacOS/py/usr/local/lib/armory/ArmoryQt.py", line 37, in <module>
    from PyQt4.QtGui import *
ImportError: dlopen(/Users/user/Desktop/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtGui.so, 2): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
  Referenced from: /Users/user/Desktop/Armory.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
  Reason: Incompatible library version: QtGui requires version 46.0.0 or later, but libpng16.16.dylib provides version 45.0.0

Update 2
Yippie! My build works. My quick fix was to replace libpng from the app bundle (v1.6.28) with the one from my system (v1.6.29) (you can get it with brew install libpng).
Code:
cp /usr/local/Cellar/libpng/1.6.29/lib/libpng16.16.dylib ~/Desktop/Armory.app/Contents/Dependencies/libpng16.16.dylib

Updating the version number in build-app.py should do the job too.

Hope this has not any negative side effects.
 
naska21
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 635


View Profile
June 27, 2017, 12:23:13 PM
 #100

@goatpig, Hi, , just upgraded my off-line Armory from 0.93.3 to 0.96.03-testing version/ Everything vent smoothly but when I did Tools==> MessageSigning/Verification==>  click select from Address Book to choose address for signing message the error window appears with the message " ArmoryQT.exe has stopped working "/ Repeated this a few times with the same result. The log is pasterbined https://pastebin.com/raw/juPni66G
Pages: « 1 2 3 4 [5] 6 7 8 »  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!