Bitcoin Forum

Bitcoin => Armory => Topic started by: DigitalCrypto on September 06, 2017, 09:19:09 AM



Title: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 06, 2017, 09:19:09 AM
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?


Title: Re: BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR! HELP!!!
Post by: goatpig on September 06, 2017, 09:33:11 AM
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.


Title: Re: BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR! HELP!!!
Post by: DigitalCrypto on September 06, 2017, 11:34:18 AM
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


Title: Re: BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR! HELP!!!
Post by: goatpig on September 06, 2017, 03:39:15 PM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 07, 2017, 01:42:50 AM
How do I find a Mac Expert for your Program lol? My coins are lost...


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: goatpig on September 07, 2017, 01:56:35 AM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 07, 2017, 03:06:44 AM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 08, 2017, 07:35:20 PM
Please follow these directions (https://github.com/goatpig/BitcoinArmory/blob/master/README_OSX.md) and try again.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 08, 2017, 11:15:43 PM
Thanks, Droark for the help!

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

https://prnt.sc/givd5h


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: PhoenixFire on September 09, 2017, 03:13:11 AM
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...


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 09, 2017, 05:44:21 AM
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


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: PhoenixFire on September 09, 2017, 03:47:40 PM
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)" \
  </dev/null
This shouldn't prompt and is borrowed from: https://stackoverflow.com/a/25535532/4115019

Or a manual/alternate install from the brew homepage (https://docs.brew.sh/Installation.html), but that is a bit more complicated.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 09, 2017, 06:07:25 PM
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)" \
  </dev/null
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


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: PhoenixFire on September 09, 2017, 08:05:24 PM
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 (https://github.com/goatpig/BitcoinArmory/blob/master/README_OSX.md), 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.


Title: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 10, 2017, 09:49:55 AM
No, nothing. Still, can't launch any version.

https://pastebin.com/ErKcMjAV

Thanks for the help PhoenixFire. Really appreciate the effort.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 10, 2017, 05:55:06 PM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 12, 2017, 10:46:01 PM
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?


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 14, 2017, 07:57:41 PM
When you go under /Applications/Armory.app/Contents/MacOS and run Armory ("./Armory"), what's the output?


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 14, 2017, 08:35:08 PM
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()
--- <exception caught here> ---
  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.




Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 15, 2017, 07:45:52 AM
Okay. Which version are you running? Twisted is being used in the version you're running. It was removed in 0.96.1.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 15, 2017, 09:15:43 AM
0.95.1 was used.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 15, 2017, 06:29:00 PM
Please use the latest version and try again. I don't think 0.95.1 is supported anymore.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: dracling on September 15, 2017, 10:27:35 PM
 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????


I am quite frustrated. What happened???? 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.
                       


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: dracling on September 15, 2017, 10:38:56 PM

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!
-->


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: goatpig on September 15, 2017, 10:51:09 PM
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).


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 16, 2017, 01:58:10 AM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 16, 2017, 04:56:27 AM
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.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 16, 2017, 11:59:28 AM
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]


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 16, 2017, 06:33:30 PM
Interesting. Which model Macbook Pro are you using?


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 16, 2017, 11:30:43 PM
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


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 18, 2017, 02:57:43 AM
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 (https://github.com/goatpig/BitcoinArmory/blob/master/osxbuild/OSX_build_notes.md). I need to update the notes slightly but this should get you past the finish line.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 18, 2017, 07:50:25 PM
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 (https://github.com/goatpig/BitcoinArmory/blob/master/osxbuild/OSX_build_notes.md). 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


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: PhoenixFire on September 19, 2017, 01:50:42 AM
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 :)
Fingers crossed!


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 22, 2017, 11:36:18 PM
Nope.


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: HCP on September 23, 2017, 12:28:48 AM
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


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: DigitalCrypto on September 23, 2017, 09:12:46 AM
https://prnt.sc/gonmuq


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: HCP on September 23, 2017, 01:33:54 PM
Did you actually download the source code? And if so, where did you download and/or clone it to?


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: PhoenixFire on September 23, 2017, 01:40:55 PM
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 :(


Title: Re: MAC EXPERT NEEDED! BDM Error and Can't Open 0.95.1 / Rebuilt, STILL ERROR!
Post by: droark on September 23, 2017, 08:06:27 PM
Okay. As part of my PR to let Armory build on 10.13, I clarified the build notes a bit. Look here (https://github.com/droark/BitcoinArmory/blob/89256aa5b596b80d1152e63ae1cf12d9bdecfbd7/osxbuild/OSX_build_notes.md) 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.