A simple question

Hi,everyone
Here is a simple code
class my_top_class(gr.top_block):
def init(self):
gr.top_block.init(self)

    src_1 = (1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8)
    src=gr.vector_source_f(src_1)
    v2s=gr.vector_to_stream(gr.sizeof_int,2)
    self.connect(src,v2s,dst1)

if name == ‘main’:
tb = my_top_class()
try:
tb.start()
except KeyboardInterrupt:
pass

i just want to make some type conversions,and how to set the parameter
in
v2s=gr.vector_to_stream(gr.sizeof_int,2),if i set 2 into 1,it works
well,while if i intend to change 1 to other num. some mistakes come as
follows.

ValueError: itemsize mismatch: vector_source_f(1):0 using 4,
vector_to_stream(2):0 using 8

i also read about gr_vector_stream(),
however,to some degree,i don’t quite understand it.
Any help would be appreciate
Thanks