[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: [Discuss-gnuradio] QT GUI Time Sink Attribute Error
From:       Activecat <activecat () gmail ! com>
Date:       2014-01-31 5:18:43
Message-ID: CANfBnZ7M4qvvmZPprkDrOnATpXhNhz=25j4NkuKaWm2Z9ZY23A () mail ! gmail ! com
[Download RAW message or body]

Dear Nick,

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

Regards,
activecat



On Fri, Jan 31, 2014 at 12:02 PM, Nick Foster <bistromath@gmail.com> wrote:

> Upper left corner of your GRC flowgraph. Where it says Generate Options.
> Change that to "QT GUI".
>
> --n
>
>
> On Thu, Jan 30, 2014 at 7:07 PM, Activecat <activecat@gmail.com> wrote:
>
>> 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 <module>
>>     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
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>

[Attachment #3 (text/html)]

<div dir="ltr">Dear Nick,<div><br></div><div>I see, it is a value for &quot;Generate \
Options&quot; within the &quot;Options&quot; block. </div><div>I get it, \
thanks.</div><div><br></div><div>Regards,</div><div>activecat</div>

<div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Fri, Jan 31, 2014 at 12:02 PM, Nick Foster <span \
dir="ltr">&lt;<a href="mailto:bistromath@gmail.com" \
target="_blank">bistromath@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Upper left corner of your GRC flowgraph. Where \
it says Generate Options. Change that to &quot;QT GUI&quot;.<div>

<br></div><div>--n</div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote"><div><div class="h5">On Thu, Jan 30, 2014 at 7:07 PM, Activecat \
<span dir="ltr">&lt;<a href="mailto:activecat@gmail.com" \
target="_blank">activecat@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear \
Sir,<div><br></div><div>How to use the block of QT GUI Time Sink?</div>

<div>It always produces following error message:<br>

<div><br></div><div><div>Generating: &quot;/home/sgku/grc/top_block.py&quot;</div>

<div>Executing: &quot;/home/sgku/grc/top_block.py&quot;<br></div><div>Traceback (most \
recent call last):<br></div><div>  File &quot;/home/sgku/grc/top_block.py&quot;, line \
158, in &lt;module&gt;</div><div>    tb = top_block()</div>





<div>  File &quot;/home/sgku/grc/top_block.py&quot;, line 93, in __init__</div><div>  \
self.top_layout.addWidget(self._qtgui_time_sink_x_0_win)</div><div>  File \
&quot;/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py&quot;, line 94, \
in __getattr__</div>





<div>    return getattr(self._tb, name)</div><div>AttributeError: \
&#39;gr_top_block_sptr&#39; object has no attribute \
&#39;top_layout&#39;</div><div>&gt;&gt;&gt; \
Done<br></div></div></div><div><br></div><div>Please advise, thanks.</div>





<div>Regards,</div><div>activecat</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Discuss-gnuradio mailing list<br>
<a href="mailto:Discuss-gnuradio@gnu.org" \
target="_blank">Discuss-gnuradio@gnu.org</a><br> <a \
href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br> \
<br></blockquote></div><br></div> </blockquote></div><br></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic