# Benchmark\_tx.py gives error

**URL:** <https://www.ruby-forum.com/t/benchmark-tx-py-gives-error/78309>\
**Category:** GNU Radio\
**Created:** [December 4, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/benchmark-tx-py-gives-error/78309 "2006-12-04T21:49:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shravan\_Rayanchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Post date:** [December 4, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/benchmark-tx-py-gives-error/78309/1 "2006-12-04T21:49:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Shravan\_Rayanchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Post date:** [December 6, 2006, 9:06am UTC](https://www.ruby-forum.com/t/benchmark-tx-py-gives-error/78309/2 "2006-12-06T09:06:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Shravan\_Rayanchu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Post date:** [December 6, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/benchmark-tx-py-gives-error/78309/3 "2006-12-06T19:57:44Z")

</div>

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
