Hello

Well l have everything set ready and most of the test code including
dial
tone running well. Am using Jaunty (9.04) on ubuntu. my task is to
transmit
or to listen to Fmstereo. l have two RfX2400 daughter on two usrp boxes
both connected to the same computer. when l run the code
(root
https://www.cgran.org/browser/projectshttps://www.cgran.org/browser/projects
/radio_data_systemhttps://www.cgran.org/browser/projects/radio_data_system
/trunk
https://www.cgran.org/browser/projects/radio_data_system/trunk/srchttps://www.cgran.org/browser/projects/radio_data_system/trunk/src
/pythonhttps://www.cgran.org/browser/projects/radio_data_system/trunk/src/python
/fm_tx_stereo.pyhttps://www.cgran.org/browser/projects/radio_data_system/trunk/src/python/fm_tx_stereo.py

I get an error message as follows
[email protected]:~$ cd Desktop/
[email protected]:~/Desktop$ cd New
bash: cd: New: No such file or directory
[email protected]:~/Desktop$ cd new
[email protected]:~/Desktop/new$ ls
Fmstereo.py Makefile Makefile.am Makefile.in
[email protected]:~/Desktop/new$ ./Fmstereo.py
File “./Fmstereo.py”, line 25
from gnuradio import gr, usrp, blks2
^
IndentationError: unexpected indent
[email protected]:~/Desktop/new$

Best regards

On Wed, Jul 29, 2009 at 4:40 AM, Daniel Ampem[email protected] wrote:

File “./Fmstereo.py”, line 25
from gnuradio import gr, usrp, blks2
^
IndentationError: unexpected indent

Python parses your code based on the indentation so it doesn’t have to
use brackets to separate logical portions of code. You did that
incorrectly somehow.

http://diveintopython.org/getting_to_know_python/indenting_code.html

Jason

Of course, if by Fmstereo you mean broadcast FM radio, you’re not going
to
be able to listen with the RFX2400. You need something like TVRX.

Jordan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs