Error with gr-lte in vector_to_streams_make()

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

-----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, [email protected] 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/

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-----

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

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)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs