discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] ValueError: operands could not be broadcast together


From: Mauricio Olivera
Subject: [Discuss-gnuradio] ValueError: operands could not be broadcast together with shapes (4095) (4081)
Date: Wed, 5 Feb 2014 15:59:13 -0200

Hi everybody,

I am also facing this problem. I am running a GMSK modulation and sometimes I get the error:

Exception in thread Thread-915:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/grc_gnuradio/blks2/packet.py", line 144, in run
    ok, payload = packet_utils.unmake_packet(msg.to_string(), int(msg.arg1()))
  File "/usr/lib/python2.7/site-packages/gnuradio/digital/packet_utils.py", line 187, in unmake_packet
    payload_with_crc = dewhiten(whitened_payload_with_crc, whitener_offset)
  File "/usr/lib/python2.7/site-packages/gnuradio/digital/packet_utils.py", line 95, in dewhiten
    return whiten(s, o)        # self inverse
  File "/usr/lib/python2.7/site-packages/gnuradio/digital/packet_utils.py", line 91, in whiten
    z = sa ^ random_mask_vec8[o:len(sa)+o]
ValueError: operands could not be broadcast together with shapes (4095) (4081)

I really dont know what could be happening. What I have realize is that everytime this happens, even though the code keeps running, the flow does not keep working as is suposed to.

Any idea???
Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]