21dotco / two1-python

The 21 command line interface and two1 bitcoin library. Send and receive BTC over HTTP.
https://earn.com
Other
365 stars 91 forks source link

21 market join on Raspberry Pi 3 gives error #23

Open theghostofc opened 7 years ago

theghostofc commented 7 years ago

When doing the setup on Raspberry Pi 3, I get the error that the platform is not supported. But I see Raspberry Pi in the list of supported platforms in the error. The reason could be in the underlying hardware.

In the file /master/two1/commands/market.py, in line no. 173, the code is:

info = open("/proc/cpuinfo").read()

and in line no. 180, it does:

is_raspberry_pi = 'BCM27' in info

but, for my Raspberry Pi, the value is BCM2835, due to which I get this error.

Maybe only checking with BCM should be enough. Thoughts?