discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] benchmark_tx.py gives error


From: Shravan Rayanchu
Subject: [Discuss-gnuradio] benchmark_tx.py gives error
Date: Mon, 4 Dec 2006 14:46:22 -0600

Hi all,

I get an error (TypeError: unpack non-sequence) when I run
benchmark_tx.py with the option "bitrate". (I also get the same error
when using -i for interpolation). It runs fine when these options are
not specified. I am using the latest gnuradio version from SVN and
swig 1.3.31, python 2.4.2 with ubuntu. (./configure told me that
ezdop, alsa did not build .. hope thats not a problem)

I have an older version of gnuradio (on a different machine) which
uses an older swig and these examples run fine. Is it a problem with
the new version of gnuradio/swig?

Here are the details:

$ ./benchmark_tx.py -f 2412M

RUNS FINE.

$ ./benchmark_tx.py -f 2412M --bitrate=500k -v

Traceback (most recent call last):
 File "./benchmark_tx.py", line 121, in ?
   main()
 File "./benchmark_tx.py", line 93, in main
   fg = my_graph(mods[options.modulation], options)
 File "./benchmark_tx.py", line 43, in __init__
   self.txpath = transmit_path(self, modulator_class, options)
 File 
"/home/shravan/GNURADIO/gnuradio/gnuradio-examples/python/digital/transmit_path.py",
line 61, in __init__
   self._setup_usrp_sink()
 File 
"/home/shravan/GNURADIO/gnuradio/gnuradio-examples/python/digital/transmit_path.py",
line 116, in _setup_usrp_sink
   self._samples_per_symbol, self._interp, dac_rate)
TypeError: unpack non-sequence

Thanks,

Shravan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]