# Bbn\_80211\_tx.py not working with Gnuradio 3.2.2 on Ubuntu 12.04

**URL:** <https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353>\
**Category:** GNU Radio\
**Created:** [January 2, 2013, 11:44am UTC](https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353 "2013-01-02T11:44:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [January 2, 2013, 11:44am UTC](https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353/1 "2013-01-02T11:44:46Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)removed\_email\_address@domain.invalid_

---

<div class="post-metadata">

**Author:** ![Mohammed\_Karmoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@Mohammed\_Karmoose](https://www.ruby-forum.com/u/Mohammed_Karmoose)\
**Post date:** [January 2, 2013, 9:15pm UTC](https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353/2 "2013-01-02T21:15:29Z")

</div>

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](https://www.cgran.org/wiki/BBN80211))

Based on past discussion in the mailing list (  
[Difference between blks and blks2 - GNU Radio - Ruby-Forum](http://www.ruby-forum.com/topic/186522)) it looks like blks exists in 3.1  
and was removed in 3.2.

-nw

---

<div class="post-metadata">

**Author:** ![Mohammed\_Karmoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@Mohammed\_Karmoose](https://www.ruby-forum.com/u/Mohammed_Karmoose)\
**Post date:** [January 2, 2013, 9:22pm UTC](https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353/3 "2013-01-02T21:22:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mohammed\_Karmoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@Mohammed\_Karmoose](https://www.ruby-forum.com/u/Mohammed_Karmoose)\
**Post date:** [March 18, 2013, 9:23am UTC](https://www.ruby-forum.com/t/bbn-80211-tx-py-not-working-with-gnuradio-3-2-2-on-ubuntu-12-04/225353/4 "2013-03-18T09:23:39Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)_
