discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [Discuss-GR] Running flowgraphs from command line


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] [Discuss-GR] Running flowgraphs from command line
Date: Tue, 08 Sep 2015 14:07:39 -0400

[off list]

Hi Patrick - Thanks for the feedback. I've heard of your issue before;
never experienced it myself. Do you mind if I ask you to do a few things
to help debug & maybe we can figure out a better way to keep GR / Python
/ MP happy? I not, that's fine too; just thought I'd ask.

1) If you want to revert 'python' back to where it was, do "sudo port
select python none".

2) what does "which python" return after you do "sudo port select python
python27"? Hopefully it is now /opt/local/bin/python?

3) What happens when you execute the following (assuming (2) is still
valid, not (1))?
{{{
PYTHONPATH= /opt/local/bin/python -c "import sys; print sys.version;
print sys.path"
PYTHONPATH= /usr/bin/python -c "import sys; print sys.version; print
sys.path"
}}}

Thanks! - MLD

On Tue, Sep 8, 2015, at 12:47 PM, Patrick Krämer wrote:
> I did the following command, as suggested:
>
> Patricks-iMac:work patrick$ sudo port select python python27 Selecting
> 'python27' for 'python' succeeded. 'python27' is now active. Patricks-
> iMac:work patrick$ python if_else_mod.py Fatal Python error:
> PyThreadState_Get: no current thread Abort trap: 6
>
> As you can see python crashes and I also get another GUI fail message.
> Running like python2.7 if_else_mod.pystill works, though. I tried to
> revert the above change, but:
>
> Patricks-iMac:work patrick$ sudo port select python python
> Selecting 'python' for 'python' failed: The specified version
> 'python' is not valid.
>
> Think I will just stick with the way that works, until I at some point
> need to change something and then dive more into this. Thanks for your
> patience though.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]