Author

Topic: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR! (Read 1661 times)

sr. member
Activity: 525
Merit: 282
Okay. As part of my PR to let Armory build on 10.13, I clarified the build notes a bit. Look here and make sure you're following them. I think these are relatively bulletproof for newbs but feedback is appreciated. In any event, it's important that people know how to get around via the terminal. If they don't know what they're doing, it's still going to be painful.
member
Activity: 270
Merit: 36
Did you actually download the source code? And if so, where did you download and/or clone it to?

Seconded. DigitalCrypto, you need to follow all the instructions Sad
HCP
legendary
Activity: 2086
Merit: 4314
Did you actually download the source code? And if so, where did you download and/or clone it to?
HCP
legendary
Activity: 2086
Merit: 4314
Can you please enter this command and take a screenshot of the output:
Code:
ls -la

You're attempting to run these commands from your "user home directory" at the moment... you won't be able to build from that location. You will need to be in the directory where the Armory git was cloned to
member
Activity: 63
Merit: 10
member
Activity: 270
Merit: 36
I followed every step and I still got this...

No such file directory
Code:
cd osxbuild

https://prnt.sc/gmr3e1

Nearly there. If you haven't downloaded a copy of the Armory git repo (the code), you'll need to do that. Can either grab the zip and extract it or git clone if you're familiar with that.

Either way, once you have a copy of the code, cd to wherever the Armory code is.
Then run step 7 again:
Code:
cd osxbuild
python build-app.py > /dev/null

Compiling may take a little while Smiley
Fingers crossed!
member
Activity: 63
Merit: 10
Hmmm. I really don't know what could be happening here. What the system is telling you is that there are instructions that your CPU doesn't recognize. I don't know why that would happen. Others seem to be running the binaries without issues. One thing I'll look into is my VM settings. It's possible my build VM needs to be told it has access to a different processor, or some other obscure setting. Hang tight. I'll do what I can.

In the meantime, if you don't mind getting your hands a little dirty, you can build your own version. I need to update the notes slightly but this should get you past the finish line.

I followed every step and I still got this...

No such file directory
Code:
cd osxbuild

https://prnt.sc/gmr3e1
sr. member
Activity: 525
Merit: 282
Hmmm. I really don't know what could be happening here. What the system is telling you is that there are instructions that your CPU doesn't recognize. I don't know why that would happen. Others seem to be running the binaries without issues. One thing I'll look into is my VM settings. It's possible my build VM needs to be told it has access to a different processor, or some other obscure setting. Hang tight. I'll do what I can.

In the meantime, if you don't mind getting your hands a little dirty, you can build your own version. I need to update the notes slightly but this should get you past the finish line.
member
Activity: 63
Merit: 10
MacBook Pro (13-inch, Mid 2012)
2.5 GHz Intel Core i5
8 GB 1600 MHz DDR3
Intel HD Graphics 4000 1536 MB
1TB SSD
sr. member
Activity: 525
Merit: 282
Interesting. Which model Macbook Pro are you using?
member
Activity: 63
Merit: 10
No, what I mean is run the latest version from the command line, like I mentioned earlier. I listed it as being under /Applications but it can be anywhere. I need to know what it's saying when you try to launch a later version of Armory.

Tried with 0.96.1 (Didn't launch and gave me this message)

Last login: Sat Sep 16 04:54:29 on ttys000
Admins-MacBook-Pro:~ Admin$ /Applications/Armory.app/Contents/MacOS/Armory ; exit;
/Users/Admin
Illegal instruction: 4
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
sr. member
Activity: 525
Merit: 282
No, what I mean is run the latest version from the command line, like I mentioned earlier. I listed it as being under /Applications but it can be anywhere. I need to know what it's saying when you try to launch a later version of Armory.
member
Activity: 63
Merit: 10
Please use the latest version and try again. I don't think 0.95.1 is supported anymore.

Nothing launches. The only version that launches is 0.92.1/3.
legendary
Activity: 3640
Merit: 1345
Armory Developer
What version of Armory are you using? What version of Armory where you using before that? If you updated recently, did you clear your previous database folder? The error you are getting is a trademark of running a new version of Armory on an older DB (0.94 vs 0.93 DB) or (0.95+ vs 0.94 DB).
newbie
Activity: 16
Merit: 0

When you go under /Applications/Armory.app/Contents/MacOS and run Armory ("./Armory"), what's the output?

 


 In this case I get a pop-up with a yellow triangle holding an exclamation mark, and the message "The DB has returned the following error:

DB version mismatch. Use another dbdir!

Armory will now shutdown.


]Here's what I get in the terminal:

