# Error with gr-lte in vector\_to\_streams\_make()

**URL:** <https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640>\
**Category:** GNU Radio\
**Created:** [March 8, 2014, 3:24pm UTC](https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640 "2014-03-08T15:24:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [March 8, 2014, 3:24pm UTC](https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640/1 "2014-03-08T15:24:44Z")

</div>

Hi everybody,

I installed gr-lte with pybombs and when I launch the flow, I get this  
error :

File  
“/home/winston/target/lib/python2.7/dist-packages/lte/bch\_viterby\_vfvb.py”,  
line 42, in **init**  
self.vtss = blocks.vector\_to\_streams(1\*gr.sizeof\_float, 120,  
“bch\_viterbi\_vector\_to\_streams\_()”)

File  
“/home/winston/target/lib/python2.7/dist-packages/gnuradio/blocks/blocks\_swig1.py”,  
line 363, in make  
return \_blocks\_swig1.vector\_to\_streams\_make(\*args, \*\*kwargs)

TypeError:vector\_to\_streams\_make() takes at most 2 arguments (3 given)  
ctrlport.monitor received shutdown signal

Do you have any idea of what’s going wrong

thanks,

Winston  
Sent using Hushmail

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 8, 2014, 9:19pm UTC](https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640/2 "2014-03-08T21:19:33Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Winston,

please have a look at the file ‘python/bch\_viterbi\_vfvb.py’ and remove  
the string parameter from all the blocks [1]. I added an extra feature  
to my GR install and it gets you into trouble now.

The idea behind this parameter was to give each block a unique name  
which is not just the class name. This helps to distinguish all blocks  
in Performance Monitor. This might not be very interesting in most  
cases but if one has multiple instances of the same block you might  
want to be able to distinguish them. The whole gr-lte flowgraph spawns  
around 70 threads at the moment. So it’s definitely helpful in this  
case.

happy hacking  
Johannes

[1] the lines are: 42, 43, 76, 80, 81

On 08.03.2014 15:23, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi everybody,
> 
> I installed gr-lte with pybombs and when I launch the flow, I get  
> this error :
> 
> File  
> “/home/winston/target/lib/python2.7/dist-packages/lte/bch\_viterby\_vfvb.py”,

line 42, in **init**

> self.vtss = blocks.vector\_to\_streams(1\*gr.sizeof\_float, 120,  
> “bch\_viterbi\_vector\_to\_streams\_()”)
> 
> File

“/home/winston/target/lib/python2.7/dist-packages/gnuradio/blocks/blocks\_swig1.py”,

> 

line 363, in make

> Sent using Hushmail  
> -----BEGIN PGP SIGNATURE-----  
> Version: GnuPG v1.4.12 (GNU/Linux)  
> Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQIcBAEBAgAGBQJTG3sPAAoJEO7fmkDsqywMqgcP/2Lp5bBSFu4UNguRmUPtemqz  
bL77MGCL+lGtf9x7RXwfvbn9UyHgSSAgJXwpkvvv4q/Q27RoX6F/bqgKIdnBx3r5  
TWDmJa7ZEwAXgMI1nymD0b/Xj9s9ss4TgpsMzPgGOOGbp3//ZjhpQ0cv6zO5Rv8A  
VxOLZKJNsa/ReI/erFG0X1roxS0DGpJ9QkWPZ5UynjiuFE3UPpDooSLBFzbMfiHZ  
WT4cRORmMZgj5bQ6fM0hpeDlV3vhboagSsKoZQMT5b4lNxi95n+pL6zEIkpf3EgG  
4pWfZnbX3IVzzexBPc9FuDOYO74ClhmDdRqTtvqwXj39a4Jcb1ZZO+yX9Jh9c9sp  
78z1vJp7ieWrpYd75Ix1IWcB1qnZRbvkAbXN3NZ4hBAQmzOAZyACsi0ZnFs4CWGt  
wBT8GeHXg9BNhFMf9CYv8qhgvWcv2PXceqjB2eQScF9JVQ27qVLXpi+17TctVpvL  
8QSCjTRtc3x1e6Db4qENKSgZSTiF/yFV3Hzrg6jUgmLEmneeV31ZepbyssjBKwtG  
BEPZfUUMKrN5aS4ntEDJ+6C2lS+4PuzVkt3vpYvZof0ETGhVtEwC8hFNDhCbi1gq  
ZZiul5n8hsBHcF8zQHNJ4moRE8cne0/Q88VWxTjyGT1bRhKC8pssXAfiJrO1Eyi2  
bqzfpX6C+AXZnJLsCI6g  
=M1wR  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 25, 2014, 11:25am UTC](https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640/3 "2014-03-25T11:25:41Z")

</div>

Johannes  
please attach edited ‘python/bch\_viterbi\_vfvb.py’ file …i removed lines  
as u said but getting same error  
TypeError:vector\_to\_streams\_make() takes at most 2 arguments (3 given)  
Thanks,  
Charlie

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 27, 2014, 5:20am UTC](https://www.ruby-forum.com/t/error-with-gr-lte-in-vector-to-streams-make/239640/4 "2014-03-27T05:20:37Z")

</div>

i have installed gr-lte in gnuradio 3.7.2 .All hier blocks are generated  
and flow graph is complete upto unpack MIB.Is that it?.But when i run  
this i get following error

Using Volk machine: sse4\_2\_32  
pbch\_pre\_decoder\_vcvc\_1 set N\_ant to 2  
pbch\_pre\_decoder\_vcvc\_1 set decoding style to “tx\_diversity”  
pbch\_pre\_decoder\_vcvc\_0 set N\_ant to 1  
pbch\_pre\_decoder\_vcvc\_0 set decoding style to “tx\_diversity”  
pbch\_layer\_demapper\_vcvc\_1 set N\_ant to 2  
pbch\_layer\_demapper\_vcvc\_1 set decoding style to “tx\_diversity”  
pbch\_layer\_demapper\_vcvc\_0 set N\_ant to 1  
pbch\_layer\_demapper\_vcvc\_0 set decoding style to “tx\_diversity”  
RS GENERATOR cell\_id pilots 1  
RS GENERATOR cell\_id pilots 0  
Traceback (most recent call last):  
File “/home/cdot/top\_block.py”, line 218, in   
tb = top\_block(N\_rb\_dl\_0=options.N\_rb\_dl\_0)  
File “/home/cdot/top\_block.py”, line 92, in **init**  
self.decode\_bch\_hier\_gr37\_0 = decode\_bch\_hier\_gr37()  
File “/root/.grc\_gnuradio/decode\_bch\_hier\_gr37.py”, line 46, in  
**init**  
self.bch\_lte\_bch\_viterbi\_vfvb\_0 = lte.bch\_viterbi\_vfvb()  
File “/usr/local/lib/python2.7/dist-packages/lte/bch\_viterbi\_vfvb.py”,  
line 42, in **init**  
self.vtss = blocks.vector\_to\_streams(1\* gr.sizeof\_float, 120,  
“bch\_viterbi\_vector\_to\_streams\_0”)  
File  
“/usr/local/lib/python2.7/dist-packages/gnuradio/blocks/blocks\_swig1.py”,  
line 369, in make  
return \_blocks\_swig1.vector\_to\_streams\_make(\*args, \*\*kwargs)  
TypeError: vector\_to\_streams\_make() takes at most 2 arguments (3 given)
