[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Issue with Virtual Sink/Source

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Issue with Virtual Sink/Source
Date: Mon, 05 Jan 2015 12:09:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/05/2015 11:57 AM, khalid.el-darymli wrote:

We recently bought a new PC with some powerful specs. GNU Radio was built from the source and it seems to be installed fine. However, when I try to use the virtual sink and source blocks in my flow graph, I am getting the following error:

Traceback (most recent call last):
  File "./test_skh.py", line 595, in <module>
    tb = test_skh()
  File "./test_skh.py", line 486, in __init__
    self.connect((self.virtual_source_0, 0), (self.blocks_multiply_conjugate_cc_0, 0))   
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 93, in __getattr__
    return getattr(self._impl, name)
AttributeError: 'top_block_sptr' object has no attribute 'virtual_source_0'

Once I replace the virtual blocks with direct connections, things work just fine. What is the cause for this problem and how to fix it?

Please note that on an older machine, GNU Radio was installed around a  month ago following the same procedure followed here, and the virtual sink/source blocks work just fine.

Thank you.

Best regards,

Discuss-gnuradio mailing list
My guess is that this machine has GR installed from the official repos as well, and you're getting an old GR instance.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]