On 08/06/12 13:04, ki6njf wrote:
Phil, I just got simple_fm_rcv working today.
I had to:
open up a terminal
cd to my radio flowdiagram directory - /home/jim/gnu_radio
svn co https://www.cgran.org/svn/projects/simple_fm_rcv
cd to the directory - in my case - /home/jim/gnu_radio/simple_fm_rcv/trunk/
make install
export PYTHONPATH=$PYTHONPATH:/home/jim/bin
then run gnuradio-companion
then open simple_fm_rcv.grc
it works! Before this, I was getting an import error for
simple_fm_helper no matter where I put the simple_fm_helper program or
what I set the PYTHONPATH to.
now each time I run gnuradio-companion or the python variant, I have to
run the export PYTHONPATH=$PYTHONPATH:/home/jim/bin
Thanks Marcus and Jim for the detailed instructions, however I still
cannot get this to work!
This my python path:
[phil@localhost trunk]$ cat $PYTHONPATH
cat: /usr/local/src/gr-osmosdr/include/osmosdr/:/home/phil/bin
The path points to osmosdr_source_c.h.
And these are still the same errors:
Error 0:
Block - import_1 - Import(import):
Param - Import(import):
Import "import simple_fm_helper" failed.
Error 1:
Block - cur_freq - Variable(variable):
Param - Value(value):
Value "simple_fm_helper.freq_select(ifreq,preselect)" cannot be
evaluated:
name 'simple_fm_helper' is not defined
Error 2:
Block - rtext_0 - WX GUI Static Text(variable_static_text):
Param - Default Value(value):
Value "cur_freq" cannot be evaluated:
name 'cur_freq' is not defined
Error 3:
Block - gr_freq_xlating_fir_filter_xxx_0 - Frequency Xlating FIR
Filter(gr_freq_xlating_fir_filter_xxx):
Sink - in(0):
Port is not connected.
I'm at my wits end.
--
Regards,
Phil
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio