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

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




_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
My guess is that this machine has GR installed from the official repos as well, and you're getting an old GR instance.


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to