Bitcoin Forum
December 11, 2024, 11:44:17 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help with BitMessage  (Read 3187 times)
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 06:17:44 PM
 #1

I wanted to install BitMessage. It had a lot of dependencies.
I had to install XCode command line tools, gcc, cc, clang, homebrew, macports, python 2.7.5, qt, pyqt, and openssl. That took about 3 hours. Now I hate makefiles with all my soul and being.
Anyways, I got it all installed, and this happens:

$ python bitmessagemain.py
Loading existing config files from /Users/*my username*/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 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
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
reloading keys from keys.dat file
reloading subscriptions...
Database file already exists.
Listening for incoming connections.
 PyBitmessage requires PyQt unless you want to run it as a daemon and interact with it using the API. You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download   or by searching Google for 'PyQt Download'. If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon
Error message: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtCore.so, 2): Symbol not found: _qpycore_pickle_protocol
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtCore.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtCore.so

What does this mean? How do I fix it? I definitely installed PyQt. The file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtCore.so exists, it has random symbols in it.
*edit* Looking through the QtCore.so file, I can see "qpycore_pickle_protocol" on line 26,653 and 30,960... *edit*

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 06:26:23 PM
 #2

No, I am running this on my laptop. MacBookPro, snow leopard.

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 06:35:48 PM
 #3

Okay, I may have found the problem. In bitmessagemain.py it says "from PyQt4 import QtCore, QtGui" and do the stuff if there's an error. I just changed it to "from PyQt4 import *" and it worked. But now when I run bitmessagemain.py it fills up my screen with text and won't stop printing stuff like "remoteCommand 'pubkey'  from 195.158.42.109
broadcasting inv with hash: fc900fc608c236a3f3eeeb0230f6f750c01951ccfb42525b7eee23d7bd5fa6dd
ECDSA verify passed (within processpubkey)
within recpubkey, addressVersion: 3 , streamNumber: 1
ripe 0099c9745deded3908a6b4dc41106393428c9c37
publicSigningKey in hex: 045fb4b2d86a21d5950c88eb1d04e54cd4975e5e97952cd2ee69c5474868a0498323b8538874622 5043ce1f6a928924178b36837dd7594ee39d483650a28e1ff80
publicEncryptionKey in hex: 04c2b5f5656ff0418b5463de66fbc9ca667b1186376127aa23a79d26bea07f33fea757f03244688 8a2ee1f5b3d16e52e9ad9822724b25375ca348ced84feabddb3
We have NOT used this pubkey personally. Inserting in database.
We don't need this pub key. We didn't ask for it. Pubkey hash: 0099c9745deded3908a6b4dc41106393428c9c37
Timing attack mitigation: Sleeping for 0.191516828537 seconds.
"
And, for that matter, there's no GUI that shows up.

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 06:39:55 PM
 #4

But I didn't do -daemon. I just did python bitmessagemain.py

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 06:54:04 PM
 #5

I decided that this wasn't going to work and just reinstall pyqt.
I ran brew install pyqt, and it had to install qt first as a dependency. Grr, but ok. However, how long should it take? It just finished downloading it, and is now running make. A process called "cc1plus" is taking up 76% of my CPU.

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 07:26:34 PM
 #6

It's still going. How long should it take?

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 23, 2013, 11:58:33 PM
 #7

Just finished. Took several hours. (I ran brew install openssl pyqt) And guess what?
This happens:
$ python bitmessagemain.py
Loading existing config files from /Users/*my username*/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 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
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
Adding 70.36.177.246 to knownNodes based on DNS boostrap method
reloading keys from keys.dat file
reloading subscriptions...
Database file already exists.
Listening for incoming connections.
PyBitmessage requires PyQt unless you want to run it as a daemon and interact with it using the API. You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download   or by searching Google for 'PyQt Download'. If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon
Error message: the sip module implements API v10.0 but the PyQt4.QtCore module requires API v9.2

AGGGGHHH. How do I fix this?

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
pat1900
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 24, 2013, 01:46:58 AM
 #8

AGGGGHHH. How do I fix this?
First try running bitmessage uncompiled. Works nicely on my Snow Leopard.

cd /Applications/bitmessage/src/
python bitmessagemain.py


You may need to extend your PATH environment variable, e.g.:
PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH


USD: 0.000 BTC       EUR: 0.000 BTC
leijurv (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


Vires in Numeris


View Profile WWW
June 24, 2013, 02:55:25 AM
 #9

AGGGGHHH. How do I fix this?
First try running bitmessage uncompiled. Works nicely on my Snow Leopard.

cd /Applications/bitmessage/src/
python bitmessagemain.py


You may need to extend your PATH environment variable, e.g.:
PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH


I am running it uncompiled.
Tried that Path thing (but I have python 3.3 apparently), still gives the same error.
Any other ideas?

Firstbits 1Leijurv. Or, if you like cats, Firstbits 1Kittens and 1catcat as well. If you're a chemist, also 1Helium, 1Erbium, 1Copper, 1Cerium, and 1Nickel. If you like numbers, 123four, 12234,  12three.
Keybase and onename user: leijurv.
pat1900
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 24, 2013, 04:55:31 PM
 #10

API v10.0 but the PyQt4.QtCore module requires API v9.2
...
(but I have python 3.3 apparently)
That error message indicates that your python or some library is too new for SL.
The bitmessage wiki also recommends python 2.7 rather than 3.3.
And python.org reports some issues with 3.3:
Some existing third-party software is not yet compatible with Python 3; if you need to use such software, you can download Python 2.7.x instead.


Anyway, I am using 2.7 from
http://www.python.org/download/releases/2.7.5
and PyQtX from
http://sourceforge.net/projects/pyqtx/



USD: 0.000 BTC       EUR: 0.000 BTC
Jaxkr
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
June 28, 2013, 04:04:14 AM
 #11

Hello.
I was the one who wrote the OS X instructions that are on the wiki. Did you install PyQt over Homebrew?
Pages: [1]
  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!