Author

Topic: A quick guide to installing Bitmessage on OS X. (Read 3531 times)

legendary
Activity: 1610
Merit: 1004
oh man i spent a good hour trying to figure this out the other day, i had a python problem about to try this now.
sr. member
Activity: 420
Merit: 250
Sorry to push it but just incase you have any idea here is the new error

python bitmessagemain.py
Loading existing config files from /Users/jaminunit/Library/Application support/PyBitmessage/
Adding 66.108.210.240 to knownNodes based on DNS boostrap method
Adding 66.108.210.240 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 82.72.109.211 to knownNodes based on DNS boostrap method
Adding 82.72.109.211 to knownNodes based on DNS boostrap method
Adding 162.13.42.201 to knownNodes based on DNS boostrap method
Adding 162.13.42.201 to knownNodes based on DNS boostrap method
reloading keys from keys.dat file
reloading subscriptions...
Database file already exists.
Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again.
PyBitmessage will now exit very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite.

--

I'm fairly sure I have to run python 2.7.3 but I cant seem to get it to work.
I installed it but when I type python -V I get 2.7.2

Hmmmmmm
Yes. Python 2.7.3 is required for Bitmessage. I'd recommend restarting.
What's the output of brew install python?
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Sorry to push it but just incase you have any idea here is the new error

python bitmessagemain.py
Loading existing config files from /Users/jaminunit/Library/Application support/PyBitmessage/
Adding 66.108.210.240 to knownNodes based on DNS boostrap method
Adding 66.108.210.240 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 82.72.109.211 to knownNodes based on DNS boostrap method
Adding 82.72.109.211 to knownNodes based on DNS boostrap method
Adding 162.13.42.201 to knownNodes based on DNS boostrap method
Adding 162.13.42.201 to knownNodes based on DNS boostrap method
reloading keys from keys.dat file
reloading subscriptions...
Database file already exists.
Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again.
PyBitmessage will now exit very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite.

--

I'm fairly sure I have to run python 2.7.3 but I cant seem to get it to work.
I installed it but when I type python -V I get 2.7.2

Hmmmmmm
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
now I'm getting another problem I think I need Python 2.7.3

Can you download a specific version using "brew install python" command?
sr. member
Activity: 420
Merit: 250
Cool,

I think I need to install xcode?
Yeah. You only need the command line tools. Google "Xcode command line tools" and download from Apple.
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Cool,

I think I need to install xcode?
sr. member
Activity: 420
Merit: 250
Python 2.7.2

yeah bootstrap is really very good.

The best way to go would be for you to get all the functionality working and I can come up with some colour pallets for you to go through.

Then logo design. I have already seen that moltenmich created a logo for you. It looks great but feel it might be a bit to detailed which isn't good at small scales.

Anyway PM me when you have finished functionality and we can go from there.  

J

Your problem is that you aren't using Homebrew's python. That's why it can't see OpenSSL.
Do "brew install python". You may need to reboot, or unlink with "brew unlink python" first.

Also, once a get a fully functional app, I'd love an alternate color pallet. Thanks.
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Python 2.7.2

yeah bootstrap is really very good.

The best way to go would be for you to get all the functionality working and I can come up with some colour pallets for you to go through.

Then logo design. I have already seen that moltenmich created a logo for you. It looks great but feel it might be a bit to detailed which isn't good at small scales.

Anyway PM me when you have finished functionality and we can go from there.  

J
hero member
Activity: 532
Merit: 500
Nice tutorial good worlk
sr. member
Activity: 420
Merit: 250
I actually did
brew install pyqt openssl

but just now tried
brew install openssl

but same problem Sad

I'm running os x 10.8.4

I tried to restart but nothing
What's your output of python -V?

Also, I'd really appreciate some interface help. I'm using Bootstrap because it's nice and I'm comfortable with it. I'll take whatever help I can get.
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Hey by the way I'm a designer of 15 years in Film, television and web.

If you need interface design for frog let me know
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
I actually did
brew install pyqt openssl

but just now tried
brew install openssl

but same problem Sad

I'm running os x 10.8.4

