bastibl / gr-ieee802-15-4

IEEE 802.15.4 ZigBee Transceiver
https://www.wime-project.net
GNU General Public License v3.0
277 stars 87 forks source link

'ieee802_15_4' has no attribute 'rime_stack' #50

Closed darrenyoung23 closed 4 years ago

darrenyoung23 commented 4 years ago

Hi Bastian,

Trying to runtransceiver_OQPSK (/gr-ieee802-15-4/examples/ieee802_15_4_OQPSK_PHY.grc) however I'm getting following error

File "transceiver_OQPSK.py", line 134, in init self.ieee802_15_4_rime_stack_0 = ieee802_15_4.rime_stack([129], [131], [132], [23,42]) AttributeError: module 'ieee802_15_4' has no attribute 'rime_stack'

Not sure why this is the case, is there something i am missing?

bastibl commented 4 years ago

Make sure that:

darrenyoung23 commented 4 years ago

Thanks, I installed swig. seems this error is gone now. however I'm getting following error now. return _runtime_swig.top_block_sptr_primitive_msg_connect(self, *args) RuntimeError: invalid msg port in connect() or disconnect()

darrenyoung23 commented 4 years ago

running with gnuradio-config-info -v 3.8.1.0 , wondering whether this is a gnuradio thing?

bastibl commented 4 years ago

So you use GNU Radio v3.8.1.0 with the maint-3.8 branch of this module? Please make sure that you use the unmodified flowgraphs, i.e., git should show a clean repository. I just tested it with the GNU Radio version and it works here.

darrenyoung23 commented 4 years ago

You are correct, it's work well with the unmodified flow graph.