bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
438 stars 126 forks source link

modes_rx --help crashes on OS X 10.10 with Fatal Python Error #71

Closed nguillermin closed 9 years ago

nguillermin commented 9 years ago

$ modes_rx --help Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6

Worthwhile to note that OS X's own error reporter then came on. I'll spare you the gigantic error message I got from that (also, I forgot to copy it).

nguillermin commented 9 years ago

I believe but can't confirm that the problem ended up being the librtlsdr version, problem which was documented elsewhere.

Solution is to brew install librtlsdr --HEAD.

bistromath commented 9 years ago

Thank you for the update.

On Mon, Jul 20, 2015 at 8:09 PM Nils Guillermin notifications@github.com wrote:

I believe but can't confirm that the problem ended up being the librtlsdr version, problem which was documented elsewhere.

Solution is to brew install librtlsdr --HEAD.

— Reply to this email directly or view it on GitHub https://github.com/bistromath/gr-air-modes/issues/71#issuecomment-123137023 .

nguillermin commented 9 years ago

Solution up there didn't actually fix anything. After taking a look at the makefile output I tried this:

cmake -D PYTHON_LIBRARY=/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
-D PYTHON_EXECUTABLE=$(which python) \
../

My suspicions were that it had been compiled across different libraries so I thought I'd manually specify them. Following this I was able to modes_rx --help successfully.

edit: Nevermind, modes_rx -s osmocom still fails with the same PyThread error from above (Using a Nooelec R820T2).