discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNU Radio Companion isn't aware of custom pythonp


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] GNU Radio Companion isn't aware of custom pythonpath(s)
Date: Thu, 06 Jun 2013 17:14:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16


On 06/06/2013 02:54 PM, Arturo Rinaldi wrote:
I bumped into a strange issue in the past few days. When i launch GRC by
the desktop link generated, the program itself isn't aware of my custom
pythonpath set in the .bashrc settings file. I tried to modify the
desktop link also by checking the option to *launch the program in a
terminal* and putting into the blank space :

/export PYTHONPATH=$PYTHONPATH:<my-custom-path>  \ gnuradio-companion/

but without any results. I have never experienced this issue with the
past versions of gnuradio. I'm running Kubuntu 13.04 with gnuradio
3.6.4.1. The only way it works is by making a script and launch it from
my desktop. No issues if i launch GRC from shell, after all the
pythonpath is embedded in the launched shell.

thanks in advance for helping me.
I can confirm that this is an issue. There may need to be a helper
gnuradio-companion script that sets the env vars and then calls the
actual python script. The gnuradio-grc.desktop would call this script
instead. Not sure of a better way to do that.

-josh



In Ubuntu, terminals aren't automatically "login" terminals, and so don't run your .bashrc, although for terminals at least, you can configure
  them to pretend to be "login" terminals, and thus run your .bashrc.


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org




reply via email to

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