Fatal Python error: PyThreadState_Get: no current thread (Mountain Lion) #7
Comments
|
$ uname -a $ gcc --version |
Indicates that it's linking against the system python. I'm looking into how to prevent that. |
|
It looks like this I removed it because of this error message: I'm looking into how to make it work again. |
|
According to this, that's just a red herring: http://openradar.appspot.com/11894054 I'm trying to compile it with the path set correctly, we'll see how it goes. |
|
ok ill test again when you push an update |
|
You can actually test right now by running: |
|
nope. still borked $ otool -L /usr/local/Cellar/gnuradio/3.6.1/lib/libgnuradio-qtgui.3.6.1.dylib |
|
I just pushed a patch that fixes this issue. Can you test it out? |
|
Now I get a segfault: |
|
Do you have XQuartz installed? |
|
Yes. XQuartz 2.7.2 |
|
From the looks of it, this looks to be an issue where GNURadio is compiling against OSX's python install. Looking further it seems cairo is causing the crash. Uninstalled everything I installed to manually build GNU Radio with Mac OS X Python and re-installing it. |
|
brew uninstall cairo py2cairo pygobject pygtk gtk+ gnuradio brew install pygtk gnuradio That fixed it for me as I installed the other packages before I installed python via brew.. |
|
I'm still getting this - using a little tool I wrote that tells you which dylibs are using the system python ( https://gist.github.com/4466116 ), I found that /usr/local/lib/python2.7/site-packages/gnuradio/qtgui/_qtgui_swig.so was linked against the System python. I tried removing both swig and gnuradio and reinstalling - but with no luck. Ideas? |
|
I had the same problem. I got around it by temporarily symlinking the brewed python in place of the system python, brew uninstall gnuradio, brew install gnuradio, then changing the symlinks back. |
|
I know the issue is closed, but just for reference I've had a simillar issue today. What helped me was following what tomekr did in metacollin/homebrew-gnuradio#47 (comment) |
On Mountain Lion, I'm getting:
$ gnuradio-companion
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/init.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Fatal Python error: PyThreadState_Get: no current thread
Possibly a lib-path error?
$ DYLD_PRINT_LIBRARIES=1 gnuradio-companion 2>&1 | grep -i python | grep -v Cellar
dyld: loaded: /usr/local/bin/python
dyld: loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Fatal Python error: PyThreadState_Get: no current thread
this is forked from Issue #6
The text was updated successfully, but these errors were encountered: