-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sara,
this is a python module, not an executable file. It seems like you tried to run it, and since it does not specify otherwise, your shell tried to treat it as a shell script. Won't work. That file contains hierarchical blocks, which you can use in a flow graph, not on their own. I still get the feeling that you're jumping around in GNU Radio code without really knowing what you're looking at. I suggest doing the introductory guides from the wiki; please go to http://gnuradio.org and read the "How do I use GNU Radio?" page and at least the first two "beginner level tutorials" from http://gnuradio.org/redmine/projects/gnuradio/wiki/Tutorials page. Greetings, Marcus On 24.04.2014 04:42, Sara Chérif wrote: > I run the file "ofdm_txrx.py" from terminal using command > ./ofdm_txrx.py But I got errors !!! why ? > > Thanks in advance ! Here is the output on terminal: > > > ./ofdm_txrx_me.py: line 26: OFDM Transmitter / Receiver hier > blocks. > > For simple configurations, no need to connect all the relevant > OFDM blocks to form an OFDM Tx/Rx--simply use these. : No such file > or directory ./ofdm_txrx_me.py: line 31: import: command not found > from: can't read /var/mail/gnuradio ./ofdm_txrx_me.py: line 33: > import: command not found from: can't read /var/mail/utils > ./ofdm_txrx_me.py: line 36: try:: command not found from: can't > read /var/mail/gnuradio from: can't read /var/mail/gnuradio from: > can't read /var/mail/gnuradio ./ofdm_txrx_me.py: line 41: except: > command not found ./ofdm_txrx_me.py: line 43: import: command not > found ./ofdm_txrx_me.py: line 44: import: command not found > ./ofdm_txrx_me.py: line 45: import: command not found > ./ofdm_txrx_me.py: line 47: _def_fft_len: command not found > ./ofdm_txrx_me.py: line 48: _def_cp_len: command not found > ./ofdm_txrx_me.py: line 49: _def_frame_length_tag_key: command not > found ./ofdm_txrx_me.py: line 50: _def_packet_length_tag_key: > command not found ./ofdm_txrx_me.py: line 51: > _def_packet_num_tag_key: command not found ./ofdm_txrx_me.py: line > 53: syntax error near unexpected token `(' ./ofdm_txrx_me.py: line > 53: `_def_occupied_carriers = (range(-26, -21) + range(-20, -7) + > range(-6, 0) + range(1, 7) + range(8, 21) + range(22, 27),)' > > > > _______________________________________________ Discuss-gnuradio > mailing list [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTWNP5AAoJEBQ6EdjyzlHtZ1IH/1MU8yjObQt0vSxeRA0PAtW/ 9z15fYN1LRFk8bc0ikjzl1brMg30N9XOrQJkZkCLhdUG65DFAxCI0eM//DSEAJCo /6aN7K7msXEzG9UwLC5eV3vNpQatS2LWIVzX4boXJeL9WWReGCwMZO4D7Sr2oQrr LyySHE/RF3j8qiz04Yy5vl4AvXCam94jfCj4CZ/eahqOGjaF3RRk83xtfJ5kD+tU NIBWf/gZ0mG5GJDKEsqbbEh3ngd7/D510QYQy3D4f7JrHzKnfhblIDUiBlRQvzgF SyXYhiy3IaM9uH4lHbRLcFyv+P5Ny7lFOgrxSaxDqb4JYdXUM77UPE8kXsoSDB8= =DCm+ -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
