Pages:
Author

Topic: 0.96.1 testing build #4 - page 4. (Read 8101 times)

newbie
Activity: 12
Merit: 0
June 27, 2017, 04:55:00 AM
#99

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
    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.
 
full member
Activity: 159
Merit: 100
June 27, 2017, 04: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.
newbie
Activity: 12
Merit: 0
June 27, 2017, 04: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(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::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) + 196
3   _CppBlockUtils.so             0x0000000104daae62 CryptoPP::AutoSeededX917RNG::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 (???) /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) /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 (???) /Users/USER/Desktop/

.....

Maybe it's related to this issue: https://stackoverflow.com/questions/38167803/genymotion-crash-on-start-in-osx
full member
Activity: 159
Merit: 100
June 27, 2017, 04: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.


newbie
Activity: 12
Merit: 0
June 27, 2017, 04: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.
full member
Activity: 159
Merit: 100
June 27, 2017, 04: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.
newbie
Activity: 12
Merit: 0
June 27, 2017, 03:49:50 AM
#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://bitcointalksearch.org/topic/m.19519942


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)
full member
Activity: 159
Merit: 100
June 27, 2017, 03: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://bitcointalksearch.org/topic/m.19519942
newbie
Activity: 12
Merit: 0
June 26, 2017, 02:55:24 PM
#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(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::Reseed(unsigned char const*, unsigned long, unsigned char const*, unsigned char const*) + 196
3   _CppBlockUtils.so             0x0000000104dea962 CryptoPP::AutoSeededX917RNG::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
legendary
Activity: 3766
Merit: 1364
Armory Developer
June 26, 2017, 05: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.
newbie
Activity: 12
Merit: 0
June 26, 2017, 05: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
legendary
Activity: 3766
Merit: 1364
Armory Developer
June 26, 2017, 02:32:41 AM
#88
Ask droark, he takes care of the OSX stuff.
newbie
Activity: 12
Merit: 0
June 26, 2017, 02: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.
legendary
Activity: 3766
Merit: 1364
Armory Developer
June 25, 2017, 03: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.
newbie
Activity: 12
Merit: 0
June 25, 2017, 03: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.
member
Activity: 96
Merit: 10
June 19, 2017, 09:33:50 AM
#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).
*** 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 :-)
newbie
Activity: 53
Merit: 0
June 16, 2017, 11:54:52 AM
#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.
legendary
Activity: 3766
Merit: 1364
Armory Developer
June 16, 2017, 09:14:58 AM
#82
Pushed a fix for that
newbie
Activity: 53
Merit: 0
June 16, 2017, 05: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
newbie
Activity: 53
Merit: 0
June 15, 2017, 03:00:57 PM
#80
Code:
running 2340 zc parser threads

This is a relevant symptom. How large is your node's mempool? Anything worth of note getting to that point? Let the Armory run for a few hours, does it get to that point?

Taskmanager:
https://s16.postimg.org/6gctny42t/taskmanager.png
It's running fine untill it crashes. .2 test version didnt do that. Cleared the log files and started it again. Here they are:

armory log:
https://pastebin.com/TiWpt0yr

dblog:
https://pastebin.com/DFJ7TrBc

Which one is it? WO's can be considered your wallet as long as you specify that in the ownership field. They are not by default however.

Let me rephrase, I have two wallets, one mine and one not mine. When I start armory the filter is default to MyWallets setting but it's showing ALL wallets until I change something in the comments fields, then it will show only My Wallets and thus showing one wallet in my case.
(If armory start defaulting to My Wallets then it should only show my wallets and not all of them.)
Pages:
Jump to: