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.
On Jul 6, 2017 11:08 PM, "Cinaed Simson" <cinaed.sim...@gmail.com> 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 > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio