« Return to Thread: Help using UCLA Zigbee PHY examples updated for UHD

Re: Help using UCLA Zigbee PHY examples updated for UHD

by Josh Blum-3 :: Rate this Message:

| View in Thread


>     File "/usr/local/lib/python2.7/dist-packages/gnuradio/ucla_blks/ieee802_15_4_pkt.py", line 241, in __init__
>     self._watcher = _queue_watcher_thread(self._rcvd_pktq, self.callback, self.chan_num)
>      File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 50, in __getattr__
>     return getattr(self._hb, name)
>    AttributeError: 'gr_hier_block2_sptr' object has no attribute 'chan_num'
>

Looks like a pretty strait forward error. There is no chan_num
attribute. So what class is "self" and why is it missing chan_num? How
does chan_num get initialized?

Perhaps there is a command line option you are not passing, and there
isnt any input checking/sanitation, so the error falls all the way
through to this part of the code.

-josh

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

 « Return to Thread: Help using UCLA Zigbee PHY examples updated for UHD