Bbn_80211_tx.py not working with Gnuradio 3.2.2 on Ubuntu 12.04

Dear all,

I’ve managed to install Gnuradio 3.2.2 on Ubuntu 12.04. And I installed
the
BBN receiver (douggeiger branch). However, when I try to run the
bbn_80211_tx.py command, I get the following error:

karmo@karmolap:~/bbn_doug$ cd src/examples/
karmo@karmolap:~/bbn_doug/src/examples$ ./bbn_80211b_tx.py
Traceback (most recent call last):
File “./bbn_80211b_tx.py”, line 40, in
from bbn_80211b_transmit_path import bbn_80211b_transmit_path
File “/home/karmo/bbn_doug/src/examples/bbn_80211b_transmit_path.py”,
line 27, in
from gnuradio import gr, gru, blks
ImportError: cannot import name blks
karmo@karmolap:~/bbn_doug/src/examples$

Is there some kind of incompatibility issues? I know that the blks
package
is named blks2 in newer versions of Gnuradio. However, I don’t want to
update the importing commands to account for the new packages unless I
know
there is no other way.


Thank you
---------------------------------------------------
Mohammed Hassan Karmoose
Teaching Assistant, Electrical Engineering Dept.
Faculty of Engineering, Alexandria University
6th Hurghada Street, San Stephano
Alexandria, Egypt
Email: m [email protected][email protected]

I’ve never used the BBN receiver, but I’d recommend downgrading gnuradio
a
bit further. CGRAN lists BBN compatibility with GR 3.1.1 (
https://www.cgran.org/wiki/BBN80211)

Based on past discussion in the mailing list (
Difference between blks and blks2 - GNU Radio - Ruby-Forum) it looks like blks exists in 3.1
and was removed in 3.2.

-nw

It has been a long time since I looked closely at this branch. I am
guessing that I only ever got the bbn_80211b_rx.py script working
correctly, and that the requisite changes (e.g. importing blks2) were
not
done for the corresponding tx script. If you follow what changes were
done
for the rx script you should be able to do the same/similar for the rx
script.

Good luck!
Doug

Hi:
I came accross the same error,did you have solved this problem?? If
yes,how? I’m quite frustrated now, thank u so much!!!
Mohammed Karmoose wrote in post #1090811:

Dear all,

---------------------------------------------------
Mohammed Hassan Karmoose
Teaching Assistant, Electrical Engineering Dept.
Faculty of Engineering, Alexandria University
6th Hurghada Street, San Stephano
Alexandria, Egypt
Email: m [email protected][email protected]