[MacPorts] #47575: gnuradio: Fatal Python error: PyThreadState_Get: no current thread (was: gnuradio and python)
MacPorts
noreply at macports.org
Sun Apr 26 21:36:10 PDT 2015
#47575: gnuradio: Fatal Python error: PyThreadState_Get: no current thread
---------------------------+-------------------------
Reporter: stiffstone@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: gnuradio |
---------------------------+-------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => michaelld@…
* port: => gnuradio
Old description:
> I have built a module using gnu radio. I am running 10.10.3 .I setup the
> environment to load the module but when I start gnuradio-companion I get
> this failure:
> bash-3.2# export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
> bash-3.2# echo $PYTHONPATH
> /usr/local/lib/python2.7/site-packages/
> bash-3.2# gnuradio-companion
>
> ** (process:31294): WARNING **: Trying to register gtype
> 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
>
> ** (process:31294): WARNING **: Trying to register gtype
> 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
>
> ** (process:31294): WARNING **: Trying to register gtype
> 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
> Mac OS; Clang version 6.1.0 (clang-602.0.49); Boost_105800;
> UHD_003.008.003-MacPorts-Release
>
> Fatal Python error: PyThreadState_Get: no current thread
> Abort trap: 6
> bash-3.2#
New description:
I have built a module using gnu radio. I am running 10.10.3 .I setup the
environment to load the module but when I start gnuradio-companion I get
this failure:
{{{
bash-3.2# export PYTHONPATH=/usr/local/lib/python2.7/site-packages/
bash-3.2# echo $PYTHONPATH
/usr/local/lib/python2.7/site-packages/
bash-3.2# gnuradio-companion
** (process:31294): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:31294): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:31294): WARNING **: Trying to register gtype 'GSocketMsgFlags'
as enum when in fact it is of type 'GFlags'
Mac OS; Clang version 6.1.0 (clang-602.0.49); Boost_105800;
UHD_003.008.003-MacPorts-Release
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
bash-3.2#
}}}
--
Comment:
Why are you setting `PYTHONPATH` to somewhere inside /usr/local? What have
you installed in /usr/local? Having things installed there often
interferes with software installed with MacPorts. See wiki:FAQ#usrlocal.
--
Ticket URL: <https://trac.macports.org/ticket/47575#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list