/Users/julianthurston
-->cd Aplicativos
-bash: cd: Aplicativos: No such file or directory
-->cd Applications
-->ls
Armory.app                   Chrome Canary Apps.localized
Chrome Apps.localized
-->cd Armory.app
-->ls
Contents
-->cd Contents
-->ls
Dependencies Frameworks   Info.plist   MacOS        Resources
-->cd MacOS
-->./Armory
/Users/julianthurston/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/armoryengine/Transaction.py:2760: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(WARNING) ArmoryQt.py:2565 - ***WARNING: Duplicate wallet detected, 2f68UeoBm
(WARNING) ArmoryQt.py:2575 - Second wallet is more useful than the first one...
(WARNING) ArmoryQt.py:2576 -      Wallet 1 (skipped): /Users/julianthurston/Library/Application Support/Armory/armory_2f68UeoBm_.watchonly.wallet
(WARNING) ArmoryQt.py:2577 -      Wallet 2 (loaded):  /Users/julianthurston/Library/Application Support/Armory/armory_2f68UeoBm_.wallet
(WARNING) ArmoryQt.py:2565 - ***WARNING: Duplicate wallet detected, 36vn4TDvo
(WARNING) ArmoryQt.py:2575 - Second wallet is more useful than the first one...
(WARNING) ArmoryQt.py:2576 -      Wallet 1 (skipped): /Users/julianthurston/Library/Application Support/Armory/armory_36vn4TDvo_.watchonly.wallet
(WARNING) ArmoryQt.py:2577 -      Wallet 2 (loaded):  /Users/julianthurston/Library/Application Support/Armory/armory_36vn4TDvo_.wallet
(WARNING) ArmoryQt.py:2565 - ***WARNING: Duplicate wallet detected, YXdMHf2o
(WARNING) ArmoryQt.py:2575 - Second wallet is more useful than the first one...
(WARNING) ArmoryQt.py:2576 -      Wallet 1 (skipped): /Users/julianthurston/Library/Application Support/Armory/armory_YXdMHf2o_.watchonly.wallet
(WARNING) ArmoryQt.py:2577 -      Wallet 2 (loaded):  /Users/julianthurston/Library/Application Support/Armory/armory_YXdMHf2o_.wallet
(ERROR) BDM.py:184 - DB error: DB version mismatch. Use another dbdir!
-->
newbie
Activity: 16
Merit: 0
 I have been following this thread, and doing the various terminal gymnastics requested by goatpig and DRoark, and I too get hte BDM error!, after everything has loaded and scanned, apparently correctly....except, I get this BDM error! pop-up that won't let me DO anything with my wallets.  I cannot access my wallets, even though all info is present on the screen, wallet name, amount of bitcoin held in wallet, and so on.  Maybe I should BLOCK POP-UPS?Huh


I am quite frustrated. What happened?Huh This is occurring with multiple users, so there must be something that changed on your end!

I love you goatpig, don't be angry with me. Also, Hi goatpig and DRoark... long time no talk.
                       
sr. member
Activity: 525
Merit: 282
Please use the latest version and try again. I don't think 0.95.1 is supported anymore.
member
Activity: 63
Merit: 10
sr. member
Activity: 525
Merit: 282
Okay. Which version are you running? Twisted is being used in the version you're running. It was removed in 0.96.1.
member
Activity: 63
Merit: 10
It launches but with this message.

https://prnt.sc/gl8oss
( I clicked "Yes")

