discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Python Block : no access to code


From: Paul Atreides
Subject: Re: Python Block : no access to code
Date: Thu, 1 Feb 2024 15:21:05 -0500

Tom:
1) This is really more of a Linux file system permissions issue, but I would guess that if you copy the EPY block to any directory in /home/user, you will be in good shape. If you still get the error, you may need to change the permissions of the actual python file, a quick Google search or stackoverflow will tell you how to do that.

When you place an embedded block in GNURadio companion, The block ID is automatically populated by default with the block type and an index (just like every other block),  because there are block contents for that particular index of the embedded block, a random stream characters is generated to associate the text file as the contents for that block. In GNURadio 3.10 you can change the generated name of the embedded block by editing the block ID field when you create the embedded block in GNURadio companion. 

Hope this helps

<end transmission>

On Feb 1, 2024, at 14:38, tom sutherland <alphatozeta@yahoo.com> wrote:


I am running a VirtualBox Ubuntu 22.043 with Radioconda/gnuradio-companion. I have a python block that I want to use but when I try to open it, I get the error /usr/bin/env: ‘/tmp/epy_block_0_nlgw0hml.py’: Permission denied. Its a directory/file that I don't have access to.
1)  How do I fix this issue?
2) Why does the Python Block, name = MyBlock, save anything to such a non-descriptive name like epy_block_0_nlgw0hml.py ?

Thanks...Tom

reply via email to

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