Thursday, July 6, 2017

[Discuss-gnuradio] GRC [Errno 13] Permission denied for No GUI graphs

Hello,
my GRC is unable to execute graphs (no GUI elements) when I switch option to No GUI, everything else seems to be working. 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.

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.

Thank you.
Jozef

No comments:

Post a Comment