I tried to restart but nothing
sr. member
Activity: 420
Merit: 250
Ok small issue.

So everything went swimmingly but then when I get to

The command  python bitmessagemain.py

I get this error.

 python bitmessagemain.py
(On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use:
Traceback (most recent call last):
  File "bitmessagemain.py", line 24, in
    from addresses import *
  File "/Applications/bitmessage/PyBitmessage/src/addresses.py", line 3, in
    from pyelliptic import arithmetic
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/__init__.py", line 16, in
    from .openssl import OpenSSL
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 437, in
    OpenSSL = _OpenSSL(find_library('ssl'))
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 292, in __init__
    self.PKCS5_PBKDF2_HMAC = self._lib.PKCS5_PBKDF2_HMAC
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
AttributeError: dlsym(0x7f8b21c78f40, PKCS5_PBKDF2_HMAC): symbol not found


I installed it on
cd /Volumes/Macintosh\ HD/Applications/bitmessage/PyBitmessage/

Any help would be sweeeeet!
Did you install openssl with "brew install openssl"?
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Ok small issue.

So everything went swimmingly but then when I get to

The command  python bitmessagemain.py

I get this error.

 python bitmessagemain.py
(On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use:
Traceback (most recent call last):
  File "bitmessagemain.py", line 24, in
    from addresses import *
  File "/Applications/bitmessage/PyBitmessage/src/addresses.py", line 3, in
    from pyelliptic import arithmetic
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/__init__.py", line 16, in
    from .openssl import OpenSSL
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 437, in
    OpenSSL = _OpenSSL(find_library('ssl'))
  File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 292, in __init__
    self.PKCS5_PBKDF2_HMAC = self._lib.PKCS5_PBKDF2_HMAC
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
AttributeError: dlsym(0x7f8b21c78f40, PKCS5_PBKDF2_HMAC): symbol not found


I installed it on
cd /Volumes/Macintosh\ HD/Applications/bitmessage/PyBitmessage/

Any help would be sweeeeet!
hero member
Activity: 532
Merit: 500
Great guide, good job.
member
Activity: 132
Merit: 14
Co-Founder of TheStandard.io & Vaultoro.com
Dude this is so cool, thanks!
legendary
Activity: 1834
Merit: 1019
wow straightforward as ever, thanks!
global moderator
Activity: 3794
Merit: 2612
In a world of peaches, don't ask for apple sauce
Good guide even though I don't use OS X
sr. member
Activity: 420
Merit: 250
Bitmessage is awesome. However, the installation process isn't particularly intuitive.
I just got it working on OSX, and thought I'd share my findings.
First, make sure you have git and Homebrew installed. Then, you need to make sure homebrew is working. Open Terminal, and run
Code:
brew doctor
and fix anything critical that it returns.

Now, install the dependencies. You will need to update Python to 2.7.3. You probably have 2.7.2 at the moment. Run
Code:
brew install python
to update to the correct version. In order for Bitmessage to run, you also need OpenSSL and PyQt. Install these with
Code:
brew install pyqt openssl

Now, you're ready to actually download the Bitmessage source code. First, cd to your desktop or wherever you want to install it. Then, run
Code:
git clone git://github.com/Bitmessage/PyBitmessage.git
to download it from GitHub. Now, cd into PyBitmessage src folder, and enter
Code:
python bitmessagemain.py
The Bitmessage UI should open. At this point you can minimize the terminal window, which should be spewing a ton of info.

It works! However, it's inconvenient to run these two commands every time we want to run bitmessage. It's extremely easy to create a script to run it for us.
To do this, open textedit and enter
Code:
python ~/Desktop/PyBitmessage/src/bitmessagemain.py
You may need to adjust the path to wherever you installed it.
Now, save it as Bitmessage.command. To make it executable enter
Code:
chmod +x
but do not press enter. Hit space and drag the Bitmessage.command file into the Terminal window. Now hit enter, and the file will be executable.

You can easily open Bitmessage by double clicking this file.
If you get it working, feel free to send me a message to my address! Hope this helped.
Jump to: