QT GUI Time Sink Attribute Error

Dear Sir,

How to use the block of QT GUI Time Sink?
It always produces following error message:

Generating: “/home/sgku/grc/top_block.py”
Executing: “/home/sgku/grc/top_block.py”
Traceback (most recent call last):
File “/home/sgku/grc/top_block.py”, line 158, in
tb = top_block()
File “/home/sgku/grc/top_block.py”, line 93, in init
self.top_layout.addWidget(self._qtgui_time_sink_x_0_win)
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py”,
line 94, in getattr
return getattr(self._tb, name)
AttributeError: ‘gr_top_block_sptr’ object has no attribute ‘top_layout’

Done

Please advise, thanks.
Regards,
activecat

Upper left corner of your GRC flowgraph. Where it says Generate Options.
Change that to “QT GUI”.

–n

Dear Nick,

I see, it is a value for “Generate Options” within the “Options” block.
I get it, thanks.

Regards,
activecat