[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] ofdm_txrx.py
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] ofdm_txrx.py |
Date: |
Thu, 24 Apr 2014 10:03:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
-----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 address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTWMVbAAoJEBQ6EdjyzlHtg9sH/2GcP0iQFNEWm/z/g5hw+Dzh
G2lSNoGFvxpn2EMfiSd8p3BxUnxc0mRLQFDel6f8wJjUGVUkB7WGvYKs7Kf5SDl5
Sq5IU0ceRVOFG/23rpeVtCaXwbAOM5xswfCPykase6Wi1Zr19uzPf62r3ssqzXPT
rFnfBmPVWfpADE7Pbvajy+pyufKqEy0GBqjvWH0aUBVfiKGzZCwF8UQ5229vtiuE
43uPZi+TduBf92VyyoGTNQvhsli4kiB2+uE906jcIojjIPX6xQjQuTNeDnpLRrI7
hzlhiNjsFUd4Cr/S6Uamgvb38pDALhQWdP6GwQbGXTa9P26CdxgkxBgbmZ41/Fk=
=T8Ud
-----END PGP SIGNATURE-----