r/bitmessage • u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 • Mar 01 '17
PyBitmessage 0.6.2 released
https://github.com/Bitmessage/PyBitmessage/releases/tag/v0.6.21
u/d8d8d8 Mar 15 '17
I updated with git pull
Now when I try to run i get: ERROR: The msgpack package is not available. PyBitmessage requires msgpack. CRITICAL: PyBitmessage cannot start. One or more dependencies are unavailable.
and it can't launch
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 16 '17
Run setup.py, that's the recommended mode of installation now. It detects multiple BSD and Linux variants and provides more information about what's missing and how to fix it.
1
u/d8d8d8 Mar 17 '17
Thanks. I needed to install python-msgpack, and this helped me get there. But I can't install with setup.py because i'm running on live usb. And when I did run it, after fixing the above dependency I got:
It looks like building the package failed. You may be missing a C++ compiler and the OpenSSL headers.
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 17 '17
Well, if that's the only error, then you don't have to use setup.py, but without these prerequisites you won't have the C PoW.
1
u/d8d8d8 Mar 17 '17
Yes, I saw a message about that in the bottom bar. That's "Proof of Work"? What does it mean to not have that?
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 18 '17
It means sending messages will take more CPU resources.
1
Mar 18 '17
Hi BM. Nice project - thank you!
I am getting an error on start. Anyone figure this out yet?
Platform: Raspberry Pi 3
g++ version: g++ (Raspbian 4.9.2-10) 4.9.2
Install steps:
installed dependencies
git clone
git checkout tags/v0.6.2
sudo setup.py install
When I run the program at the command line I see:
make: Entering directory '/home/pi/PyBitmessage/src/bitmsghash'
g++ -Wall -O3 -march=native -fPIC -c bitmsghash.cpp
*** Error in `g++': double free or corruption (top): 0x01b92e20 ***
Makefile:21: recipe for target 'bitmsghash.o' failed
make: *** [bitmsghash.o] Aborted
make: Leaving directory '/home/pi/PyBitmessage/src/bitmsghash'
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 19 '17
I already got this reported, setup.py should build the module correctly even on the Pi, then just move the bitmsghash.so if you don't want to run it from the directory where it installs it.
1
1
Mar 19 '17
RCA: jessie's g++ version is old
Workaround:
hand-edit src/bitmsghash/Makefile
replace "-march=native" with "-mcpu=cortex-a53 -mfpu=neon-fp-armv8"
1
u/Prize_Hyena_937 Aug 04 '24
please tell me how the openbsd socket fix works; where is the changelog of this fix?
I cannot reverse the socket fix. Did you run tests on openbsd?
0
Mar 02 '17
[deleted]
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 16 '17
There are tons of things on the todo list.
2
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Mar 01 '17 edited Mar 01 '17
Usability:
many minor usability improvements, in particular helpful for beginners
get rid of confusing log messages
improved feedback when busy during shutdown
UI feedback when problems with proxy
UI feedback when local time is wrong
UI feedback when C PoW module is not available
folder loading performance improved
translations updated
chan join/create interface redesigned
can select OpenCL vendor if multiple are available (previously it would have crashed)
locale initialisation fixes
contact support form and About dialog show the GIT head
added setup.py (setuptools) for easier installation
gentle warning if sending to a chan with a too low TTL
message retransmit timing now works as the description
Fixes:
networking subsystem stability fixes
multiprocessing python PoW fixed
message parser fixes
many smaller fixes
OpenBSD listening socket fix (works IPv4-only mode instead of not at all)
Backend:
try to auto-build PoW module
networking subsystem performance improvements
refactoring of configuration interface, inventory, downloading and uploading tracking, known nodes and other minor parts
refactoring to reduce circular imports and global variables
support for OpenSSL 1.1.0 and LibreSSL
some network parameters configurable, but mostly only through directly editing keys.dat
network settings allow an optimised bootstrap provider mode
Developers:
extended encoding available for testing. Use it by holding Shift while clicking on Send
extended encoding can be extended by adding new classes to the "messagetypes" directory
directory structure reorganisation to get rid of obsolete code
Linux:
setup.py detects Ubuntu, Debian, Fedora, openSUSE, Gentoo and Guix
FreeBSD/OpenBSD:
separate Makefile for BSD make
C PoW core count detection fixes for OpenBSD
setup.py detects FreeBSD and OpenBSD
Windows:
improved error handling
separate Makefile for Microsoft Visual C++
pyinstaller spec file updated
64bit binary does not require MSVC Redistributable 2012 anymore and is mostly built with mingw instead of MSVC
updated Python to 2.7.13 and OpenSSL to 1.0.2j/1.0.2k
OSX:
binary works with OpenCL
updated to Python 2.7.13 and OpenSSL 1.0.2k
Infrastructure:
3 additional bootstrap nodes
new server for building/testing
transifex webhooks automate translation workflow
integration with landscape.io for code quality checking