Forum: GNU Radio bbn_80211_tx.py not working with Gnuradio 3.2.2 on Ubuntu 12.04

Posted by Mohammed Karmoose (Guest)
on 2013-01-02 11:44
(Received via mailing list)
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 <module>
    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 <module>
    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 <firesitter@hotmail.com>.h.karmoose@gmail.com*
Posted by Nathan West (Guest)
on 2013-01-02 21:15
(Received via mailing list)
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 (
http://www.ruby-forum.com/topic/186522) it looks like blks exists in 3.1
and was removed in 3.2.

-nw
Posted by Douglas Geiger (Guest)
on 2013-01-02 21:22
(Received via mailing list)
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
Posted by tony paopao (tonypaopao)
on 2013-03-18 09:23
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 <firesitter@hotmail.com>.h.karmoose@gmail.com*
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.