On Mon, Jan 11, 2010 at 08:12:26PM -0500, Yan Nie wrote: > Thank you so much Matt. > > My own .rbf file is already been copied into /usr/local/share/usrp/rev2 > directory.
Copy it into /rev4 also. > I tried > self._u=usrp.sink_s(which=which,fpga_filename='ionosonde_tx_test0106.rbf') > to load the .rbf file for tx and rx as well. > However, I got the error as bellow when I ran the top-level python code. (I'm > modifying the python program and FPGA bitstream of gr-sounder in gnuradio.) > Exception exceptions.AttributeError: "sounder instance has no attribute > '_transmitting'" in <bound method sounder.__del__ of > <gnuradio.sounder.sounder instance at 0x9e3078c>> ignored > Traceback (most recent call last): > File "./usrp_ionosonde.py", line 115, in <module> > main() > File "./usrp_ionosonde.py", line 91, in main > debug=options.debug,which=options.which) > TypeError: __init__() got an unexpected keyword argument 'which' Does your __init__ method have an argument called 'which'? It looks from the backtrace that main is passing a keyword argument named 'which' to some code that doesn't expect one. Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
