discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC [Errno 13] Permission denied for No GUI graph


From: Cinaed Simson
Subject: Re: [Discuss-gnuradio] GRC [Errno 13] Permission denied for No GUI graphs
Date: Thu, 6 Jul 2017 14:48:06 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/06/2017 02:14 PM, Jozef Lošonský wrote:
> Hi, there are no GUI elements and graf generated py file works fine from
> console, but GRC only is unable to execute that already generated file.

Then post the flowgraph and the python code - it's the only way we can
help you.

-- Cinaed

> 
> On Jul 6, 2017 11:08 PM, "Cinaed Simson" <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     On 07/06/2017 12:10 AM, Jozef Lošonský wrote:
>     > Hello,
>     > my GRC is unable to execute graphs (no GUI elements) when I switch
>     > option to No GUI, everything else seems to be working.
> 
>     The option "No GUI" means no GUI elements, i.e., no graphs.
> 
>     If you had a graphical element in your flowgraph, GRC should have
>     complained and printed an error message in the GRC console when you
>     clicked on the button "Generate the flow graph".
> 
>     In order to generate python code from GRC you have disable the GUI
>     elements in the flowgraph in order to generate python code.
> 
>     > In addition "No
>     > GUI" py script (generated by same GRC) is running fine in console
>     of the
>     > same user which is running GRC what is interesting.
> 
>     I didn't find other
>     > way how to try get more info about issue than run whole GRC under
>     strace
>     > -ffy and read the strace file.
>     > Comparing strace files with working GRC instance on another PC
>     @jcorgan
>     > did suggest that in execve python is missing.
> 
>     And most likely the gnuradio software and the required software packages
>     needed to run gnuradio on PC @jcorgan are probably missing too.
> 
>     A working installation of python is one of the perquisite to run
>     gnuradio.
> 
>     >
>     > Bad:
>     > [pid  2704] execve("/usr/local/bin/", ["", "-e", "/usr/bin/python",
>     > "-u", "/home/pi/top_block.py"]...= -1 EACCES (Permission denied)
>     > Good:
>     > [pid 12112] execve("/usr/bin/python", ["/usr/bin/python", "-u",
>     > "/home/loso/top_block.py"], [/* 75 vars */] <unfinished ...>
>     >
>     > I'm trying to find which env variable or what option am I missing/have
>     > wrongly configured in GRC config or somewhere else.
>     Based on the content of this post, everything on your machine is working
>     correctly.
> 
>     If you can actually generate an error message using gnuradio - other
>     then enclosed operator errors - post the error message, the flowgraph
>     and the python code.
> 
>     >
>     > Thank you.
>     > Jozef
>     >
>     >
>     >
>     > _______________________________________________
>     > Discuss-gnuradio mailing list
>     > address@hidden <mailto:address@hidden>
>     > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >
> 
> 
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
> 




reply via email to

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