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: Marcus D. Leech
Subject: Re: Python Block : no access to code
Date: Thu, 1 Feb 2024 18:42:22 -0500
User-agent: Mozilla Thunderbird

On 01/02/2024 15:21, Paul Atreides wrote:
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
Most apps that drop files in "/tmp" use file-name randomization to avoid collisions with other applications that may use "/tmp",
  and, indeed, other users.  Unix-family operating systems originated as multi-user systems, so with shared temporary directories
  like "/tmp" some mechanism for avoiding file-name collisions was developed.



<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]