Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ieee802_15_4' has no attribute 'rime_stack' #50

Closed
darrenyoung23 opened this issue Aug 11, 2020 · 5 comments
Closed

'ieee802_15_4' has no attribute 'rime_stack' #50

darrenyoung23 opened this issue Aug 11, 2020 · 5 comments

Comments

@darrenyoung23
Copy link

darrenyoung23 commented Aug 11, 2020

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
Copy link
Owner

bastibl commented Aug 12, 2020

Make sure that:

  • you have swig installed, such that Python bindings for C++ blocks are generated in the first place
  • the Python module is found, i.e., it's in your PYTHONPATH
  • the shared library (libgnuradio-ieee802154.so) is in your LD_LIBRARY_PATH

@darrenyoung23
Copy link
Author

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
Copy link
Author

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

@bastibl
Copy link
Owner

bastibl commented Aug 19, 2020

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants