discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Companion flow error


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Companion flow error
Date: Tue, 08 Mar 2016 23:22:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 03/08/2016 11:10 PM, Nikos Balkanas wrote:
Hi Nate,

Not really. I added line to .profile (that's where I maintain PATH) and reexported PATH with the new value, b4 starting the companion. It shouldn't make a difference.
I then rebooted my PC, just to make sure that PATH was updated correctly, same error as before.

BR,
Nikos
If you just try to execute the generated .py file, from a window that apparently has correct PATH, what happens?



On Wed, Mar 9, 2016 at 5:45 AM, Nate Temple <address@hidden> wrote:
Hi Nikos,

Did you restart gnuradio-companion from a new terminal after adding the line to your ~/.bashrc file?


- Nate


> On Mar 8, 2016, at 7:09 PM, Nikos Balkanas <address@hidden> wrote:
>
> ​Hi Nate,
>
> Thank you for your fast reply. I tried your suggestions, but i seem to still get the same error:
>
> > echo $PATH
> /opt/AMDAPPSDK-3.0:/opt/AMD/CodeXL:/home/nikos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:.:/home/nikos/baud:/home/nikos/baudline_1.08_linux_x86_64 ​
>
> > ls -ld baud*
> drwxrwxr-x 2 nikos nikos 4096 Mar 9 04:31 baudline_1.08_linux_x86_64
>
> >['baudline', '-stdin', '-record', '-spacebar', 'recordpause', '-samplerate', '40000000', '-channels', '2', '-format', 'le32f', '-quadrature', '-basefrequency', '2100000000.0']
> [Errno 2] No such file or directory
> Traceback (most recent call last):
> File "/home/nikos/Desktop/top_block.py", line 116, in <module>
> tb = top_block()
> File "/home/nikos/Desktop/top_block.py", line 84, in __init__
> **{})
> File "/usr/local/lib/python2.7/dist-packages/baz/baudline.py", line 146, in __init__
> self.p = subprocess.Popen(baudline_exec, stdin=subprocess.PIPE)       # , stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=16384 or -1
> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
> errread, errwrite)
> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
>
> >>> Done
>
> Attaching new flowgraph and top_block.py.
>
> BR
> Nikos
>
>
>
> <Tutorial.grc><top_block.py>




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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