Entradas

Mostrando las entradas de abril, 2014

Error "Fatal Python error: PyThreadState_Get: no current thread" on GNU Radio

If you're getting the error "Fatal Python error: PyThreadState_Get: no current thread" while running GNU Radio on Mac OS X, is because you've OOT modules installed in a wrong way. If you installed GNU Radio using MacPorts and the OOT modules from source, both are using different Python threads (the port's version and the apple's version). To solve that issue, just set the PYTHON_LIBRARY variable while installing the modules: cmake -DPYTHON_LIBRARY=/opt/local/lib/libpython2.7.dylib .. And remember to set the variables in ~/.profile to load the modules on GRC: export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH export GRC_BLOCKS_PATH=/usr/local/share/gnuradio/grc/blocks