Hi! I’m using gnuradio on ZedBoard and was trying a simple OFDM Mod
system just like in this video
https://www.youtube.com/watch?v=LZDWfnrxo6c
the flowgraph just looks like this… random source>short to float>ofdm
mod>throttle>wx gui fft sink
and this comes up…
"Generating: “/home/analog/Documents/top_block.py”
Executing: “/home/analog/Documents/top_block.py”
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
Using Volk machine: neon_hardfp
Traceback (most recent call last):
File “/home/analog/Documents/top_block.py”, line 101, in
tb = top_block()
File “/home/analog/Documents/top_block.py”, line 62, in init
verbose=None,
File “/usr/lib/python2.7/dist-packages/gnuradio/digital/ofdm.py”, line
95, in init
constel = psk.psk_constellation(arity)
File “/usr/lib/python2.7/dist-packages/gnuradio/digital/psk.py”, line
77, in psk_constellation
constellation = digital_swig.constellation_psk(points,
pre_diff_code, m)
AttributeError: ‘module’ object has no attribute ‘constellation_psk’
Done"
I have no idea what to do next…
THANKS! 
Patrcia,
try the new OFDM blocks. I suggest starting with the example
ofdm_loopback.grc and working from there to see how things work,
Cheers,
Martin
Hi! I think I’m using the latest OFDM blocks. I then tried using the
ofdm_loopback.grc and an error occured that is similar to the first
one…
"Showing: “/home/analog/Documents/ofdm_loopback.grc”
Generating: “/home/analog/Documents/ofdm_loopback_example.py”
Executing: “/home/analog/Documents/ofdm_loopback_example.py”
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
Using Volk machine: neon_hardfp
Traceback (most recent call last):
File “/home/analog/Documents/ofdm_loopback_example.py”, line 290, in
tb = ofdm_loopback_example()
File “/home/analog/Documents/ofdm_loopback_example.py”, line 186, in
init
scramble_bits=False
File “/usr/lib/python2.7/dist-packages/gnuradio/digital/ofdm_txrx.py”,
line 187, in init
crc = digital.crc32_bb(False, self.packet_length_tag_key)
AttributeError: ‘module’ object has no attribute ‘crc32_bb’
Done"
i’ve noticed that the digital_swig causes some error for both… looking
at it, there is nothing inside the digital_swig.py file… is that ok?
Patrcia,
this looks more like you don’t have GNU Radio properly installed –
these examples will work fine with a full installation of GNU Radio.
Cheers,
Martin
I’m using ZedBoard by ADI as my dev board and this is their instructions
for installing everything…
http://wiki.analog.com/resources/tools-software/linux-software/zynq_images
I did everything in here…
It seems everything about the OFDM blocks have similar problem…
The point is that what you’re seeing is clearly a Python telling you
that it can’t find the crc32_bb module nor the constellation_psk object
where they should be, on a proper installation of GNU Radio.
This is not a problem of these examples, but of your installation; as
Martin hinted, we need to solve that first.
Best regards,
Marcus
Marcus,
I just saw i was still running a 32 bit installation of linux. I just
removed my old installation and busy reinstalling a fresh Ubuntu 14.04
LTS.
What instalation way is best? Installing by the sudo apt-get install
command or just build my own version?
best regards,
Nick
----- Oorspronkelijk bericht -----
Van: “Marcus Müller” [email protected]
Aan: [email protected]
Verzonden: Maandag 24 augustus 2015 16:59:13
Onderwerp: Re: [Discuss-gnuradio] ofdm mod error
The point is that what you’re seeing is clearly a Python telling you
that it can’t find the crc32_bb module nor the constellation_psk object
where they should be, on a proper installation of GNU Radio.
This is not a problem of these examples, but of your installation; as
Martin hinted, we need to solve that first.
Best regards,
Marcus
On 08/24/2015 07:44 AM, Patrcia Wonder wrote:
I’m using ZedBoard by ADI as my dev board and this is their instructions
for installing everything…
http://wiki.analog.com/resources/tools-software/linux-software/zynq_images
I did everything in here…
It seems everything about the OFDM blocks have similar problem…
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio