bastibl / gr-ieee802-15-4

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

itemsize mismatch when running GRC transceiver app #2

Closed Crypt0s closed 10 years ago

Crypt0s commented 11 years ago

Compiled against brand-new GNURadio on 32-bit Debian.

Using Volk machine: avx_32_mmx_orc Traceback (most recent call last): File "/root/Projects/gr-ieee802-15-4/examples/transceiver.py", line 58, in tb = transceiver() File "/root/Projects/gr-ieee802-15-4/examples/transceiver.py", line 29, in init self.ieee802_15_4_phy_0 = ieee802_15_4_phy() File "/root/.grc_gnuradio/ieee802_15_4_phy.py", line 56, in init self.connect((self.blocks_repeat_0, 0), (self.blocks_multiply_xx_0, 1)) File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 75, in connect self._connect(points[i-1], points[i]) File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 81, in _connect dst_block.to_basic_block(), dst_port) File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 2334, in primitive_connect return _runtime_swig.hier_block2_sptr_primitive_connect(self, *args) ValueError: itemsize mismatch: repeat0:0 using 1, multiply_cc0:1 using 8

bastibl commented 11 years ago

the repeat block is wrong here. It seems as if it is operating on bytes. It should be complex (itemsize 8). Can you please open the hierarchical block (ieee802_15_4_PHY) and assert that the repeat block has Type: Complex in its options. Then rebuild the hierarchical block (this updates /root/.grc_gnuradio/ieee802_15_4_phy.py). I just tested the master branch and it is working for me.