Last login: Thu Sep 14 13:26:30 on ttys000
Admins-MacBook-Pro:~ Admin$ /Applications/Armory.app/Contents/MacOS/Armory ; exit;
(ERROR) BDM.py:184 - DB error: DB version mismatch. Use another dbdir!
Unhandled Error
Traceback (most recent call last):
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/qtdefines.py", line 610, in MsgBoxWithDNAA
    result = dlg.exec_()
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/qtdefines.py", line 58, in wrapper
    result = func(*args, **kwargs)
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/qtdefines.py", line 772, in exec_
    return super(ArmoryDialog, self).exec_()
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/qt4reactor.py", line 231, in _iterate
    self.runUntilCurrent()
--- ---
  File "/Users/Doug/Downloads/BitcoinArmory-master/osxbuild/workspace/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Twisted-16.3.0-py2.7-macosx-10.4-x86_64.egg/twisted/internet/base.py", line 825, in runUntilCurrent
    
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/ArmoryQt.py", line 6042, in Heartbeat
    self.closeForReal()
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/ArmoryQt.py", line 6387, in closeForReal
    reactor.stop()
  File "/Users/Doug/Downloads/BitcoinArmory-master/osxbuild/workspace/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Twisted-16.3.0-py2.7-macosx-10.4-x86_64.egg/twisted/internet/base.py", line 581, in stop
    
twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.


sr. member
Activity: 525
Merit: 282
When you go under /Applications/Armory.app/Contents/MacOS and run Armory ("./Armory"), what's the output?
member
Activity: 63
Merit: 10
Run the "echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile" line. That should help. I'll put this in the README regardless. It's necessary in order for programs to find the brew'd version first, and not Apple's bastardized version.

Also, you'll need to run "source ~/.bash_profile" after running that line, or close the terminal and open a new one.


I ran the "echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile" and nothing happened. I ran "source ~/.bash_profile" after I close the previous window and still nothing.

So I started over completely from
 
 touch ~/.bashrc
 echo "export CFLAGS=\"-arch x86_64\"" >> ~/.bashrc
 echo "export ARCHFLAGS=\"-arch x86_64\"" >> ~/.bashrc
 source ~/.bashrc
 brew update
 brew doctor

brew uninstall openssl
brew install openssl

echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile (I pressed ENTER/RETURN, took me to a fresh line with no action)
(New window created)
source ~/.bash_profile (I pressed ENTER/RETURN, took me to a fresh line with no action)

https://pastebin.com/TYeM1zH2

I'm convinced I am doing something wrong somehow. I copy and paste code so it's no mistakes. Please, can you give me exact step by step instructions so I can fix this?
sr. member
Activity: 525
Merit: 282
Run the "echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile" line. That should help. I'll put this in the README regardless. It's necessary in order for programs to find the brew'd version first, and not Apple's bastardized version.

Also, you'll need to run "source ~/.bash_profile" after running that line, or close the terminal and open a new one.
member
Activity: 63
Merit: 10
No, nothing. Still, can't launch any version.

https://pastebin.com/ErKcMjAV

Thanks for the help PhoenixFire. Really appreciate the effort.
member
Activity: 270
Merit: 36
This worked to install homebrew but now no version of Armory will launch. 0.93.3, 0.95.1, 0.96.1 or 0.96.1.1

Terminal
https://pastebin.com/zjhZWDt7

Okay, that does look like progress.
We've missed some steps from the instructions droark linked, though. Need to run each of these in order:
Code:
touch ~/.bashrc
 echo "export CFLAGS=\"-arch x86_64\"" >> ~/.bashrc
 echo "export ARCHFLAGS=\"-arch x86_64\"" >> ~/.bashrc
 source ~/.bashrc
 brew update
 brew doctor

I'm not familiar enough with brew to know whether the extra commands above solely affect brew or whether the packages are also affected by them, but you may need to run both these commands next:
Code:
brew uninstall openssl
brew install openssl

If that doesn't help, it may be back over to droark.
member
Activity: 63
Merit: 10
Nope, I tried that. It says that but it starts a new command. Pressing Return/Enter does nothing.

