[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnuradio 3.9 with gr-iio incorporated
From: |
Chris Gorman |
Subject: |
gnuradio 3.9 with gr-iio incorporated |
Date: |
Mon, 21 Sep 2020 07:07:26 -0400 |
Hello All,
First off thanks to Edward Kigwana for his efforts making gr-iio for a
pybind11 environment. I am testing out his code and have some
questions. I am using the commits shown by
https://github.com/gnuradio/gnuradio/compare/master...ekigwana:merge-griio-upstream
.
When I try to make a simple flowgraph I get a python error in running
the script.
chris [ ~ ]$ python broadcast_fm.py.gr-3.9
Traceback (most recent call last):
File "/opt/gnuradio/lib/python3.8/site-packages/gnuradio/gr/hier_block2.py",
line 31, in wrapped
endp = [(p.to_basic_block(), 0) if hasattr(p, 'to_basic_block')
File "/opt/gnuradio/lib/python3.8/site-packages/gnuradio/gr/hier_block2.py",
line 32, in <listcomp>
else (p[0].to_basic_block(), p[1]) for p in points]
AttributeError: 'gnuradio.iio.iio_python.pluto_source' object has no
attribute 'to_basic_block'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "broadcast_fm.py.gr-3.9", line 200, in <module>
main()
File "broadcast_fm.py.gr-3.9", line 176, in main
tb = top_block_cls()
File "broadcast_fm.py.gr-3.9", line 118, in __init__
self.connect((self.iio_pluto_source_0, 0),
(self.rational_resampler_xxx_0, 0))
File "/opt/gnuradio/lib/python3.8/site-packages/gnuradio/gr/hier_block2.py",
line 34, in wrapped
raise ValueError("Unable to coerce endpoints: " + str(err))
ValueError: Unable to coerce endpoints:
'gnuradio.iio.iio_python.pluto_source' object has no attribute
'to_basic_block'
This flow graph works when generated by gnuradio 3.8.2. I'm wondering
if anyone has seen this error and can point me to a fix?
Thanks in advance.
Chris
broadcast_fm.grc
Description: application/gnuradio-grc
broadcast_fm.py.gr-3.9
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnuradio 3.9 with gr-iio incorporated,
Chris Gorman <=