Benchmark_tx.py gives error

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

Hi,

I am still stuck with the problem. I was wondering if someone had
encountered similar errors and if they could help me out. I get the
same error (TypeError: unpack non-sequence) with tunnel.py i.e. It
works fine with only --freq argument, but when I use both --freq and
–bitrate=500k, I get the same error.

I appreciate the help. Thanks,

Shravan

On Wed, Dec 06, 2006 at 02:04:13AM -0600, Shravan Rayanchu wrote:

Shravan
I’ll try to reproduce this in a little bit.

Thanks for your patience.

Eric