https://prnt.sc/giy59h
You could try this instead
Code:
/usr/bin/ruby \
  -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" \
  This shouldn't prompt and is borrowed from: https://stackoverflow.com/a/25535532/4115019

This worked to install homebrew but now no version of Armory will launch. 0.93.3, 0.95.1, 0.96.1 or 0.96.1.1

Terminal
https://pastebin.com/zjhZWDt7
member
Activity: 270
Merit: 36
Nope, I tried that. It says that but it starts a new command. Pressing Return/Enter does nothing.

https://prnt.sc/giy59h
That is certainly strange.

You could try this instead
Code:
/usr/bin/ruby \
  -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" \
  This shouldn't prompt and is borrowed from: https://stackoverflow.com/a/25535532/4115019

Or a manual/alternate install from the brew homepage, but that is a bit more complicated.
member
Activity: 63
Merit: 10
Hi DigitalCrypto,
Not a mac user myself, but I'm pretty sure there should be more output after the "Press RETURN to continue or any other key to abort" line. If you are hitting return at that point, it should be installing brew...

Nope, I tried that. It says that but it starts a new command. Pressing Return/Enter does nothing.

https://prnt.sc/giy59h
member
Activity: 270
Merit: 36
Hi DigitalCrypto,
Not a mac user myself, but I'm pretty sure there should be more output after the "Press RETURN to continue or any other key to abort" line. If you are hitting return at that point, it should be installing brew...
member
Activity: 63
Merit: 10
Thanks, Droark for the help!

Installed Step #1 Perfectly but step #2,  "brew install openssl" is not found.

https://prnt.sc/givd5h
sr. member
Activity: 525
Merit: 282
Please follow these directions and try again.
member
Activity: 63
Merit: 10
It was a joke... Not throwing a tantrum, just frustrated. It's been 5 days with no solution. Look at it from my point of view, I have coins that are inaccessible and losing money rapidly. I try to get support and company support is defunct. Come to the forum for help and the only one that can help is out of town lol. I know the coins will be fine. "Armory - We've never lost any coins" that's what I was told. I can wait. I'll PM him now. Thanks for your help so far goatpig. I really do appreciate it whether you think so or not.
legendary
Activity: 3640
Merit: 1345
Armory Developer
Droark is out of town atm. Wait for him to get back or search the forums.

Quote
My coins are lost...

You can extract your private keys at any moment in time. Stop throwing a tantrum, the only thing this achieves is deterring potential helpers, me included.
member
Activity: 63
Merit: 10
How do I find a Mac Expert for your Program lol? My coins are lost...
legendary
Activity: 3640
Merit: 1345
Armory Developer
OSX, figures. There's some inane manipulation you have to perform so that OSX allows you to run the code in the first place. Some sort of newly introduced security feature or what not. Ask the OSX users in here, I wouldn't touch this system with a 10 foot pole.
member
Activity: 63
Merit: 10
Updated OSX to 10.12.6 (Latest)

Installed all the follow with problems listed
0.95.1 - Failed to launch
0.96.1 - Failed to launch
0.96.1.1 - Failed to launch
Reinstalled 0.93.3 - Works with BDM Error

Logs:
https://pastebin.com/8NfnyXHF
https://pastebin.com/gLqsat87
legendary
Activity: 3640
Merit: 1345
Armory Developer
Quote
Tried to contact Support to get help and send log...page is down (https://support.bitcoinarmory.com / https://bitcoinarmory.com/support/)

These guys are defunct.

Quote
0.95.1 is not launching.

You're using a year old piece of software. Update.

https://github.com/goatpig/BitcoinArmory/releases

If you're still having issues, post your logs.
member
Activity: 63
Merit: 10
So frustrated. I asked for help with BDM error, nothing. I have thousands tied up in my wallet I can't access. I swear I spend more time fixing this program than using it.

Had a BDM error, it kept popping up. I rebuilt, 3 days later...still the same error! HELP!

0.95.1 is not launching.

Tried to contact Support to get help and send log...page is down (https://support.bitcoinarmory.com / https://bitcoinarmory.com/support/)

Seriously, what the hell?
Jump to:
© 2020, Bitcointalksearch.org